SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

TopBuild Corp. – ‘10-Q’ for 9/30/22 – ‘JSON’

On:  Tuesday, 11/1/22, at 4:05pm ET   ·   For:  9/30/22   ·   Accession #:  1558370-22-15789   ·   File #:  1-36870

Previous ‘10-Q’:  ‘10-Q’ on 8/2/22 for 6/30/22   ·   Next:  ‘10-Q’ on 5/4/23 for 3/31/23   ·   Latest:  ‘10-Q’ on 10/31/23 for 9/30/23   ·   1 Reference:  To:  TopBuild Corp. – ‘10-K’ on 2/23/21 for 12/31/20

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

11/01/22  TopBuild Corp.                    10-Q        9/30/22   72:10M                                    Toppan Merrill Bridge/FA

Quarterly Report   —   Form 10-Q

Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   2.52M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     26K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     26K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     21K 
 5: EX-32.2     Certification -- §906 - SOA'02                      HTML     21K 
11: R1          Document and Entity Information                     HTML     71K 
12: R2          Condensed Consolidated Balance Sheets               HTML    131K 
13: R3          Condensed Consolidated Balance Sheets               HTML     41K 
                (Parenthetical)                                                  
14: R4          Condensed Consolidated Statements of Operations     HTML     95K 
15: R5          Condensed Consolidated Statements of Comprehensive  HTML     40K 
                Income                                                           
16: R6          Condensed Consolidated Statements of Cash Flows     HTML    118K 
17: R7          Condensed Consolidated Statements of Changes in     HTML     82K 
                Equity                                                           
18: R8          Condensed Consolidated Statements of Changes in     HTML     36K 
                Equity (Parenthetical)                                           
19: R9          Basis of Presentation                               HTML     24K 
20: R10         Accounting Policies                                 HTML     31K 
21: R11         Revenue Recognition                                 HTML    233K 
22: R12         Goodwill and Other Intangibles                      HTML     85K 
23: R13         Long-Term Debt                                      HTML    134K 
24: R14         Fair Value Measurements                             HTML     35K 
25: R15         Segment Information                                 HTML    107K 
26: R16         Income Taxes                                        HTML     25K 
27: R17         Net Income Per Share                                HTML    111K 
28: R18         Share-Based Compensation                            HTML    142K 
29: R19         Share Repurchase Program                            HTML     38K 
30: R20         Business Combinations                               HTML    100K 
31: R21         Accrued Liabilities                                 HTML     44K 
32: R22         Other Commitments and Contingencies                 HTML     38K 
33: R23         Accounting Policies (Policies)                      HTML     32K 
34: R24         Accounting Policies (Tables)                        HTML     28K 
35: R25         Revenue Recognition (Tables)                        HTML    230K 
36: R26         Goodwill and Other Intangibles (Tables)             HTML     89K 
37: R27         Long-Term Debt (Tables)                             HTML    120K 
38: R28         Fair Value Measurements (Tables)                    HTML     31K 
39: R29         Segment Information (Tables)                        HTML    104K 
40: R30         Net Income Per Share (Tables)                       HTML    112K 
41: R31         Share-Based Compensation (Tables)                   HTML    150K 
42: R32         Share Repurchase Program (Tables)                   HTML     34K 
43: R33         Business Combinations (Tables)                      HTML    104K 
44: R34         Accrued Liabilities (Tables)                        HTML     43K 
45: R35         Other Commitments and Contingencies (Tables)        HTML     33K 
46: R36         Basis of Presentation (Details)                     HTML     21K 
47: R37         Revenue Recognition - Disaggregation (Details)      HTML     70K 
48: R38         Revenue Recognition - Other (Details)               HTML     39K 
49: R39         Goodwill and Other Intangibles - Goodwill           HTML     45K 
                (Details)                                                        
50: R40         Goodwill and Other Intangibles - Other intangible   HTML     29K 
                assets (Details)                                                 
51: R41         Long-Term Debt - Reconciliation (Details)           HTML     43K 
52: R42         Long-Term Debt - Schedule of debt maturity          HTML     49K 
                (Details)                                                        
53: R43         Long-Term Debt - Key Terms of Credit Agreement      HTML     82K 
                (Details)                                                        
54: R44         Long-Term Debt - Revolving Facility (Details)       HTML     37K 
55: R45         Long-Term Debt - Senior Notes and Equipment Notes   HTML     82K 
                (Details)                                                        
56: R46         Long-Term Debt - Other (Details)                    HTML     34K 
57: R47         Fair Value Measurements (Details)                   HTML     37K 
58: R48         Segment Information (Details)                       HTML     49K 
59: R49         Income Taxes (Details)                              HTML     23K 
60: R50         Net Income Per Share - Calculation (Details)        HTML     63K 
61: R51         Net Income Per Share - Anti-dilutive common stock   HTML     33K 
                equivalents (Details)                                            
62: R52         Share-Based Compensation - Expense (Details)        HTML     29K 
63: R53         Share-Based Compensation - Activity (Details)       HTML    181K 
64: R54         Share Repurchase Program (Details)                  HTML     51K 
65: R55         Business Combinations - Summary (Details)           HTML    131K 
66: R56         Accrued Liabilities (Details)                       HTML     38K 
67: R57         Other Commitments and Contingencies (Details)       HTML     24K 
70: XML         IDEA XML File -- Filing Summary                      XML    126K 
68: XML         XBRL Instance -- bld-20220930x10q_htm                XML   3.12M 
69: EXCEL       IDEA Workbook of Financial Reports                  XLSX    132K 
 7: EX-101.CAL  XBRL Calculations -- bld-20220930_cal                XML    181K 
 8: EX-101.DEF  XBRL Definitions -- bld-20220930_def                 XML    612K 
 9: EX-101.LAB  XBRL Labels -- bld-20220930_lab                      XML   1.27M 
10: EX-101.PRE  XBRL Presentations -- bld-20220930_pre               XML    911K 
 6: EX-101.SCH  XBRL Schema -- bld-20220930                          XSD    171K 
71: JSON        XBRL Instance as JSON Data -- MetaLinks              362±   555K 
72: ZIP         XBRL Zipped Folder -- 0001558370-22-015789-xbrl      Zip    350K 


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "bld-20220930x10q.htm":  {
        "axisCustom":  2,
        "axisStandard":  21,
        "contextCount":  335,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "bld-20220930_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "bld-20220930_def.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "bld-20220930x10q.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "bld-20220930_lab.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "bld-20220930_pre.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "bld-20220930.xsd"
                    ],
                "remote":  [
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://www.xbrl.org/lrr/arcrole/esma-arcrole-2018-11-21.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
                    "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
                    "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
                    "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
                    "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
                    "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
                    "https://xbrl.sec.gov/country/2022/country-2022.xsd",
                    "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
                    ]
                }
            },
        "elementCount":  515,
        "entityCount":  1,
        "hidden":  {
            "http://fasb.org/us-gaap/2022":  6,
            "http://xbrl.sec.gov/dei/2022":  5,
            "total":  11
            },
        "keyCustom":  63,
        "keyStandard":  249,
        "memberCustom":  49,
        "memberStandard":  27,
        "nsprefix":  "bld",
        "nsuri":  "http://www.topbuild.com/20220930",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:EntityRegistrantName",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "00090 - Document - Document and Entity Information",
                "role":  "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation",
                "shortName":  "Document and Entity Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:EntityRegistrantName",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10201 - Disclosure - Accounting Policies",
                "role":  "http://www.topbuild.com/role/DisclosureAccountingPolicies",
                "shortName":  "Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10301 - Disclosure - Revenue Recognition",
                "role":  "http://www.topbuild.com/role/DisclosureRevenueRecognition",
                "shortName":  "Revenue Recognition",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromContractWithCustomerTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10401 - Disclosure - Goodwill and Other Intangibles",
                "role":  "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangibles",
                "shortName":  "Goodwill and Other Intangibles",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10501 - Disclosure - Long-Term Debt",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebt",
                "shortName":  "Long-Term Debt",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10601 - Disclosure - Fair Value Measurements",
                "role":  "http://www.topbuild.com/role/DisclosureFairValueMeasurements",
                "shortName":  "Fair Value Measurements",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10701 - Disclosure - Segment Information",
                "role":  "http://www.topbuild.com/role/DisclosureSegmentInformation",
                "shortName":  "Segment Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10801 - Disclosure - Income Taxes",
                "role":  "http://www.topbuild.com/role/DisclosureIncomeTaxes",
                "shortName":  "Income Taxes",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10901 - Disclosure - Net Income Per Share",
                "role":  "http://www.topbuild.com/role/DisclosureNetIncomePerShare",
                "shortName":  "Net Income Per Share",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11001 - Disclosure - Share-Based Compensation",
                "role":  "http://www.topbuild.com/role/DisclosureShareBasedCompensation",
                "shortName":  "Share-Based Compensation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ShareRepurchaseProgramTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11101 - Disclosure - Share Repurchase Program",
                "role":  "http://www.topbuild.com/role/DisclosureShareRepurchaseProgram",
                "shortName":  "Share Repurchase Program",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ShareRepurchaseProgramTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00100 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11201 - Disclosure - Business Combinations",
                "role":  "http://www.topbuild.com/role/DisclosureBusinessCombinations",
                "shortName":  "Business Combinations",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessCombinationDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:AccruedLiabilitiesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11301 - Disclosure - Accrued Liabilities",
                "role":  "http://www.topbuild.com/role/DisclosureAccruedLiabilities",
                "shortName":  "Accrued Liabilities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:AccruedLiabilitiesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "11401 - Disclosure - Other Commitments and Contingencies",
                "role":  "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingencies",
                "shortName":  "Other Commitments and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "20202 - Disclosure - Accounting Policies (Policies)",
                "role":  "http://www.topbuild.com/role/DisclosureAccountingPoliciesPolicies",
                "shortName":  "Accounting Policies (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30203 - Disclosure - Accounting Policies (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureAccountingPoliciesTables",
                "shortName":  "Accounting Policies (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
                        "us-gaap:SignificantAccountingPoliciesTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:RevenueFromContractWithCustomerTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30303 - Disclosure - Revenue Recognition (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureRevenueRecognitionTables",
                "shortName":  "Revenue Recognition (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:RevenueFromContractWithCustomerTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisaggregationOfRevenueTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30403 - Disclosure - Goodwill and Other Intangibles (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesTables",
                "shortName":  "Goodwill and Other Intangibles (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfGoodwillTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30503 - Disclosure - Long-Term Debt (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtTables",
                "shortName":  "Long-Term Debt (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30603 - Disclosure - Fair Value Measurements (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureFairValueMeasurementsTables",
                "shortName":  "Fair Value Measurements (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:SegmentReportingDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30703 - Disclosure - Segment Information (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureSegmentInformationTables",
                "shortName":  "Segment Information (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:SegmentReportingDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00105 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllowanceForDoubtfulAccountsReceivableCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "30903 - Disclosure - Net Income Per Share (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureNetIncomePerShareTables",
                "shortName":  "Net Income Per Share (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ScheduleOfShareBasedCompensationExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31003 - Disclosure - Share-Based Compensation (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables",
                "shortName":  "Share-Based Compensation (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ScheduleOfShareBasedCompensationExpenseTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ScheduleOfShareRepurchasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31103 - Disclosure - Share Repurchase Program (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramTables",
                "shortName":  "Share Repurchase Program (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:ScheduleOfShareRepurchasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:BusinessCombinationDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_us-gaap_BusinessAcquisitionAxis_bld_Acquisitions2022Member_oBh-bNc3X0CKf9wQEw7bJg",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31203 - Disclosure - Business Combinations (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables",
                "shortName":  "Business Combinations (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:BusinessCombinationDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_us-gaap_BusinessAcquisitionAxis_bld_Acquisitions2022Member_oBh-bNc3X0CKf9wQEw7bJg",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "bld:AccruedLiabilitiesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31303 - Disclosure - Accrued Liabilities (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesTables",
                "shortName":  "Accrued Liabilities (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "bld:AccruedLiabilitiesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:BondsOutstandingTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "31403 - Disclosure - Other Commitments and Contingencies (Tables)",
                "role":  "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesTables",
                "shortName":  "Other Commitments and Contingencies (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "bld:BondsOutstandingTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_segment_WTiDijYs9UeuR4eU5eIixQ",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40101 - Disclosure - Basis of Presentation (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureBasisOfPresentationDetails",
                "shortName":  "Basis of Presentation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_segment_WTiDijYs9UeuR4eU5eIixQ",
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40301 - Disclosure - Revenue Recognition - Disaggregation (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                "shortName":  "Revenue Recognition - Disaggregation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:DisaggregationOfRevenueTableTextBlock",
                        "us-gaap:RevenueFromContractWithCustomerTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_srt_ProductOrServiceAxis_bld_InsulationAndAccessoriesMember_t9yQuPleeEuzveu_WVw0Lw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
                        "bld:AccruedLiabilitiesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ContractWithCustomerLiabilityCurrent",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40302 - Disclosure - Revenue Recognition - Other (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails",
                "shortName":  "Revenue Recognition - Other (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-5",
                    "lang":  null,
                    "name":  "us-gaap:RevenueRemainingPerformanceObligation",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfReportingUnits",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_-rt8_ODZF0qXeo7n2Ln-FA",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40401 - Disclosure - Goodwill and Other Intangibles - Goodwill (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                "shortName":  "Goodwill and Other Intangibles - Goodwill (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NumberOfReportingUnits",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_item_-rt8_ODZF0qXeo7n2Ln-FA",
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00200 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:CostOfGoodsAndServicesSold",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
                        "bld:ScheduleOfAcquiredFiniteLivedAndIndefiniteLivedIntangibleAssetTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsGross",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40402 - Disclosure - Goodwill and Other Intangibles - Other intangible assets (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails",
                "shortName":  "Goodwill and Other Intangibles - Other intangible assets (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
                        "bld:ScheduleOfAcquiredFiniteLivedAndIndefiniteLivedIntangibleAssetTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_12_31_2021_Aqu6s7cRTEKdvObehms9mQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:FiniteLivedIntangibleAssetsGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40501 - Disclosure - Long-Term Debt - Reconciliation (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                "shortName":  "Long-Term Debt - Reconciliation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:DeferredFinanceCostsNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40502 - Disclosure - Long-Term Debt - Schedule of debt maturity (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                "shortName":  "Long-Term Debt - Schedule of debt maturity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfAvailabilityUnderRevolvingFacilityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_us-gaap_ShortTermDebtTypeAxis_us-gaap_RevolvingCreditFacilityMember_87dxCNj63kSCsFcKF3NkxQ",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40503 - Disclosure - Long-Term Debt - Key Terms of Credit Agreement (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                "shortName":  "Long-Term Debt - Key Terms of Credit Agreement (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_3_8_2021_To_3_8_2021_us-gaap_DebtInstrumentAxis_bld_AmendedCreditAgreementMember_us-gaap_VariableRateAxis_us-gaap_BaseRateMember_VHliWqxvxEGFVWEX7Ybrjw",
                    "decimals":  "3",
                    "lang":  null,
                    "name":  "bld:DebtInstrumentFloorRate",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    }
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfKeyFinancialCovenantsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:DebtInstrumentCovenantNetLeverageRatio",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40504 - Disclosure - Long-Term Debt - Revolving Facility (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                "shortName":  "Long-Term Debt - Revolving Facility (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfAvailabilityUnderRevolvingFacilityTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_us-gaap_ShortTermDebtTypeAxis_us-gaap_RevolvingCreditFacilityMember_87dxCNj63kSCsFcKF3NkxQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:LettersOfCreditOutstandingAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:LongTermDebt",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40505 - Disclosure - Long-Term Debt - Senior Notes and Equipment Notes (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails",
                "shortName":  "Long-Term Debt - Senior Notes and Equipment Notes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_srt_StatementScenarioAxis_bld_DebtInstrumentRedemptionOptionOneMember_us-gaap_DebtInstrumentRedemptionPeriodAxis_us-gaap_DebtInstrumentRedemptionPeriodOneMember_UFCCZWIZykmOsuY2cJvg7w",
                    "decimals":  "2",
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentRedemptionPricePercentage",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfKeyFinancialCovenantsTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "2",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:DebtInstrumentCovenantNetLeverageRatio",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40506 - Disclosure - Long-Term Debt - Other (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                "shortName":  "Long-Term Debt - Other (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_srt_StatementScenarioAxis_bld_EventOfDefaultScenarioMember_us-gaap_LongtermDebtTypeAxis_us-gaap_SeniorNotesMember_h0AcXtcmyk6Wrto7gA9WoQ",
                    "decimals":  "INF",
                    "lang":  null,
                    "name":  "bld:MinimumPercentageOfDebtImmediatelyDueAndPayable",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                        "us-gaap:LongTermDebtTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40601 - Disclosure - Fair Value Measurements (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                "shortName":  "Fair Value Measurements (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_us-gaap_DebtInstrumentAxis_bld_SeniorNotesDue2029Member_XbY1FcMgy0qjcibgMyabrA",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:DebtInstrumentCarryingAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40701 - Disclosure - Segment Information (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureSegmentInformationDetails",
                "shortName":  "Segment Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                        "us-gaap:SegmentReportingDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_srt_ConsolidationItemsAxis_us-gaap_OperatingSegmentsMember_LzX3C7aV80iU_Jn2WrHjlQ",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:OperatingIncomeLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40801 - Disclosure - Income Taxes (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureIncomeTaxesDetails",
                "shortName":  "Income Taxes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "p",
                        "us-gaap:IncomeTaxDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_pure__y-1Qdly9kaRDoteChYLnA",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00300 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40901 - Disclosure - Net Income Per Share - Calculation (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                "shortName":  "Net Income Per Share - Calculation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "INF",
                    "lang":  null,
                    "name":  "bld:IncrementalCommonSharesAttributableToDilutiveEffectOfStockOptions",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    }
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "40902 - Disclosure - Net Income Per Share - Anti-dilutive common stock equivalents (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                "shortName":  "Net Income Per Share - Anti-dilutive common stock equivalents (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
                        "us-gaap:EarningsPerShareTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfShareBasedCompensationExpenseTableTextBlock",
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41001 - Disclosure - Share-Based Compensation - Expense (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails",
                "shortName":  "Share-Based Compensation - Expense (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfShareBasedCompensationExpenseTableTextBlock",
                        "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41002 - Disclosure - Share-Based Compensation - Activity (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                "shortName":  "Share-Based Compensation - Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfShareRepurchasesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:TreasuryStockSharesAcquired",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41101 - Disclosure - Share Repurchase Program (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails",
                "shortName":  "Share Repurchase Program (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:ScheduleOfShareRepurchasesTableTextBlock",
                        "ix:continuation",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:TreasuryStockSharesAcquired",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_shares_0wp1qWgw5UCFt3B4trGExw",
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:BusinessCombinationDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:BusinessCombinationAcquisitionRelatedCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41201 - Disclosure - Business Combinations - Summary (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                "shortName":  "Business Combinations - Summary (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "us-gaap:BusinessCombinationDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_7_1_2022_To_9_30_2022_vspbWGe6t0-bf8gmwVICCw",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:BusinessCombinationAcquisitionRelatedCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
                        "bld:AccruedLiabilitiesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:AccruedSalariesWagesAndCommissionsCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41301 - Disclosure - Accrued Liabilities (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails",
                "shortName":  "Accrued Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfAccruedLiabilitiesTableTextBlock",
                        "bld:AccruedLiabilitiesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:AccruedSalariesWagesAndCommissionsCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:BondsOutstandingTableTextBlock",
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:PerformanceBondsOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "41401 - Disclosure - Other Commitments and Contingencies (Details)",
                "role":  "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails",
                "shortName":  "Other Commitments and Contingencies (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "bld:BondsOutstandingTableTextBlock",
                        "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "bld:PerformanceBondsOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00400 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:ProfitLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_12_31_2020_us-gaap_StatementEquityComponentsAxis_us-gaap_CommonStockMember_JXYQPUcjLEK7Va-xv9Z6tg",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:StockholdersEquity",
                    "reportCount":  1,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00500 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2021_To_3_31_2021_us-gaap_StatementEquityComponentsAxis_us-gaap_RetainedEarningsMember_KP3B6R6Ds0GHMg30iZ90BA",
                    "decimals":  "-3",
                    "lang":  null,
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Standard_USD_szYrvTxI_UaUnb2-nb5PKg",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_9_30_2022_cXEldHyC9U-MvJcbVBBmqg",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  null,
                    "name":  "us-gaap:CommonStockParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unitRef":  "Unit_Divide_USD_shares_w9KGaLeT3kCqCIuMd-_oxQ",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "00505 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY (Parenthetical)",
                "role":  "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "us-gaap:CommonStockParOrStatedValuePerShare",
                        "b",
                        "p",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "As_Of_6_30_2022_1rlE6QmNzEO_ZbJMPBWTGg",
                    "decimals":  "2",
                    "lang":  null,
                    "name":  "us-gaap:CommonStockParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "Unit_Divide_USD_shares_w9KGaLeT3kCqCIuMd-_oxQ",
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "10101 - Disclosure - Basis of Presentation",
                "role":  "http://www.topbuild.com/role/DisclosureBasisOfPresentation",
                "shortName":  "Basis of Presentation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "bld-20220930x10q.htm",
                    "contextRef":  "Duration_1_1_2022_To_9_30_2022_vjgZj-Qub0ubcXpAY8QYiA",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  80,
        "tag":  {
            "bld_AbsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to ABS, a residential insulation and distribution business.",
                            "label":  "ABS"
                            }
                        }
                    },
                "localname":  "AbsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AcceleratedShareRepurchaseAgreement2022Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information relating to ASR Agreement that was entered into in May 2022.",
                            "label":  "2022 ASR Agreement"
                            }
                        }
                    },
                "localname":  "AcceleratedShareRepurchaseAgreement2022Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AcceleratedShareRepurchasesInitialSharesDeliveredPercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Initial percentage of shares delivered under the accelerated share repurchase agreement.",
                            "label":  "Accelerated Share Repurchases Initial Shares Delivered Percentage",
                            "terseLabel":  "Initial percentage of shares delivered under ASR agreement"
                            }
                        }
                    },
                "localname":  "AcceleratedShareRepurchasesInitialSharesDeliveredPercentage",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_AcceleratedShareRepurchasesInitialSharesDeliveredShares":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Initial number of shares delivered under the accelerated share repurchase agreement.",
                            "label":  "Accelerated Share Repurchases, Initial Shares Delivered, Shares",
                            "terseLabel":  "Initial number of shares delivered under ASR agreement (in shares)"
                            }
                        }
                    },
                "localname":  "AcceleratedShareRepurchasesInitialSharesDeliveredShares",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_AcceleratedShareRepurchasesInitialSharesDeliveredValue":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Initial value of shares delivered under the accelerated share repurchase agreement.",
                            "label":  "Accelerated Share Repurchases, Initial Shares Delivered, Value",
                            "terseLabel":  "Initial value of shares delivered under ASR agreement"
                            }
                        }
                    },
                "localname":  "AcceleratedShareRepurchasesInitialSharesDeliveredValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_AccountsReceivableNetCurrentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing accounts receivable net current.",
                            "label":  "Accounts Receivable, Net Current"
                            }
                        }
                    },
                "localname":  "AccountsReceivableNetCurrentMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AccruedCustomerRebatesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  6.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations for customer rebates.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Customer Rebates, Current",
                            "terseLabel":  "Customer rebates"
                            }
                        }
                    },
                "localname":  "AccruedCustomerRebatesCurrent",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_AccruedEmployeeTaxRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  3.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations for employee tax-related liabilities.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Employee Tax-Related Liabilities, Current",
                            "terseLabel":  "Employee tax-related liabilities"
                            }
                        }
                    },
                "localname":  "AccruedEmployeeTaxRelatedLiabilitiesCurrent",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered.  Also includes the total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to services received from employees, such as accrued salaries and bonuses, payroll taxes and fringe benefits.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Liabilities and Employee-related Liabilities, Current",
                            "terseLabel":  "Accrued liabilities",
                            "totalLabel":  "Total accrued liabilities"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_AccruedLiabilitiesDisclosureTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for accrued liabilities at the end of the reporting period.",
                            "label":  "Accrued Liabilities Disclosure [Text Block]",
                            "terseLabel":  "Accrued Liabilities"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesDisclosureTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_AccruedSalariesWagesAndCommissionsCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  1.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations related to accrued salaries, wages and commissions.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Salaries, Wages and Commissions, Current",
                            "terseLabel":  "Salaries, wages, and commissions"
                            }
                        }
                    },
                "localname":  "AccruedSalariesWagesAndCommissionsCurrent",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_AccruedSalesAndPropertyTaxesCurrent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  4.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of the carrying values as of the balance sheet date of obligations incurred through that date and payable for obligations for sales and property taxes.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Sales and Property Taxes, Current",
                            "terseLabel":  "Sales and property taxes"
                            }
                        }
                    },
                "localname":  "AccruedSalesAndPropertyTaxesCurrent",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_Acquisitions2021Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to 2021 acquisitions.",
                            "label":  "2021 Acquisitions"
                            }
                        }
                    },
                "localname":  "Acquisitions2021Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_Acquisitions2022Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to 2022 acquisitions.",
                            "label":  "2022 Acquisitions"
                            }
                        }
                    },
                "localname":  "Acquisitions2022Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AllOtherProductsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents in aggregate all other product categories.",
                            "label":  "All other"
                            }
                        }
                    },
                "localname":  "AllOtherProductsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AmendedCreditAgreementMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information relating to the amended credit agreement entered into March 2021.",
                            "label":  "Amendment No. 1 to Credit Agreement"
                            }
                        }
                    },
                "localname":  "AmendedCreditAgreementMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AmendedCreditAgreementOctober2021Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Amendment No. 2 to the original credit agreement, entered into October 2021.",
                            "label":  "Amendment No. 2 to Credit Agreement"
                            }
                        }
                    },
                "localname":  "AmendedCreditAgreementOctober2021Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_AssuredInsulationServiceInc.Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Assured Insulation Service Inc.",
                            "label":  "Assured"
                            }
                        }
                    },
                "localname":  "AssuredInsulationServiceInc.Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_BaseRateBorrowingsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information regarding Base Rate borrowings.",
                            "label":  "Base Rate Borrowings"
                            }
                        }
                    },
                "localname":  "BaseRateBorrowingsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_BillingsInsulationServiceInc.Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Billings Insulation Service, Inc.",
                            "label":  "Billings"
                            }
                        }
                    },
                "localname":  "BillingsInsulationServiceInc.Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_BondsOutstanding":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of bonds outstanding at the end of the reporting period.",
                            "label":  "Bonds Outstanding",
                            "totalLabel":  "Total bonds"
                            }
                        }
                    },
                "localname":  "BondsOutstanding",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_BondsOutstandingTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of information about bonds outstanding.",
                            "label":  "Bonds Outstanding [Table Text Block]",
                            "terseLabel":  "Summary of outstanding bonds"
                            }
                        }
                    },
                "localname":  "BondsOutstandingTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_BusinessCombinationConsiderationTransferredLiabilitiesIncurredContingentConsideration":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of contingent consideration recognized by the acquirer as part of consideration transferred in a business combination.",
                            "label":  "Business Combination, Consideration Transferred, Liabilities Incurred, Contingent Consideration",
                            "terseLabel":  "Contingent Consideration"
                            }
                        }
                    },
                "localname":  "BusinessCombinationConsiderationTransferredLiabilitiesIncurredContingentConsideration",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accrued liabilities assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Accrued Liabilities",
                            "negatedLabel":  "All other liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRightOfUseAssets":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of right-of-use assets recognized as of the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Right-of-Use Assets",
                            "terseLabel":  "ROU asset (operating)"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRightOfUseAssets",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_ChangeInControlScenarioMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The scenario representing a change in control.",
                            "label":  "Change in Control Scenario"
                            }
                        }
                    },
                "localname":  "ChangeInControlScenarioMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_CommercialMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to the commercial market.",
                            "label":  "Commercial"
                            }
                        }
                    },
                "localname":  "CommercialMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_CvInsulationLlcMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to CV Insulation LLC.",
                            "label":  "CV"
                            }
                        }
                    },
                "localname":  "CvInsulationLlcMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_DebitInstrumentApplicableMarginBasedOnTotalLeverageRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the applicable margin based on the total leverage ratio per the terms of the credit agreement.",
                            "label":  "Debit Instrument Applicable Margin Based on Total Leverage Ratio",
                            "terseLabel":  "Applicable margin based on total leverage ratio"
                            }
                        }
                    },
                "localname":  "DebitInstrumentApplicableMarginBasedOnTotalLeverageRatio",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_DebtInstrumentConditionalRedemptionThresholdPercentageOfAggregatePrincipalAmountOriginallyIssuedRemainsOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Threshold percentage of aggregate principal amount of the debt instrument originally issued should remain outstanding after redemption under the debt instrument arrangement.",
                            "label":  "Debt Instrument, Conditional Redemption, Threshold Percentage Of Aggregate Principal Amount Originally Issued Remains Outstanding",
                            "terseLabel":  "Debt instrument, conditional redemption, threshold percentage of aggregate principal amount originally issued remains outstanding"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConditionalRedemptionThresholdPercentageOfAggregatePrincipalAmountOriginallyIssuedRemainsOutstanding",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_DebtInstrumentCovenantMinimumInterestCoverageRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the minimum interest coverage ratio allowed under the terms of the credit agreement's covenants.",
                            "label":  "Debt Instrument Covenant Minimum Interest Coverage Ratio",
                            "terseLabel":  "Minimum Interest Coverage Ratio"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantMinimumInterestCoverageRatio",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "bld_DebtInstrumentCovenantNetLeverageRatio":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the ratio of total debt (less certain cash) to consolidated adjusted earnings before, interest, taxes, depreciation and amortization allowed under the terms of the credit agreement's covenants.",
                            "label":  "Debt Instrument Covenant Net Leverage Ratio",
                            "terseLabel":  "Maximum Net Leverage Ratio"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantNetLeverageRatio",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "bld_DebtInstrumentFloorRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the floor rate under debt instrument.",
                            "label":  "Debt Instrument, Floor Rate",
                            "terseLabel":  "Debt instrument, floor rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFloorRate",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_DebtInstrumentInterestRatePercentageFloor":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The debt instrument percentage rate floor.",
                            "label":  "Debt Instrument Interest Rate Percentage, Floor",
                            "terseLabel":  "Interest rate floor (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRatePercentageFloor",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_DebtInstrumentRedemptionOptionOneMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to debt instrument redemption option one.",
                            "label":  "Debt Instrument Redemption Option One"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionOptionOneMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_DebtInstrumentRedemptionOptionTwoMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to debt instrument redemption option two.",
                            "label":  "Debt Instrument Redemption Option Two"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionOptionTwoMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_DebtInstrumentRedemptionPeriodSevenMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period seven representing debt redemption features under terms of the debt agreement.",
                            "label":  "Prior to October 15, 2024"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodSevenMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_DebtInstrumentReferenceRateMaturityPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maturity of the reference rate.",
                            "label":  "Debt Instrument Reference Rate Maturity Period",
                            "terseLabel":  "Maturity of the reference rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentReferenceRateMaturityPeriod",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "bld_DistributionInternationalMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Distribution International Inc. (\"DI\").",
                            "label":  "DI"
                            }
                        }
                    },
                "localname":  "DistributionInternationalMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_DistributionSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the distribution segment of the reporting entity.",
                            "label":  "Specialty Distribution"
                            }
                        }
                    },
                "localname":  "DistributionSegmentMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_EliminationsAndReconcilingItemsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Eliminating entries used in operating segment consolidation and Items used in reconciling reportable segments' amounts to consolidated amount.",
                            "label":  "Intercompany Eliminations and Other Adjustments"
                            }
                        }
                    },
                "localname":  "EliminationsAndReconcilingItemsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_EquipmentNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information relating to equipment notes executed under a Master Loan and Security Agreement with Banc of America Leasing & Capital, LLC.",
                            "label":  "Equipment Notes"
                            }
                        }
                    },
                "localname":  "EquipmentNotesMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_EventOfDefaultScenarioMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The scenario representing an event of default.",
                            "label":  "Event of Default Scenario"
                            }
                        }
                    },
                "localname":  "EventOfDefaultScenarioMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_FederalFundsRateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The federal funds rate.",
                            "label":  "Federal Funds Rate"
                            }
                        }
                    },
                "localname":  "FederalFundsRateMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_GlassAndWindowsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to glass and windows product category.",
                            "label":  "Glass and windows"
                            }
                        }
                    },
                "localname":  "GlassAndWindowsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_GreenEnergySolutionsInc.Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Green Energy Solutions, Inc.",
                            "label":  "Green Energy"
                            }
                        }
                    },
                "localname":  "GreenEnergySolutionsInc.Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_IncrementalCommonSharesAttributableToDilutiveEffectOfRestrictedStockAwards":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of restricted stock awards using the treasury stock method.",
                            "label":  "Incremental Common Shares Attributable to Dilutive Effect of Restricted Stock Awards",
                            "terseLabel":  "Restricted stock awards"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToDilutiveEffectOfRestrictedStockAwards",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_IncrementalCommonSharesAttributableToDilutiveEffectOfStockOptions":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of stock options using the treasury stock method.",
                            "label":  "Incremental Common Shares Attributable to Dilutive Effect of Stock Options",
                            "terseLabel":  "Stock options"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToDilutiveEffectOfStockOptions",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_IndustrialMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to industrial market.",
                            "label":  "Industrial"
                            }
                        }
                    },
                "localname":  "IndustrialMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_InstallationSegmentMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the installation segment of the reporting entity.",
                            "label":  "Installation"
                            }
                        }
                    },
                "localname":  "InstallationSegmentMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_InsulationAndAccessoriesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to the insulation and accessories product.",
                            "label":  "Insulation and accessories"
                            }
                        }
                    },
                "localname":  "InsulationAndAccessoriesMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_LCRContractorsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to LCR Contractors.",
                            "label":  "LCR"
                            }
                        }
                    },
                "localname":  "LCRContractorsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_LIBORRateBorrowingsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information relating to LIBOR rate borrowings.",
                            "label":  "LIBOR Rate Borrowings"
                            }
                        }
                    },
                "localname":  "LIBORRateBorrowingsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_LicenseAndInsuranceRelatedAndOtherBondsOutstanding":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails":  {
                        "order":  1.0,
                        "parentTag":  "bld_BondsOutstanding",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of other type of bonds outstanding, principally license and insurance related.",
                            "label":  "License and Insurance Related And Other Bonds Outstanding",
                            "terseLabel":  "Licensing, insurance, and other bonds"
                            }
                        }
                    },
                "localname":  "LicenseAndInsuranceRelatedAndOtherBondsOutstanding",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LineOfCreditFacilityAdditionalBorrowingCapacityAvailableSubjectToCertainConditions":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the additional borrowing capacity available, subject to certain conditions.",
                            "label":  "Line of Credit Facility Additional Borrowing Capacity Available Subject to Certain Conditions",
                            "verboseLabel":  "Additional term loan and/or revolver capacity available under incremental facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityAdditionalBorrowingCapacityAvailableSubjectToCertainConditions",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LineOfCreditFacilityAdditionalBorrowingCapacityDelayedDraw":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The additional borrowing capacity available through delayed draw feature.",
                            "label":  "Line of Credit Facility Additional Borrowing Capacity Delayed Draw",
                            "terseLabel":  "Additional delayed draw term loan"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityAdditionalBorrowingCapacityDelayedDraw",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LineOfCreditFacilitySublimitAvailableForLettersOfCredit":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the sublimit available for the issuance of letters of credit under the credit facility.",
                            "label":  "Line of Credit Facility Sublimit Available for Letters of Credit",
                            "verboseLabel":  "Sublimit for issuance of letters of credit under Revolving Facility*"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilitySublimitAvailableForLettersOfCredit",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LineOfCreditFacilitySublimitAvailableForSwinglineLoans":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the sublimit available for swingline loans under the credit facility.",
                            "label":  "Line of Credit Facility Sublimit Available for Swingline Loans",
                            "verboseLabel":  "Sublimit for swingline loans under Revolving Facility*"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilitySublimitAvailableForSwinglineLoans",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFour":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal after Year Four",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFour",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_LongTermIncentivePlanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information related to the 2015 plan.",
                            "label":  "2015 Plan"
                            }
                        }
                    },
                "localname":  "LongTermIncentivePlanMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_MinimumPercentageOfDebtImmediatelyDueAndPayable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The percentage of debtholders needed to declare outstanding principal and accrued interest, if any, immediately due and payable upon an event of default.",
                            "label":  "Minimum Percentage of Debt Immediately Due and Payable",
                            "terseLabel":  "Minimum percentage of principal of debt holders to declare debt immediately due and payable"
                            }
                        }
                    },
                "localname":  "MinimumPercentageOfDebtImmediatelyDueAndPayable",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_OutstandingBondsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "No definition available.",
                            "label":  "Outstanding Bonds [Abstract]",
                            "terseLabel":  "Outstanding Bonds"
                            }
                        }
                    },
                "localname":  "OutstandingBondsAbstract",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "bld_PerformanceBondsOutstanding":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails":  {
                        "order":  2.0,
                        "parentTag":  "bld_BondsOutstanding",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the amount of performance bonds outstanding.",
                            "label":  "Performance Bonds Outstanding",
                            "terseLabel":  "Performance bonds"
                            }
                        }
                    },
                "localname":  "PerformanceBondsOutstanding",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingenciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_ProceedsFromExecutionOfEquipmentNotes":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the execution of equipment notes supported by a written promise to pay an obligation.",
                            "label":  "Proceeds from Execution of Equipment Notes",
                            "verboseLabel":  "Equipment notes issued"
                            }
                        }
                    },
                "localname":  "ProceedsFromExecutionOfEquipmentNotes",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_RainGuttersMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the information pertaining to Rain gutter product.",
                            "label":  "Gutters"
                            }
                        }
                    },
                "localname":  "RainGuttersMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ReceivablesNetMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Due from customers or clients for goods or services that have been delivered or sold, net of allowance for doubtful accounts.",
                            "label":  "Receivables, net"
                            }
                        }
                    },
                "localname":  "ReceivablesNetMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_RepurchaseProgram2019Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 2019 repurchase program.",
                            "label":  "2019 Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "RepurchaseProgram2019Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ResidentialMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to the residential market.",
                            "label":  "Residential"
                            }
                        }
                    },
                "localname":  "ResidentialMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_RestrictedStockAwardsGrantedFebruary2019Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to restricted stock awards granted on February 18, 2019.",
                            "label":  "Restricted Stock Awards Granted February 2019 [Member]",
                            "terseLabel":  "RSAs granted February 18, 2019"
                            }
                        }
                    },
                "localname":  "RestrictedStockAwardsGrantedFebruary2019Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ScheduleOfAcquiredFiniteLivedAndIndefiniteLivedIntangibleAssetTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of finite lived and indefinite lived intangible assets.",
                            "label":  "Schedule of Acquired Finite-Lived and Indefinite-Lived Intangible Asset [Table Text Block]",
                            "terseLabel":  "Schedule of other intangible assets"
                            }
                        }
                    },
                "localname":  "ScheduleOfAcquiredFiniteLivedAndIndefiniteLivedIntangibleAssetTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfAvailabilityUnderRevolvingFacilityTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents tabular information about the availability under the Revolving Facility.",
                            "label":  "Schedule of Availability Under Revolving Facility [Table Text Block]",
                            "terseLabel":  "Schedule of availability under the Revolving Facility"
                            }
                        }
                    },
                "localname":  "ScheduleOfAvailabilityUnderRevolvingFacilityTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfKeyFinancialCovenantsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents tabular information about the key financial covenants.",
                            "label":  "Schedule of Key Financial Covenants [Table Text Block]",
                            "terseLabel":  "Schedule of the key financial covenants"
                            }
                        }
                    },
                "localname":  "ScheduleOfKeyFinancialCovenantsTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfShareBasedCompensationExpenseTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of share-based compensation expense.",
                            "label":  "Schedule Of Share Based Compensation Expense Table Text Block",
                            "terseLabel":  "Schedule of share-based compensation expense and related income tax benefit"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationExpenseTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfShareBasedPaymentAwardOtherThanOptionsValuationAssumptionsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of awards, other than options, including, but not limited to: (a) expected term, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
                            "label":  "Schedule of Share-based Payment Award, Other Than Options, Valuation Assumptions [Table Text Block]",
                            "terseLabel":  "Schedule of key inputs used to estimate the fair value of awards"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedPaymentAwardOtherThanOptionsValuationAssumptionsTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfShareBasedPaymentAwardRestrictedStockAwardsPayoutRangeAndRelatedExpenseTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of restricted stock awards with performance-based conditions relating to the grant date fair value, payout range and related expenses.",
                            "label":  "Schedule of Share-based Payment Award, Restricted Stock Awards, Payout Range and Related Expense [Table Text Block]",
                            "terseLabel":  "Schedule of the range of payouts and the related expense for RSAs with performance-based conditions"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedPaymentAwardRestrictedStockAwardsPayoutRangeAndRelatedExpenseTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfShareRepurchasesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of share repurchases under the Share Repurchase Program.",
                            "label":  "Schedule of Share Repurchases [Table Text Block]",
                            "terseLabel":  "Schedule of share repurchase program"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareRepurchasesTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_ScheduleOfUnrecognizedShareBasedCompensationExpenseNonvestedAwards":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of unrecognized share-based compensation expense related to unvested awards.",
                            "label":  "Schedule of Unrecognized Share-based Compensation Expense, Nonvested Awards",
                            "terseLabel":  "Schedule of unrecognized share-based compensation expense relating to unvested awards"
                            }
                        }
                    },
                "localname":  "ScheduleOfUnrecognizedShareBasedCompensationExpenseNonvestedAwards",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_SeniorNotesDue2026Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 5.625% Senior Notes due 2026.",
                            "label":  "5.625% Senior Notes"
                            }
                        }
                    },
                "localname":  "SeniorNotesDue2026Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_SeniorNotesDue2029Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 3.625% Senior Notes due 2029.",
                            "label":  "3.625% Senior Notes"
                            }
                        }
                    },
                "localname":  "SeniorNotesDue2029Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_SeniorNotesDue2032Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 4.125% Senior Notes due 2032.",
                            "label":  "4.125% Senior Notes"
                            }
                        }
                    },
                "localname":  "SeniorNotesDue2032Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsConvertedExercisedInPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that were converted/exercised during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Converted, Exercised in Period",
                            "negatedLabel":  "Converted/Exercised (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsConvertedExercisedInPeriod",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsConvertedExercisedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were converted/exercised.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Converted, Exercised, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Converted/Exercised (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsConvertedExercisedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedOrExpiredInPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited or expired during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited or Expired in Period",
                            "negatedLabel":  "Forfeited/Expired (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedOrExpiredInPeriod",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedOrExpiredWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were forfeited or expired.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited or Expired, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited/Expired (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedOrExpiredWeightedAverageGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsEstimatedFairValueOfAwardsGranted":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the estimated fair value of the awards granted.",
                            "label":  "Share Based Compensation Arrangement By Share Based Payment Award Fair Value Assumptions Estimated Fair Value Of Awards Granted",
                            "verboseLabel":  "Estimated fair value of market-based RSAs at grant date (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsEstimatedFairValueOfAwardsGranted",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRemainingMeasurementPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The remaining measurement period of share-based compensation awards, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Remaining Measurement Period",
                            "terseLabel":  "Measurement period (years)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRemainingMeasurementPeriod",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsConvertedExercisedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average grant-date fair value of options converted/exercised.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Converted, Exercised, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Converted/Exercised (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsConvertedExercisedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Grant Date Fair Value.",
                            "label":  "Share Based Compensation Arrangement By Share Based Payment Award Options Exercisable Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Exercisable, Weighted Average Grant Date Fair Value Per Share"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsNonvestedOptionsForfeitedOrExpiredWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average grant-date fair value of non-vested options forfeited or expired.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested Options Forfeited or Expired, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited/Expired (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsNonvestedOptionsForfeitedOrExpiredWeightedAverageGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsCumulativePeriodOfAchievement":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative period of achievement related to restricted stock awards with performance conditions.",
                            "label":  "Share-based Compensation Arrangement By Share-based Payment Award Other Than Options Grants, Cumulative Period of Achievement",
                            "terseLabel":  "Cumulative period of achievement"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsCumulativePeriodOfAchievement",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsCumulativePeriodOfAchievementPercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative three-year achievement percentage related to the restricted stock awards with performance conditions.",
                            "label":  "Share-based Compensation Arrangement By Share-based Payment Award Other Than Options Grants, Cumulative Period of Achievement Percentage",
                            "terseLabel":  "Cumulative achievement percentage"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsCumulativePeriodOfAchievementPercentage",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsInPeriodTotalGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the total fair value of equity-based awards, other then options, granted during the reporting period.",
                            "label":  "Share Based Compensation Arrangement By Share Based Payment Award Other Than Options Grants In Period Total Grant Date Fair Value",
                            "terseLabel":  "Grant date fair value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsInPeriodTotalGrantDateFairValue",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsTotalCompensationExpenseRecognizedOverPerformancePeriod":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total compensation expense recognized over the performance period, net of forfeitures, related to the restricted stock awards with performance conditions.",
                            "label":  "Share-based Compensation Arrangement By Share-based Payment Award Other Than Options Grants, Total Compensation Expense Recognized Over Performance Period",
                            "terseLabel":  "Total compensation expense recognized over the performance period, net of forfeitures"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOtherThanOptionsGrantsTotalCompensationExpenseRecognizedOverPerformancePeriod",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information relating to payout ranges of the share-based compensation awards.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award Payout Range [Axis]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeAxis",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identification of the payout ranges of the share-based compensation awards.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award Payout Range [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeDomain",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeFourMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Range four of the payout range related to performance-based awards.",
                            "label":  "Payout Range-200%"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeFourMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeOneMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Range one of the payout range related to performance-based awards.",
                            "label":  "Payout Range-0%"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeOneMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangePercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The payout range expressed as a percentage of the grant date fair value related to performance-based awards.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Payout Range Percentage",
                            "terseLabel":  "Payout range (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangePercentage",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeRelatedExpenses":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The compensation expense based on the payout range related to performance-based awards.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Payout Range Related Expenses",
                            "terseLabel":  "Related expenses"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeRelatedExpenses",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeThreeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Range three of the payout range related to performance-based awards.",
                            "label":  "Payout Range-100%"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeThreeMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeTwoMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Range two of the payout range related to performance-based awards.",
                            "label":  "Payout Range-25%"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutRangeTwoMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareRepurchaseProgram2021Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 2021 Share Repurchase Program.",
                            "label":  "2021 Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgram2021Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareRepurchaseProgram2022Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents information pertaining to the 2022 Share Repurchase Program.",
                            "label":  "2022 Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgram2022Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_ShareRepurchaseProgramTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the share repurchase program.",
                            "label":  "Share Repurchase Program [Text Block]",
                            "terseLabel":  "Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgram"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_SouthwestInsulationInc.Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information pertaining to Southwest Insulation, Inc.",
                            "label":  "Southwest"
                            }
                        }
                    },
                "localname":  "SouthwestInsulationInc.Member",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_SummaryOfKeyTermsOfCreditAgreementTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents tabular information about the key terms of the Credit Agreement.",
                            "label":  "Summary of The Key Terms of Credit Agreement [Table Text Block]",
                            "terseLabel":  "Summary of key terms of Amended Credit Agreement"
                            }
                        }
                    },
                "localname":  "SummaryOfKeyTermsOfCreditAgreementTableTextBlock",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "bld_TreasuryStockSharesAcquiredCostMethodAcceleratedShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period pursuant to the Accelerated Share Repurchase Program and are being held in treasury.",
                            "label":  "Treasury Stock Shares Acquired Cost Method Accelerated Share Repurchase Program",
                            "terseLabel":  "Repurchase of shares of common stock pursuant to Accelerated Share Repurchase Program (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockSharesAcquiredCostMethodAcceleratedShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_TreasuryStockSharesAcquiredCostMethodSettlementOfAcceleratedShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period pursuant to the settlement of a Accelerated Share Repurchase Program.",
                            "label":  "Treasury Stock Shares Acquired Cost Method, Settlement of Accelerated Share Repurchase Program",
                            "terseLabel":  "Repurchase of shares pursuant to the settlement of ASR Agreement (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockSharesAcquiredCostMethodSettlementOfAcceleratedShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_TreasuryStockSharesAcquiredCostMethodShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period pursuant to the Share Repurchase Program and are being held in treasury.",
                            "label":  "Treasury Stock Shares Acquired Cost Method Share Repurchase Program",
                            "terseLabel":  "Repurchase of shares (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockSharesAcquiredCostMethodShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "bld_TreasuryStockValueAcquiredCostMethodAcceleratedShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the cost of common stock that was repurchased during the period pursuant to the Accelerated Share Repurchase Program.",
                            "label":  "Treasury Stock, Value, Acquired, Cost Method, Accelerated Share Repurchase Program",
                            "negatedLabel":  "Repurchase of shares pursuant to ASR Agreement"
                            }
                        }
                    },
                "localname":  "TreasuryStockValueAcquiredCostMethodAcceleratedShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_TreasuryStockValueAcquiredCostMethodSettlementOfAcceleratedShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the cost of common stock that was repurchased during the period pursuant to the settlement of a Accelerated Share Repurchase Program.",
                            "label":  "Treasury Stock Value Acquired Cost Method, Settlement of Accelerated Share Repurchase Program",
                            "negatedLabel":  "Repurchase of shares pursuant to the settlement of ASR Agreement"
                            }
                        }
                    },
                "localname":  "TreasuryStockValueAcquiredCostMethodSettlementOfAcceleratedShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_TreasuryStockValueAcquiredCostMethodShareRepurchaseProgram":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the cost of common stock that was repurchased during the period pursuant to the Share Repurchase Program.",
                            "label":  "Treasury Stock, Value, Acquired, Cost Method, Share Repurchase Program",
                            "negatedLabel":  "Repurchase of shares"
                            }
                        }
                    },
                "localname":  "TreasuryStockValueAcquiredCostMethodShareRepurchaseProgram",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "bld_VestingBasedOnMarketConditionsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents a share based compensation award with vesting based on market conditions.",
                            "label":  "Market-based conditions"
                            }
                        }
                    },
                "localname":  "VestingBasedOnMarketConditionsMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_VestingBasedOnPerformanceMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents a share based compensation award with vesting based on achievement of performance conditions.",
                            "label":  "Performance-based conditions"
                            }
                        }
                    },
                "localname":  "VestingBasedOnPerformanceMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_VestingBasedOnServiceMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents a share based compensation award with vesting based on length of service.",
                            "label":  "Service-based conditions"
                            }
                        }
                    },
                "localname":  "VestingBasedOnServiceMember",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "bld_VestingCriteriaAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information about the type of vesting for share-based compensation awards.",
                            "label":  "Vesting Criteria [Axis]"
                            }
                        }
                    },
                "localname":  "VestingCriteriaAxis",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "bld_VestingCriteriaDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The types of vesting specified for share-based compensation awards.",
                            "label":  "Vesting Criteria [Domain]"
                            }
                        }
                    },
                "localname":  "VestingCriteriaDomain",
                "nsuri":  "http://www.topbuild.com/20220930",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_AmendmentFlag":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
                            "label":  "Amendment Flag"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Cover page."
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "xbrltype":  "stringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in YYYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
                            "label":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r496"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r497"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC.  It is commonly abbreviated as CIK.",
                            "label":  "Entity Central Index Key"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate whether the registrant is one of the following:  Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer.  Definitions of these categories are stated in Rule 12b-2 of the Exchange Act.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Filer Category"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "filerCategoryItemType"
                },
            "dei_EntityIncorporationStateCountryCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two-character EDGAR code representing the state or country of incorporation.",
                            "label":  "Entity Incorporation, State or Country Code"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r498"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
                            "label":  "Entity Registrant Name"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r494"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r493"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r495"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DocumentDocumentAndEntityInformation"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "srt_ConsolidationItemsAxis":  {
                "auth_ref":  [
                    "r95",
                    "r134",
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r154",
                    "r158",
                    "r211",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r216",
                    "r218",
                    "r219",
                    "r221",
                    "r223",
                    "r224"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidation Items [Axis]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidationItemsDomain":  {
                "auth_ref":  [
                    "r95",
                    "r134",
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r154",
                    "r158",
                    "r211",
                    "r212",
                    "r213",
                    "r214",
                    "r215",
                    "r216",
                    "r218",
                    "r219",
                    "r221",
                    "r223",
                    "r224"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidation Items [Domain]"
                            }
                        }
                    },
                "localname":  "ConsolidationItemsDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MajorCustomersAxis":  {
                "auth_ref":  [
                    "r164",
                    "r279",
                    "r284",
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Axis]"
                            }
                        }
                    },
                "localname":  "MajorCustomersAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    "r204",
                    "r205",
                    "r206",
                    "r207",
                    "r229",
                    "r255",
                    "r300",
                    "r303",
                    "r439",
                    "r440",
                    "r441",
                    "r442",
                    "r443",
                    "r444",
                    "r445",
                    "r480",
                    "r483",
                    "r491",
                    "r492"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails",
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    "r204",
                    "r205",
                    "r206",
                    "r207",
                    "r229",
                    "r255",
                    "r300",
                    "r303",
                    "r439",
                    "r440",
                    "r441",
                    "r442",
                    "r443",
                    "r444",
                    "r445",
                    "r480",
                    "r483",
                    "r491",
                    "r492"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_NameOfMajorCustomerDomain":  {
                "auth_ref":  [
                    "r164",
                    "r279",
                    "r284",
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Domain]"
                            }
                        }
                    },
                "localname":  "NameOfMajorCustomerDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r161",
                    "r205",
                    "r206",
                    "r279",
                    "r282",
                    "r447",
                    "r479",
                    "r481"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Products and Services [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    "r161",
                    "r205",
                    "r206",
                    "r279",
                    "r282",
                    "r447",
                    "r479",
                    "r481"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Products and Services [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    "r197",
                    "r204",
                    "r205",
                    "r206",
                    "r207",
                    "r229",
                    "r255",
                    "r290",
                    "r300",
                    "r303",
                    "r334",
                    "r335",
                    "r336",
                    "r439",
                    "r440",
                    "r441",
                    "r442",
                    "r443",
                    "r444",
                    "r445",
                    "r480",
                    "r483",
                    "r491",
                    "r492"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Range [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails",
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    "r197",
                    "r204",
                    "r205",
                    "r206",
                    "r207",
                    "r229",
                    "r255",
                    "r290",
                    "r300",
                    "r303",
                    "r334",
                    "r335",
                    "r336",
                    "r439",
                    "r440",
                    "r441",
                    "r442",
                    "r443",
                    "r444",
                    "r445",
                    "r480",
                    "r483",
                    "r491",
                    "r492"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Range [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails",
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ScenarioUnspecifiedDomain":  {
                "auth_ref":  [
                    "r106",
                    "r111",
                    "r203",
                    "r301"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Scenario, Unspecified [Domain]"
                            }
                        }
                    },
                "localname":  "ScenarioUnspecifiedDomain",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_StatementScenarioAxis":  {
                "auth_ref":  [
                    "r106",
                    "r111",
                    "r203",
                    "r301",
                    "r435"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Scenario [Axis]"
                            }
                        }
                    },
                "localname":  "StatementScenarioAxis",
                "nsuri":  "http://fasb.org/srt/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accounting Policies"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsPayableCurrent":  {
                "auth_ref":  [
                    "r28",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accounts Payable, Current",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableNetCurrent":  {
                "auth_ref":  [
                    "r166",
                    "r167"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business, classified as current.",
                            "label":  "Accounts Receivable, Net, Current",
                            "terseLabel":  "Receivables, net of an allowance for credit losses of $14,105 at September 30, 2022, and $8,798 at December 31, 2021"
                            }
                        }
                    },
                "localname":  "AccountsReceivableNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccruedInsuranceCurrent":  {
                "auth_ref":  [
                    "r33"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  2.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred through that date and payable to insurance entities to mitigate potential loss from various risks or to satisfy a promise to provide certain coverage's to employees.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Accrued Insurance, Current",
                            "terseLabel":  "Insurance liabilities"
                            }
                        }
                    },
                "localname":  "AccruedInsuranceCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccruedInsuranceNoncurrent":  {
                "auth_ref":  [
                    "r38"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of obligations incurred through that date and due beyond one year (or beyond one operating cycle if longer) to insurance entities to mitigate potential loss from various risks or to satisfy a promise to provide certain coverages to employees.",
                            "label":  "Accrued Insurance, Noncurrent",
                            "terseLabel":  "Long-term portion of insurance reserves"
                            }
                        }
                    },
                "localname":  "AccruedInsuranceNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccruedLiabilitiesMember":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This item represents obligations incurred and payable, pertaining to costs that are statutory in nature, are incurred on contractual obligations, or accumulate over time and for which invoices have not yet been received or will not be rendered.",
                            "label":  "Accrued liabilities"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r21",
                    "r44",
                    "r45",
                    "r46",
                    "r469",
                    "r488",
                    "r489"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Accumulated other comprehensive loss"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r43",
                    "r46",
                    "r53",
                    "r54",
                    "r55",
                    "r97",
                    "r98",
                    "r99",
                    "r389",
                    "r431",
                    "r484",
                    "r485"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "Accumulated Other Comprehensive (Loss) Income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdditionalPaidInCapitalCommonStock":  {
                "auth_ref":  [
                    "r19"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value received from shareholders in common stock-related transactions that are in excess of par value or stated value and amounts received from other stock-related transactions.  Includes only common stock transactions (excludes preferred stock transactions).  May be called contributed capital, capital in excess of par, capital surplus, or paid-in capital.",
                            "label":  "Additional Paid in Capital, Common Stock",
                            "terseLabel":  "Additional paid-in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    "r97",
                    "r98",
                    "r99",
                    "r346",
                    "r347",
                    "r348",
                    "r396"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
                            "label":  "Additional Paid-in Capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of decrease to equity for grantee's tax withholding obligation for award under share-based payment arrangement.",
                            "label":  "Adjustments Related to Tax Withholding for Share-based Compensation",
                            "negatedLabel":  "Shares withheld to pay taxes on employees' equity awards"
                            }
                        }
                    },
                "localname":  "AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue":  {
                "auth_ref":  [
                    "r305",
                    "r350",
                    "r351"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
                            "label":  "Adjustments to Additional Paid in Capital, Share-based Compensation, Requisite Service Period Recognition",
                            "terseLabel":  "Share-based compensation"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Adjustments to reconcile net income to net cash provided by operating activities:"
                            }
                        }
                    },
                "localname":  "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r339"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Allocated Share-based Compensation Expense",
                            "terseLabel":  "Share-based compensation expense"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent":  {
                "auth_ref":  [
                    "r25",
                    "r168",
                    "r172"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on accounts receivable, classified as current.",
                            "label":  "Allowance for Doubtful Accounts Receivable, Current",
                            "terseLabel":  "Allowance for doubtful accounts"
                            }
                        }
                    },
                "localname":  "AllowanceForDoubtfulAccountsReceivableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfFinancingCosts":  {
                "auth_ref":  [
                    "r64",
                    "r83",
                    "r242",
                    "r423"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense attributable to debt issuance costs.",
                            "label":  "Amortization of Financing Costs",
                            "terseLabel":  "Amortization of debt issuance costs"
                            }
                        }
                    },
                "localname":  "AmortizationOfFinancingCosts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AmortizationOfIntangibleAssets":  {
                "auth_ref":  [
                    "r83",
                    "r190",
                    "r193"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets.  As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method.",
                            "label":  "Amortization of Intangible Assets",
                            "terseLabel":  "Amortization expense"
                            }
                        }
                    },
                "localname":  "AmortizationOfIntangibleAssets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
                            "verboseLabel":  "Total anti-dilutive common stock equivalents"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of antidilutive security.",
                            "label":  "Antidilutive Securities [Axis]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
                            "terseLabel":  "Anti-dilutive common stock equivalents"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesNameDomain":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
                            "label":  "Antidilutive Securities, Name [Domain]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r12",
                    "r92",
                    "r142",
                    "r149",
                    "r156",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r215",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r385",
                    "r390",
                    "r408",
                    "r432",
                    "r434",
                    "r452",
                    "r467"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "ASSETS"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsCurrent":  {
                "auth_ref":  [
                    "r6",
                    "r27",
                    "r92",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r215",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r385",
                    "r390",
                    "r408",
                    "r432",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are expected to be realized in cash, sold, or consumed within one year (or the normal operating cycle, if longer).  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Current",
                            "totalLabel":  "Total current assets"
                            }
                        }
                    },
                "localname":  "AssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets, Current [Abstract]",
                            "terseLabel":  "Current assets:"
                            }
                        }
                    },
                "localname":  "AssetsCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r325",
                    "r327",
                    "r328",
                    "r330",
                    "r331",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BalanceSheetLocationAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by location on balance sheet (statement of financial position).",
                            "label":  "Balance Sheet Location [Axis]"
                            }
                        }
                    },
                "localname":  "BalanceSheetLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BalanceSheetLocationDomain":  {
                "auth_ref":  [
                    "r394",
                    "r395"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Location in the balance sheet (statement of financial position).",
                            "label":  "Balance Sheet Location [Domain]"
                            }
                        }
                    },
                "localname":  "BalanceSheetLocationDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BaseRateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Minimum rate investor will accept.",
                            "label":  "Base Rate"
                            }
                        }
                    },
                "localname":  "BaseRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BasisOfAccountingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Basis of Accounting, Policy [Policy Text Block]",
                            "terseLabel":  "Financial Statement Presentation"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    "r299",
                    "r302",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
                            "label":  "Business Acquisition, Acquiree [Domain]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAcquireeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r299",
                    "r302",
                    "r371",
                    "r372",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Business Acquisition [Line Items]",
                            "terseLabel":  "Business Combinations"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount":  {
                "auth_ref":  [
                    "r382"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of goodwill arising from a business combination that is expected to be deductible for tax purposes.",
                            "label":  "Business Acquisition, Goodwill, Expected Tax Deductible Amount",
                            "terseLabel":  "Goodwill expected to be deducted for income tax purposes"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationAcquisitionRelatedCosts":  {
                "auth_ref":  [
                    "r370"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period.  Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities.",
                            "label":  "Business Combination, Acquisition Related Costs",
                            "terseLabel":  "Acquisition related costs"
                            }
                        }
                    },
                "localname":  "BusinessCombinationAcquisitionRelatedCosts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationConsiderationTransferred1":  {
                "auth_ref":  [
                    "r378",
                    "r379",
                    "r380"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of consideration transferred, consisting of acquisition-date fair value of assets transferred by the acquirer, liabilities incurred by the acquirer, and equity interest issued by the acquirer.",
                            "label":  "Business Combination, Consideration Transferred",
                            "verboseLabel":  "Total Purchase Price"
                            }
                        }
                    },
                "localname":  "BusinessCombinationConsiderationTransferred1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationDescriptionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Business Combination, Description [Abstract]",
                            "verboseLabel":  "Summary"
                            }
                        }
                    },
                "localname":  "BusinessCombinationDescriptionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessCombinationDisclosureTextBlock":  {
                "auth_ref":  [
                    "r377",
                    "r383"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.  The disclosure may include leverage buyout transactions (as applicable).",
                            "label":  "Business Combination Disclosure [Text Block]",
                            "terseLabel":  "Business Combinations"
                            }
                        }
                    },
                "localname":  "BusinessCombinationDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinations"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lease obligation assumed in business combination.",
                            "label":  "Business Combination, Recognized Identifiable Asset Acquired and Liability Assumed, Lease Obligation",
                            "negatedLabel":  "Lease liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCapitalLeaseObligation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Prepaid Expense and Other Assets",
                            "terseLabel":  "Prepaid and other assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
                            "terseLabel":  "Accounts receivable"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities incurred for goods and services received that are used in an entity's business and related party payables, assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Liabilities, Accounts Payable",
                            "negatedLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred tax liability attributable to taxable temporary differences assumed at the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Liabilities, Current",
                            "negatedLabel":  "Deferred tax liabilities"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles":  {
                "auth_ref":  [
                    "r373",
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of identifiable intangible assets recognized as of the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Finite-Lived Intangibles",
                            "terseLabel":  "Intangible assets"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory":  {
                "auth_ref":  [
                    "r373",
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of inventory recognized as of the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Inventory",
                            "terseLabel":  "Inventories"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r373",
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of property, plant, and equipment recognized as of the acquisition date.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
                            "terseLabel":  "Property and equipment"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet":  {
                "auth_ref":  [
                    "r374"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount recognized for assets, including goodwill, in excess of (less than) the aggregate liabilities assumed.",
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net",
                            "totalLabel":  "Net assets acquired"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Business Combination, Recognized Identifiable Assets Acquired, Goodwill, and Liabilities Assumed, Net [Abstract]",
                            "verboseLabel":  "Estimated fair values"
                            }
                        }
                    },
                "localname":  "BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessCombinationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Business Combinations"
                            }
                        }
                    },
                "localname":  "BusinessCombinationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock":  {
                "auth_ref":  [
                    "r3",
                    "r96",
                    "r128"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Business Description and Basis of Presentation [Text Block]",
                            "terseLabel":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BusinessDescriptionAndBasisOfPresentationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBasisOfPresentation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CapitalExpendituresIncurredButNotYetPaid":  {
                "auth_ref":  [
                    "r86",
                    "r87",
                    "r88"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Future cash outflow to pay for purchases of fixed assets that have occurred.",
                            "label":  "Capital Expenditures Incurred but Not yet Paid",
                            "terseLabel":  "Accruals for property and equipment"
                            }
                        }
                    },
                "localname":  "CapitalExpendituresIncurredButNotYetPaid",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r4",
                    "r8",
                    "r85"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash and Cash Equivalents, at Carrying Value",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r80",
                    "r85",
                    "r89"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash and cash equivalents- End of period",
                            "periodStartLabel":  "Cash and cash equivalents- Beginning of period"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r80",
                    "r411"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Period Increase (Decrease)",
                            "totalLabel":  "Net increase (decrease) in cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Cash and Cash Equivalents, Period Increase (Decrease) [Abstract]",
                            "terseLabel":  "Cash and Cash Equivalents"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffectAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ClassOfTreasuryStockTable":  {
                "auth_ref":  [
                    "r262",
                    "r263",
                    "r264",
                    "r265"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about treasury stock, including, but not limited to, average cost per share, description of share repurchase program, shares repurchased, shares held for each class of treasury stock.",
                            "label":  "Class of Treasury Stock [Table]"
                            }
                        }
                    },
                "localname":  "ClassOfTreasuryStockTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r39",
                    "r456",
                    "r472"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
                            "label":  "Commitments and Contingencies",
                            "terseLabel":  "Commitments and contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingencies",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r200",
                    "r201",
                    "r202",
                    "r208",
                    "r490"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "terseLabel":  "Other Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureOtherCommitmentsAndContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    "r97",
                    "r98",
                    "r396"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r17"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of common stock.",
                            "label":  "Common Stock, Par Value (in dollars per share)",
                            "terseLabel":  "Common stock, par value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "CommonStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r17"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Common Stock, Shares Authorized",
                            "terseLabel":  "Common stock, shares authorized"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r17"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury).  These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized.  Shares issued include shares outstanding and shares held in the treasury.",
                            "label":  "Common Stock, Shares, Issued",
                            "terseLabel":  "Common stock, shares issued"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r17",
                    "r256"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of common stock outstanding.  Common stock represent the ownership interest in a corporation.",
                            "label":  "Common Stock, Shares, Outstanding",
                            "terseLabel":  "Common stock, shares outstanding"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r17",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Common Stock, Value, Issued",
                            "verboseLabel":  "Common stock, $0.01 par value: 250,000,000 shares authorized; 39,325,465 shares issued and 31,974,006 outstanding at September 30, 2022, and 39,165,024 shares issued and 32,927,185 outstanding at December 31, 2021"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r49",
                    "r51",
                    "r52",
                    "r61",
                    "r460",
                    "r475"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Comprehensive income"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConstructionContractorReceivableRetainage":  {
                "auth_ref":  [
                    "r18",
                    "r446"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of right to consideration in exchange for good or service transferred to customer withheld under retainage provision in long-term contract or program when right to consideration is unconditional.",
                            "label":  "Construction Contractor, Receivable, Retainage",
                            "terseLabel":  "Retained receivables"
                            }
                        }
                    },
                "localname":  "ConstructionContractorReceivableRetainage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerAssetAndLiabilityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Contract with Customer, Asset and Liability [Abstract]",
                            "terseLabel":  "Contract assets and contract liabilities with customers:"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetAndLiabilityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ContractWithCustomerAssetAndLiabilityTableTextBlock":  {
                "auth_ref":  [
                    "r269"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of receivable, contract asset, and contract liability from contract with customer.  Includes, but is not limited to, change in contract asset and contract liability.",
                            "label":  "Contract with Customer, Asset and Liability [Table Text Block]",
                            "verboseLabel":  "Schedule of contract assets and contract liabilities with customers"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetAndLiabilityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ContractWithCustomerAssetNetCurrent":  {
                "auth_ref":  [
                    "r266",
                    "r268",
                    "r280"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration in exchange for good or service transferred to customer when right is conditioned on something other than passage of time, classified as current.",
                            "label":  "Contract with Customer, Asset, Net, Current",
                            "terseLabel":  "Receivables, unbilled"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetNetCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractWithCustomerAssetNetCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Contract with Customer, Asset, Net, Current [Abstract]",
                            "terseLabel":  "Contract Assets"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerAssetNetCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Contract with Customer, Liability [Abstract]",
                            "terseLabel":  "Contract Liabilities"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ContractWithCustomerLiabilityCurrent":  {
                "auth_ref":  [
                    "r266",
                    "r267",
                    "r280"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  5.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current.",
                            "label":  "Contract with Customer, Liability, Current",
                            "terseLabel":  "Deferred revenue"
                            }
                        }
                    },
                "localname":  "ContractWithCustomerLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CorporateNonSegmentMember":  {
                "auth_ref":  [
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r158",
                    "r160"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Corporate headquarters or functional department that may not earn revenues or may earn revenues that are only incidental to the activities of the entity and is not considered an operating segment.",
                            "label":  "Corporate"
                            }
                        }
                    },
                "localname":  "CorporateNonSegmentMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CostOfGoodsAndServicesSold":  {
                "auth_ref":  [
                    "r66",
                    "r447"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_GrossProfit",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate costs related to goods produced and sold and services rendered by an entity during the reporting period.  This excludes costs incurred during the reporting period related to financial services rendered and other revenue generating activities.",
                            "label":  "Cost of Goods and Services Sold",
                            "terseLabel":  "Cost of sales"
                            }
                        }
                    },
                "localname":  "CostOfGoodsAndServicesSold",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CreditFacilityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Axis]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditFacilityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Domain]"
                            }
                        }
                    },
                "localname":  "CreditFacilityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Long-Term Debt"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentAxis":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r15",
                    "r91",
                    "r95",
                    "r226",
                    "r227",
                    "r228",
                    "r229",
                    "r230",
                    "r231",
                    "r232",
                    "r233",
                    "r234",
                    "r235",
                    "r236",
                    "r237",
                    "r238",
                    "r239",
                    "r240",
                    "r241",
                    "r242",
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r424",
                    "r453",
                    "r454",
                    "r466"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
                            "label":  "Debt Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Basis Spread on Variable Rate",
                            "terseLabel":  "Basis spread"
                            }
                        }
                    },
                "localname":  "DebtInstrumentBasisSpreadOnVariableRate1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentCarryingAmount":  {
                "auth_ref":  [
                    "r15",
                    "r244",
                    "r454",
                    "r466"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
                            "label":  "Long-term Debt, Gross",
                            "terseLabel":  "Amount outstanding",
                            "totalLabel":  "Total principal maturities",
                            "verboseLabel":  "Long-term debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCarryingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentFaceAmount":  {
                "auth_ref":  [
                    "r226",
                    "r247",
                    "r248",
                    "r422",
                    "r424",
                    "r425"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face (par) amount of debt instrument at time of issuance.",
                            "label":  "Debt Instrument, Face Amount",
                            "terseLabel":  "Principal amount of debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFaceAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentFairValue":  {
                "auth_ref":  [
                    "r235",
                    "r247",
                    "r248",
                    "r407"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of debt instrument payable, including, but not limited to, notes payable and loans payable.",
                            "label":  "Debt Instrument, Fair Value Disclosure",
                            "terseLabel":  "Fair value"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentInterestRateEffectivePercentage":  {
                "auth_ref":  [
                    "r35",
                    "r246",
                    "r422",
                    "r424"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
                            "label":  "Debt Instrument, Interest Rate, Effective Percentage",
                            "terseLabel":  "Interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateEffectivePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r35",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contractual interest rate for funds borrowed, under the debt agreement.",
                            "label":  "Debt Instrument, Interest Rate, Stated Percentage",
                            "terseLabel":  "Interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateStatedPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Debt Instrument [Line Items]",
                            "terseLabel":  "Long-Term Debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentMaturityDate":  {
                "auth_ref":  [
                    "r36",
                    "r229",
                    "r402"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
                            "label":  "Debt Instrument, Maturity Date",
                            "terseLabel":  "Scheduled maturity date"
                            }
                        }
                    },
                "localname":  "DebtInstrumentMaturityDate",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "dateItemType"
                },
            "us-gaap_DebtInstrumentNameDomain":  {
                "auth_ref":  [
                    "r37",
                    "r91",
                    "r95",
                    "r226",
                    "r227",
                    "r228",
                    "r229",
                    "r230",
                    "r231",
                    "r232",
                    "r233",
                    "r234",
                    "r235",
                    "r236",
                    "r237",
                    "r238",
                    "r239",
                    "r240",
                    "r241",
                    "r242",
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r424"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
                            "label":  "Debt Instrument, Name [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodAxis":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information about timing of debt redemption features under terms of the debt agreement.",
                            "label":  "Debt Instrument, Redemption, Period [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodDomain":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period as defined under terms of the debt agreement for debt redemption features.",
                            "label":  "Debt Instrument, Redemption, Period [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodFiveMember":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period five representing fifth most current period of debt redemption features under terms of the debt agreement.",
                            "label":  "On October 15, 2029 and thereafter"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodFiveMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodFourMember":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period four representing fourth most current period of debt redemption features under terms of the debt agreement.",
                            "label":  "On or after October 15, 2028"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodFourMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodOneMember":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period one representing most current period of debt redemption features under terms of the debt agreement.",
                            "label":  "Prior to March 15, 2024"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodOneMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodThreeMember":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period three representing third most current period of debt redemption features under terms of the debt agreement.",
                            "label":  "On or after October 15, 2027"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodThreeMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPeriodTwoMember":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period two representing second most current period of debt redemption features under terms of the debt agreement.",
                            "label":  "On or after October 15, 2026"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPeriodTwoMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPricePercentage":  {
                "auth_ref":  [
                    "r464"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage price of original principal amount of debt at which debt can be redeemed by the issuer.",
                            "label":  "Debt Instrument, Redemption Price, Percentage",
                            "terseLabel":  "Redemption price as a percentage of principal"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPricePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of principal amount of debt redeemed.",
                            "label":  "Debt Instrument, Redemption Price, Percentage of Principal Amount Redeemed",
                            "terseLabel":  "Redemption price, percentage of principal amount redeemed"
                            }
                        }
                    },
                "localname":  "DebtInstrumentRedemptionPricePercentageOfPrincipalAmountRedeemed",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r37",
                    "r91",
                    "r95",
                    "r226",
                    "r227",
                    "r228",
                    "r229",
                    "r230",
                    "r231",
                    "r232",
                    "r233",
                    "r234",
                    "r235",
                    "r236",
                    "r237",
                    "r238",
                    "r239",
                    "r240",
                    "r241",
                    "r242",
                    "r243",
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r257",
                    "r258",
                    "r259",
                    "r260",
                    "r421",
                    "r422",
                    "r424",
                    "r425",
                    "r465"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Debt Instrument, Term",
                            "terseLabel":  "Debt term"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTerm",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r233",
                    "r423"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Deferred Finance Costs, Net",
                            "negatedLabel":  "Unamortized debt issuance costs"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxLiabilitiesNet":  {
                "auth_ref":  [
                    "r353",
                    "r354"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deferred tax asset, of deferred tax liability attributable to taxable differences with jurisdictional netting.",
                            "label":  "Deferred Tax Liabilities, Net, Noncurrent",
                            "terseLabel":  "Deferred tax liabilities, net"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxLiabilitiesNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r83",
                    "r137"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
                            "label":  "Depreciation, Depletion and Amortization",
                            "terseLabel":  "Depreciation and amortization"
                            }
                        }
                    },
                "localname":  "DepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisaggregationOfRevenueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Disaggregation of Revenue [Line Items]",
                            "terseLabel":  "Revenue Recognition"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTable":  {
                "auth_ref":  [
                    "r279",
                    "r282",
                    "r283",
                    "r284",
                    "r285",
                    "r286",
                    "r287",
                    "r288"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table]"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DisaggregationOfRevenueTableTextBlock":  {
                "auth_ref":  [
                    "r279"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of disaggregation of revenue into categories depicting how nature, amount, timing, and uncertainty of revenue and cash flows are affected by economic factor.",
                            "label":  "Disaggregation of Revenue [Table Text Block]",
                            "terseLabel":  "Schedule of revenues disaggregated by market and product"
                            }
                        }
                    },
                "localname":  "DisaggregationOfRevenueTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r307",
                    "r308",
                    "r340",
                    "r341",
                    "r343",
                    "r352"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Disclosure of Compensation Related Costs, Share-based Payments [Text Block]",
                            "terseLabel":  "Share-Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-Based Compensation."
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income Per Share",
                            "verboseLabel":  "Net income per common share:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r62",
                    "r103",
                    "r104",
                    "r105",
                    "r106",
                    "r107",
                    "r112",
                    "r114",
                    "r116",
                    "r117",
                    "r118",
                    "r122",
                    "r123",
                    "r397",
                    "r398",
                    "r461",
                    "r476"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Basic",
                            "terseLabel":  "Basic",
                            "verboseLabel":  "Basic net income per common share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r62",
                    "r103",
                    "r104",
                    "r105",
                    "r106",
                    "r107",
                    "r114",
                    "r116",
                    "r117",
                    "r118",
                    "r122",
                    "r123",
                    "r397",
                    "r398",
                    "r461",
                    "r476"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "terseLabel":  "Diluted",
                            "verboseLabel":  "Diluted net income per common share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareReconciliationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic and Diluted, Other Disclosures [Abstract]",
                            "verboseLabel":  "Weighted average shares outstanding:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareReconciliationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r119",
                    "r120",
                    "r121",
                    "r124"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "terseLabel":  "Net Income Per Share"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShare"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r411"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) from effect of exchange rate changes on cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; held in foreign currencies.  Excludes amounts for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Impact of exchange rate changes on cash"
                            }
                        }
                    },
                "localname":  "EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EffectiveIncomeTaxRateContinuingOperations":  {
                "auth_ref":  [
                    "r356"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Effective Income Tax Rate Reconciliation, Percent",
                            "terseLabel":  "Effective tax rate (as a percent)"
                            }
                        }
                    },
                "localname":  "EffectiveIncomeTaxRateContinuingOperations",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureIncomeTaxesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Compensation Cost [Line Items]",
                            "terseLabel":  "Share-Based Compensation"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized":  {
                "auth_ref":  [
                    "r342"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Cost Not yet Recognized",
                            "totalLabel":  "Total unrecognized compensation expense related to unvested awards"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Unrecognized share-based compensation expense relating to unvested awards",
                            "terseLabel":  "Unrecognized share-based compensation expense"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1":  {
                "auth_ref":  [
                    "r342"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
                            "terseLabel":  "Weighted Average Remaining Compensation Expense Period"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions":  {
                "auth_ref":  [
                    "r342"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost to be recognized for nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Share-based Awards Other than Options",
                            "verboseLabel":  "RSAs, Unrecognized Compensation Expense on Unvested Awards"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions":  {
                "auth_ref":  [
                    "r342"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost to be recognized for option under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Nonvested Awards, Compensation Not yet Recognized, Stock Options",
                            "verboseLabel":  "Stock options, Unrecognized Compensation Expense on Unvested Awards"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense":  {
                "auth_ref":  [
                    "r339"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
                            "label":  "Employee Service Share-based Compensation, Tax Benefit from Compensation Expense",
                            "terseLabel":  "Income tax (expense) benefit",
                            "verboseLabel":  "Benefit related to share-based compensation"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureIncomeTaxesDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeStockOptionMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
                            "label":  "Stock Options"
                            }
                        }
                    },
                "localname":  "EmployeeStockOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "EquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityClassOfTreasuryStockLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Equity, Class of Treasury Stock [Line Items]",
                            "terseLabel":  "Share Repurchase Program"
                            }
                        }
                    },
                "localname":  "EquityClassOfTreasuryStockLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r0",
                    "r53",
                    "r54",
                    "r55",
                    "r97",
                    "r98",
                    "r99",
                    "r101",
                    "r108",
                    "r110",
                    "r127",
                    "r171",
                    "r256",
                    "r261",
                    "r346",
                    "r347",
                    "r348",
                    "r360",
                    "r361",
                    "r396",
                    "r413",
                    "r414",
                    "r415",
                    "r416",
                    "r417",
                    "r419",
                    "r431",
                    "r484",
                    "r485",
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
                            "label":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EurodollarMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate based on U.S. dollar denominated deposits at foreign banks or foreign branches of U.S. banks.",
                            "label":  "Eurodollar"
                            }
                        }
                    },
                "localname":  "EurodollarMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r399",
                    "r400",
                    "r405"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurements, Recurring and Nonrecurring [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r235",
                    "r247",
                    "r248",
                    "r291",
                    "r292",
                    "r293",
                    "r294",
                    "r295",
                    "r296",
                    "r297",
                    "r298",
                    "r400",
                    "r436",
                    "r437",
                    "r438"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
                            "label":  "Fair Value Hierarchy and NAV [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r399",
                    "r400",
                    "r401",
                    "r402",
                    "r406"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r404"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities.  Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
                            "label":  "Fair Value Disclosures [Text Block]",
                            "terseLabel":  "Fair Value Measurements"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurements"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel1Member":  {
                "auth_ref":  [
                    "r235",
                    "r291",
                    "r292",
                    "r297",
                    "r298",
                    "r400",
                    "r436"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
                            "label":  "Level 1 fair value measurement"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel1Member",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsQuantitativeInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Fair Value, Transfers Between Level 1 and Level 2, Description and Policy [Abstract]",
                            "terseLabel":  "Fair Value on Non-Recurring Basis"
                            }
                        }
                    },
                "localname":  "FairValueInputsQuantitativeInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    "r399",
                    "r400"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of liabilities measured at fair value measured on a recurring or nonrecurring basis.  Includes, but is not limited to, fair value measurements recorded and the reasons for the measurements, level within the fair value hierarchy in which the fair value measurements are categorized and transfers between levels 1 and 2.",
                            "label":  "Fair Value, Liabilities Measured on Recurring and Nonrecurring Basis [Table Text Block]",
                            "terseLabel":  "Schedule of fair value of liabilities"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    "r235",
                    "r247",
                    "r248",
                    "r291",
                    "r292",
                    "r293",
                    "r294",
                    "r295",
                    "r296",
                    "r297",
                    "r298",
                    "r436",
                    "r437",
                    "r438"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Hierarchy and NAV [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsNonrecurringMember":  {
                "auth_ref":  [
                    "r399",
                    "r400",
                    "r401",
                    "r402",
                    "r403",
                    "r406"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Infrequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, not frequently measured at fair value.",
                            "label":  "Fair Value on Non-Recurring Basis"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsNonrecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureFairValueMeasurementsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinanceLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r427"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from finance lease, classified as current.",
                            "label":  "Finance Lease, Liability, Current",
                            "terseLabel":  "Short-term finance lease liabilities"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinanceLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r427"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from finance lease, classified as noncurrent.",
                            "label":  "Finance Lease, Liability, Noncurrent",
                            "terseLabel":  "Long-term finance lease liabilities"
                            }
                        }
                    },
                "localname":  "FinanceLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization":  {
                "auth_ref":  [
                    "r10",
                    "r192"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FiniteLivedIntangibleAssetsNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Accumulated Amortization",
                            "negatedLabel":  "Accumulated Amortization"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAccumulatedAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of amortization expense of assets, excluding financial assets, that lack physical substance, having a limited useful life.",
                            "label":  "Finite-lived Intangible Assets Amortization Expense [Table Text Block]",
                            "terseLabel":  "Schedule of amortization expense"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsAmortizationExpenseTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsGross":  {
                "auth_ref":  [
                    "r192",
                    "r449"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FiniteLivedIntangibleAssetsNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Gross",
                            "terseLabel":  "Gross Definite-lived intangible assets"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FiniteLivedIntangibleAssetsNet":  {
                "auth_ref":  [
                    "r192",
                    "r448"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IntangibleAssetsNetExcludingGoodwill",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
                            "label":  "Finite-Lived Intangible Assets, Net",
                            "totalLabel":  "Net definite-lived intangible assets",
                            "verboseLabel":  "Other intangible assets, net"
                            }
                        }
                    },
                "localname":  "FiniteLivedIntangibleAssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainLossOnSaleOfPropertyPlantEquipment":  {
                "auth_ref":  [
                    "r83"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
                            "label":  "Gain (Loss) on Disposition of Property Plant Equipment",
                            "negatedLabel":  "Loss on sale of property and equipment"
                            }
                        }
                    },
                "localname":  "GainLossOnSaleOfPropertyPlantEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainsLossesOnExtinguishmentOfDebt":  {
                "auth_ref":  [
                    "r83",
                    "r251",
                    "r252"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
                            "label":  "Gain (Loss) on Extinguishment of Debt",
                            "negatedLabel":  "Loss on extinguishment of debt",
                            "terseLabel":  "Loss on extinguishment of debt"
                            }
                        }
                    },
                "localname":  "GainsLossesOnExtinguishmentOfDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Goodwill":  {
                "auth_ref":  [
                    "r9",
                    "r175",
                    "r177",
                    "r184",
                    "r188",
                    "r434",
                    "r451"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill",
                            "terseLabel":  "Goodwill",
                            "totalLabel":  "Net Goodwill"
                            }
                        }
                    },
                "localname":  "Goodwill",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAcquiredDuringPeriod":  {
                "auth_ref":  [
                    "r178",
                    "r188"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized resulting from a business combination.",
                            "label":  "Goodwill, Acquired During Period",
                            "verboseLabel":  "Goodwill Acquired"
                            }
                        }
                    },
                "localname":  "GoodwillAcquiredDuringPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Goodwill and Other Intangibles"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r194"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for goodwill and intangible assets.",
                            "label":  "Goodwill and Intangible Assets Disclosure [Text Block]",
                            "terseLabel":  "Goodwill and Other Intangibles"
                            }
                        }
                    },
                "localname":  "GoodwillAndIntangibleAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangibles"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GoodwillForeignCurrencyTranslationGainLoss":  {
                "auth_ref":  [
                    "r182"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of foreign currency translation gain (loss) which increases (decreases) an asset representing future economic benefits from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Foreign Currency Translation Gain (Loss)",
                            "terseLabel":  "Fx Translation Adjustment"
                            }
                        }
                    },
                "localname":  "GoodwillForeignCurrencyTranslationGainLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillGross":  {
                "auth_ref":  [
                    "r177",
                    "r184",
                    "r188"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Goodwill",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount before accumulated impairment loss of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Gross",
                            "periodEndLabel":  "Gross Goodwill, at end of period",
                            "periodStartLabel":  "Gross Goodwill, at beginning of period"
                            }
                        }
                    },
                "localname":  "GoodwillGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillImpairedAccumulatedImpairmentLoss":  {
                "auth_ref":  [
                    "r177",
                    "r184",
                    "r188"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Goodwill",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated impairment loss for an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Impaired, Accumulated Impairment Loss",
                            "negatedLabel":  "Accumulated Impairment Losses"
                            }
                        }
                    },
                "localname":  "GoodwillImpairedAccumulatedImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillImpairmentLoss":  {
                "auth_ref":  [
                    "r83",
                    "r176",
                    "r181",
                    "r187",
                    "r188"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Impairment Loss",
                            "terseLabel":  "Impairment of goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillImpairmentLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Goodwill [Line Items]",
                            "terseLabel":  "Changes in the carrying amount of goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_GoodwillPeriodIncreaseDecrease":  {
                "auth_ref":  [
                    "r185"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Period Increase (Decrease)",
                            "terseLabel":  "Additions"
                            }
                        }
                    },
                "localname":  "GoodwillPeriodIncreaseDecrease",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GoodwillPurchaseAccountingAdjustments":  {
                "auth_ref":  [
                    "r183",
                    "r369"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) from adjustments after acquisition date under purchase accounting of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
                            "label":  "Goodwill, Purchase Accounting Adjustments",
                            "verboseLabel":  "Increase in goodwill"
                            }
                        }
                    },
                "localname":  "GoodwillPurchaseAccountingAdjustments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GrossProfit":  {
                "auth_ref":  [
                    "r65",
                    "r92",
                    "r142",
                    "r148",
                    "r152",
                    "r155",
                    "r158",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r408"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity.",
                            "label":  "Gross Profit",
                            "totalLabel":  "Gross profit"
                            }
                        }
                    },
                "localname":  "GrossProfit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest":  {
                "auth_ref":  [
                    "r58",
                    "r142",
                    "r148",
                    "r152",
                    "r155",
                    "r158",
                    "r450",
                    "r457",
                    "r463",
                    "r477"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
                            "label":  "Income Tax Expense (Benefit), Total",
                            "totalLabel":  "Income before income taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS"
                            }
                        }
                    },
                "localname":  "IncomeStatementAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r93",
                    "r357",
                    "r358",
                    "r359",
                    "r362",
                    "r364",
                    "r366",
                    "r367",
                    "r368"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for income taxes.  Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
                            "label":  "Income Tax Disclosure [Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureIncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r94",
                    "r109",
                    "r110",
                    "r140",
                    "r355",
                    "r363",
                    "r365",
                    "r478"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Income Tax Expense (Benefit)",
                            "negatedLabel":  "Income tax expense"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsPayable":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
                            "label":  "Increase (Decrease) in Accounts Payable",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsPayable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsReceivable":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
                            "label":  "Increase (Decrease) in Accounts Receivable",
                            "negatedLabel":  "Receivables, net"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccruedLiabilities":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate amount of expenses incurred but not yet paid.",
                            "label":  "Increase (Decrease) in Accrued Liabilities",
                            "terseLabel":  "Accrued liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccruedLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInInventories":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate value of all inventory held by the reporting entity, associated with underlying transactions that are classified as operating activities.",
                            "label":  "Increase (Decrease) in Inventories",
                            "negatedLabel":  "Inventories, net"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInInventories",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Increase (Decrease) in Operating Capital [Abstract]",
                            "terseLabel":  "Change in certain assets and liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOperatingCapitalAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in prepaid expenses, and assets classified as other.",
                            "label":  "Increase (Decrease) in Prepaid Expense and Other Assets",
                            "negatedLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Stockholders' Equity"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IntangibleAssetsNetExcludingGoodwill":  {
                "auth_ref":  [
                    "r189",
                    "r191"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts of all intangible assets, excluding goodwill, as of the balance sheet date, net of accumulated amortization and impairment charges.",
                            "label":  "Intangible Assets, Net (Excluding Goodwill)",
                            "totalLabel":  "Other intangible assets, net"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsNetExcludingGoodwill",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IntangibleAssetsNetExcludingGoodwillAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Finite-Lived Intangible Assets, Net [Abstract]",
                            "terseLabel":  "Other intangible assets"
                            }
                        }
                    },
                "localname":  "IntangibleAssetsNetExcludingGoodwillAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesOtherIntangibleAssetsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_InterestExpense":  {
                "auth_ref":  [
                    "r57",
                    "r136",
                    "r420",
                    "r423",
                    "r462"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense.",
                            "label":  "Interest Expense",
                            "negatedLabel":  "Interest expense"
                            }
                        }
                    },
                "localname":  "InterestExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPayableCurrent":  {
                "auth_ref":  [
                    "r33"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  7.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of [accrued] interest payable on all forms of debt, including trade payables, that has been incurred and is unpaid.  Used to reflect the current portion of the liabilities (due within one year or within the normal operating cycle if longer).",
                            "label":  "Interest Payable, Current",
                            "terseLabel":  "Interest payable on long-term debt"
                            }
                        }
                    },
                "localname":  "InterestPayableCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IntersegmentEliminationMember":  {
                "auth_ref":  [
                    "r134",
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r154",
                    "r158"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Eliminating entries used in operating segment consolidation.",
                            "label":  "Intercompany Eliminations"
                            }
                        }
                    },
                "localname":  "IntersegmentEliminationMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_InventoryNet":  {
                "auth_ref":  [
                    "r5",
                    "r26",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after valuation and LIFO reserves of inventory expected to be sold, or consumed within one year or operating cycle, if longer.",
                            "label":  "Inventory, Net",
                            "terseLabel":  "Inventories, net"
                            }
                        }
                    },
                "localname":  "InventoryNet",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InventoryWriteDown":  {
                "auth_ref":  [
                    "r174"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels.",
                            "label":  "Inventory Write-down",
                            "terseLabel":  "Loss from inventory obsolescence"
                            }
                        }
                    },
                "localname":  "InventoryWriteDown",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LettersOfCreditOutstandingAmount":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The total amount of the contingent obligation under letters of credit outstanding as of the reporting date.",
                            "label":  "Letters of Credit Outstanding, Amount",
                            "negatedLabel":  "Less: standby letters of credit"
                            }
                        }
                    },
                "localname":  "LettersOfCreditOutstandingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r32",
                    "r92",
                    "r150",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r386",
                    "r390",
                    "r391",
                    "r408",
                    "r432",
                    "r433"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized.  Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
                            "label":  "Liabilities",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "Liabilities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r24",
                    "r92",
                    "r170",
                    "r408",
                    "r434",
                    "r455",
                    "r471"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
                            "label":  "Liabilities and Equity",
                            "totalLabel":  "Total liabilities and equity"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "LIABILITIES AND EQUITY"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesCurrent":  {
                "auth_ref":  [
                    "r7",
                    "r34",
                    "r92",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r386",
                    "r390",
                    "r391",
                    "r408",
                    "r432",
                    "r433",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total obligations incurred as part of normal operations that are expected to be paid during the following twelve months or within one business cycle, if longer.",
                            "label":  "Liabilities, Current",
                            "totalLabel":  "Total current liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesCurrentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities, Current [Abstract]",
                            "terseLabel":  "Current liabilities:"
                            }
                        }
                    },
                "localname":  "LiabilitiesCurrentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity":  {
                "auth_ref":  [
                    "r29"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Current Borrowing Capacity",
                            "terseLabel":  "Availability under Revolving Facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityCurrentBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r29"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "totalLabel":  "Revolving Facility",
                            "verboseLabel":  "Availability"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityTable":  {
                "auth_ref":  [
                    "r29",
                    "r91"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
                            "label":  "Line of Credit Facility [Table]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The fee, expressed as a percentage of the line of credit facility, for available but unused credit capacity under the credit facility.",
                            "label":  "Line of Credit Facility, Unused Capacity, Commitment Fee Percentage",
                            "terseLabel":  "Commitment fee (as a percent)"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityUnusedCapacityCommitmentFeePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "LIBOR"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebt":  {
                "auth_ref":  [
                    "r15",
                    "r234",
                    "r245",
                    "r247",
                    "r248",
                    "r454",
                    "r468"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetailsCalc2":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt.  Excludes lease obligation.",
                            "label":  "Long-term Debt.",
                            "totalLabel":  "Total debt, net of unamortized debt issuance costs",
                            "verboseLabel":  "Amount outstanding"
                            }
                        }
                    },
                "localname":  "LongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtByMaturityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Long-term Debt, Fiscal Year Maturity [Abstract]",
                            "terseLabel":  "Schedule of Debt Maturity by Years:"
                            }
                        }
                    },
                "localname":  "LongTermDebtByMaturityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongTermDebtCurrent":  {
                "auth_ref":  [
                    "r31"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetailsCalc2":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt, classified as current.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt, Current Maturities",
                            "terseLabel":  "Current portion of long-term debt",
                            "verboseLabel":  "Less: current portion of long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths":  {
                "auth_ref":  [
                    "r95",
                    "r209",
                    "r238"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Next Twelve Months",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour":  {
                "auth_ref":  [
                    "r95",
                    "r209",
                    "r238"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Four",
                            "terseLabel":  "2026"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree":  {
                "auth_ref":  [
                    "r95",
                    "r209",
                    "r238"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Three",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo":  {
                "auth_ref":  [
                    "r95",
                    "r209",
                    "r238"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal in Year Two",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear":  {
                "auth_ref":  [
                    "r95"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in remainder of current fiscal year.",
                            "label":  "Long-term Debt, Maturities, Repayments of Principal, Remainder of Fiscal Year",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtNoncurrent":  {
                "auth_ref":  [
                    "r15"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetailsCalc2":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt classified as noncurrent.  Excludes lease obligation.",
                            "label":  "Long-term Debt, Excluding Current Maturities",
                            "terseLabel":  "Long-term debt",
                            "verboseLabel":  "Total long-term debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtOtherDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Long-term Debt, Other Disclosures [Abstract]",
                            "terseLabel":  "Debt covenants"
                            }
                        }
                    },
                "localname":  "LongTermDebtOtherDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongTermDebtTextBlock":  {
                "auth_ref":  [
                    "r253"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for long-term debt.",
                            "label":  "Long-term Debt [Text Block]",
                            "terseLabel":  "Long-Term Debt"
                            }
                        }
                    },
                "localname":  "LongTermDebtTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebt"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_LongtermDebtTypeAxis":  {
                "auth_ref":  [
                    "r37"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of long-term debt.",
                            "label":  "Long-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongtermDebtTypeDomain":  {
                "auth_ref":  [
                    "r37",
                    "r210"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Long-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities, Continuing Operations",
                            "totalLabel":  "Net cash used in financing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows Provided by (Used in) Financing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r80"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities, Continuing Operations",
                            "totalLabel":  "Net cash used in investing activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows Provided by (Used in) Investing Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r80",
                    "r81",
                    "r84"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities, Continuing Operations",
                            "totalLabel":  "Net cash provided by operating activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
                            "terseLabel":  "Cash Flows Provided by (Used in) Operating Activities:"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r2",
                    "r47",
                    "r50",
                    "r55",
                    "r59",
                    "r84",
                    "r92",
                    "r100",
                    "r103",
                    "r104",
                    "r105",
                    "r106",
                    "r109",
                    "r110",
                    "r115",
                    "r142",
                    "r148",
                    "r152",
                    "r155",
                    "r158",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r398",
                    "r408",
                    "r458",
                    "r473"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        },
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
                            "label":  "Net Income (Loss) Attributable to Parent",
                            "terseLabel":  "Net income",
                            "totalLabel":  "Net income",
                            "verboseLabel":  "Net income - basic and diluted"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting.  Includes, but is not limited to, quantification of the expected or actual impact.",
                            "label":  "New Accounting Pronouncements, Policy [Policy Text Block]",
                            "terseLabel":  "Recently Adopted and Issued Accounting Pronouncements"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r68"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate amount of income or expense from ancillary business-related activities (that is to say, excluding major activities considered part of the normal operations of the business).",
                            "label":  "Nonoperating Income (Expense)",
                            "totalLabel":  "Other expense, net",
                            "verboseLabel":  "Other expense, net"
                            }
                        }
                    },
                "localname":  "NonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NonoperatingIncomeExpenseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Nonoperating Income (Expense) [Abstract]",
                            "terseLabel":  "Other income (expense), net:"
                            }
                        }
                    },
                "localname":  "NonoperatingIncomeExpenseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    "r130"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of segments reported by the entity.  A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
                            "label":  "Number of Reportable Segments",
                            "terseLabel":  "Number of reportable segments"
                            }
                        }
                    },
                "localname":  "NumberOfReportableSegments",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBasisOfPresentationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_NumberOfReportingUnits":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of reporting units tested for impairment of goodwill.  A reporting unit is an operating segment or one level below an operating segment.",
                            "label":  "Number of Reporting Units",
                            "terseLabel":  "Number of reporting units"
                            }
                        }
                    },
                "localname":  "NumberOfReportingUnits",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OperatingExpenses":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Generally recurring costs associated with normal operations except for the portion of these expenses which can be clearly related to production and included in cost of sales or services.  Includes selling, general and administrative expense.",
                            "label":  "Operating Expenses",
                            "terseLabel":  "General corporate expense, net"
                            }
                        }
                    },
                "localname":  "OperatingExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    "r142",
                    "r148",
                    "r152",
                    "r155",
                    "r158"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net result for the period of deducting operating expenses from operating revenues.",
                            "label":  "Operating Income (Loss)",
                            "totalLabel":  "Operating profit",
                            "verboseLabel":  "Operating profit as, reported"
                            }
                        }
                    },
                "localname":  "OperatingIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityCurrent":  {
                "auth_ref":  [
                    "r427"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
                            "label":  "Operating Lease, Liability, Current",
                            "terseLabel":  "Short-term operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseLiabilityNoncurrent":  {
                "auth_ref":  [
                    "r427"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Present value of lessee's discounted obligation for lease payments from operating lease, classified as noncurrent.",
                            "label":  "Operating Lease, Liability, Noncurrent",
                            "terseLabel":  "Long-term operating lease liabilities"
                            }
                        }
                    },
                "localname":  "OperatingLeaseLiabilityNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeaseRightOfUseAsset":  {
                "auth_ref":  [
                    "r426"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of lessee's right to use underlying asset under operating lease.",
                            "label":  "Operating Lease, Right-of-Use Asset",
                            "terseLabel":  "Right of use assets"
                            }
                        }
                    },
                "localname":  "OperatingLeaseRightOfUseAsset",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingSegmentsMember":  {
                "auth_ref":  [
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r158"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identifies components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
                            "label":  "Operating Segment"
                            }
                        }
                    },
                "localname":  "OperatingSegmentsMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherAccruedLiabilitiesCurrent":  {
                "auth_ref":  [
                    "r33"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails":  {
                        "order":  8.0,
                        "parentTag":  "bld_AccruedLiabilitiesAndEmployeeRelatedLiabilitiesCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expenses incurred but not yet paid classified as other, due within one year or the normal operating cycle, if longer.",
                            "label":  "Other Accrued Liabilities, Current",
                            "terseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "OtherAccruedLiabilitiesCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsNoncurrent":  {
                "auth_ref":  [
                    "r11"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncurrent assets classified as other.",
                            "label":  "Other Assets, Noncurrent",
                            "terseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax":  {
                "auth_ref":  [
                    "r42",
                    "r44",
                    "r409",
                    "r410",
                    "r412"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax, before reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature.",
                            "label":  "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Gain (Loss) Arising During Period, Net of Tax",
                            "verboseLabel":  "Foreign currency translation adjustment"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r48",
                    "r51",
                    "r53",
                    "r54",
                    "r56",
                    "r60",
                    "r256",
                    "r413",
                    "r418",
                    "r419",
                    "r459",
                    "r474"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Other comprehensive income, net of tax"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Net of Tax [Abstract]",
                            "terseLabel":  "Other comprehensive loss:"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfComprehensiveIncome"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherLiabilitiesNoncurrent":  {
                "auth_ref":  [
                    "r38"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities classified as other, due after one year or the normal operating cycle, if longer.",
                            "label":  "Other Liabilities, Noncurrent",
                            "terseLabel":  "Other liabilities"
                            }
                        }
                    },
                "localname":  "OtherLiabilitiesNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNoncashInvestingAndFinancingItemsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Noncash Investing and Financing Items [Abstract]",
                            "terseLabel":  "Supplemental disclosure of noncash activities:"
                            }
                        }
                    },
                "localname":  "OtherNoncashInvestingAndFinancingItemsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r69"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NonoperatingIncomeExpense",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (expense) related to nonoperating activities, classified as other.",
                            "label":  "Other Nonoperating Income (Expense)",
                            "terseLabel":  "Other, net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherOperatingActivitiesCashFlowStatement":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  14.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Other cash or noncash adjustments to reconcile net income to cash provided by (used in) operating activities that are not separately disclosed in the statement of cash flows (for example, cash received or cash paid during the current period for miscellaneous operating activities, net change during the reporting period in other assets or other liabilities).",
                            "label":  "Other Operating Activities, Cash Flow Statement",
                            "terseLabel":  "Other, net"
                            }
                        }
                    },
                "localname":  "OtherOperatingActivitiesCashFlowStatement",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PayablesAndAccrualsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accrued Liabilities."
                            }
                        }
                    },
                "localname":  "PayablesAndAccrualsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities":  {
                "auth_ref":  [
                    "r78"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow, not made soon after acquisition date of business combination, to settle contingent consideration liability up to amount recognized at acquisition date, including, but not limited to, measurement period adjustment and less amount paid soon after acquisition date.",
                            "label":  "Payment for Contingent Consideration Liability, Financing Activities",
                            "negatedLabel":  "Payment of contingent consideration"
                            }
                        }
                    },
                "localname":  "PaymentForContingentConsiderationLiabilityFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfCommonStock":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire common stock during the period.",
                            "label":  "Payments for Repurchase of Common Stock",
                            "negatedLabel":  "Repurchase of shares of common stock"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDebtIssuanceCosts":  {
                "auth_ref":  [
                    "r77"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
                            "label":  "Payments of Debt Issuance Costs",
                            "negatedLabel":  "Payment of debt issuance costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfDebtIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow to satisfy grantee's tax withholding obligation for award under share-based payment arrangement.",
                            "label":  "Payments Related to Tax Withholding for Share-based Compensation",
                            "negatedLabel":  "Taxes withheld and paid on employees' equity awards"
                            }
                        }
                    },
                "localname":  "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesGross":  {
                "auth_ref":  [
                    "r71",
                    "r381"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of business during the period.  The cash portion only of the acquisition price.",
                            "label":  "Payments to Acquire Businesses, Gross",
                            "verboseLabel":  "Cash Paid"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired":  {
                "auth_ref":  [
                    "r71"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
                            "label":  "Payments to Acquire Businesses, Net of Cash Acquired",
                            "negatedTerseLabel":  "Acquisition of businesses, net of cash acquired"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesNetOfCashAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r72"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
                            "label":  "Payments to Acquire Property, Plant, and Equipment",
                            "negatedLabel":  "Purchases of property and equipment"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PlanNameAxis":  {
                "auth_ref":  [
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r325",
                    "r327",
                    "r328",
                    "r330",
                    "r331",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Axis]"
                            }
                        }
                    },
                "localname":  "PlanNameAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PlanNameDomain":  {
                "auth_ref":  [
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r325",
                    "r327",
                    "r328",
                    "r330",
                    "r331",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Domain]"
                            }
                        }
                    },
                "localname":  "PlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PreferredStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r16",
                    "r254"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
                            "label":  "Preferred Stock, Par or Stated Value Per Share",
                            "terseLabel":  "Preferred stock, par value (in dollars per share)"
                            }
                        }
                    },
                "localname":  "PreferredStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_PreferredStockSharesAuthorized":  {
                "auth_ref":  [
                    "r16"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Preferred Stock, Shares Authorized",
                            "terseLabel":  "Preferred stock, shares authorized"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesIssued":  {
                "auth_ref":  [
                    "r16",
                    "r254"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury).  May be all or portion of the number of preferred shares authorized.  Excludes preferred shares that are classified as debt.",
                            "label":  "Preferred Stock, Shares Issued",
                            "terseLabel":  "Preferred stock, shares, issued"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockSharesOutstanding":  {
                "auth_ref":  [
                    "r16"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate share number for all nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) held by stockholders.  Does not include preferred shares that have been repurchased.",
                            "label":  "Preferred Stock, Shares Outstanding",
                            "terseLabel":  "Preferred stock, shares, outstanding"
                            }
                        }
                    },
                "localname":  "PreferredStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_PreferredStockValue":  {
                "auth_ref":  [
                    "r16",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable preferred shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Preferred Stock, Value, Issued",
                            "terseLabel":  "Preferred stock, $0.01 par value: 10,000,000 shares authorized; 0 shares issued and outstanding"
                            }
                        }
                    },
                "localname":  "PreferredStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidExpenseAndOtherAssetsCurrent":  {
                "auth_ref":  [
                    "r27"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AssetsCurrent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of asset related to consideration paid in advance for costs that provide economic benefits in future periods, and amount of other assets that are expected to be realized or consumed within one year or the normal operating cycle, if longer.",
                            "label":  "Prepaid Expense and Other Assets, Current",
                            "terseLabel":  "Prepaid expenses and other current assets"
                            }
                        }
                    },
                "localname":  "PrepaidExpenseAndOtherAssetsCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfLongTermDebt":  {
                "auth_ref":  [
                    "r74"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from a debt initially having maturity due after one year or beyond the operating cycle, if longer.",
                            "label":  "Proceeds from Issuance of Long-term Debt",
                            "terseLabel":  "Proceeds from issuance of long-term debt"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfLongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromLinesOfCredit":  {
                "auth_ref":  [
                    "r74",
                    "r91"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
                            "label":  "Proceeds from Lines of Credit",
                            "terseLabel":  "Proceeds from revolving credit facility"
                            }
                        }
                    },
                "localname":  "ProceedsFromLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r70"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale.",
                            "label":  "Proceeds from Sale of Property, Plant, and Equipment",
                            "terseLabel":  "Proceeds from sale of property and equipment"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfPropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromStockOptionsExercised":  {
                "auth_ref":  [
                    "r73",
                    "r345"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow from exercise of option under share-based payment arrangement.",
                            "label":  "Proceeds from Stock Options Exercised",
                            "terseLabel":  "Exercise of stock options"
                            }
                        }
                    },
                "localname":  "ProceedsFromStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProfitLoss":  {
                "auth_ref":  [
                    "r2",
                    "r47",
                    "r50",
                    "r55",
                    "r79",
                    "r92",
                    "r100",
                    "r109",
                    "r110",
                    "r142",
                    "r148",
                    "r152",
                    "r155",
                    "r158",
                    "r170",
                    "r211",
                    "r212",
                    "r213",
                    "r216",
                    "r217",
                    "r218",
                    "r220",
                    "r222",
                    "r224",
                    "r225",
                    "r384",
                    "r387",
                    "r388",
                    "r392",
                    "r393",
                    "r398",
                    "r408",
                    "r463"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The consolidated profit or loss for the period, net of income taxes, including the portion attributable to the noncontrolling interest.",
                            "label":  "Net Income (Loss), Including Portion Attributable to Noncontrolling Interest",
                            "terseLabel":  "Net income"
                            }
                        }
                    },
                "localname":  "ProfitLoss",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization":  {
                "auth_ref":  [
                    "r195",
                    "r428"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated depreciation and amortization, of property, plant, and equipment and finance lease right-of-use asset.",
                            "label":  "Property, Plant, and Equipment and Finance Lease Right-of-Use Asset, after Accumulated Depreciation and Amortization",
                            "terseLabel":  "Property and equipment, net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProvisionForDoubtfulAccounts":  {
                "auth_ref":  [
                    "r63",
                    "r173"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense (reversal of expense) for expected credit loss on accounts receivable.",
                            "label":  "Provision for Doubtful Accounts",
                            "terseLabel":  "Provision for bad debt expense"
                            }
                        }
                    },
                "localname":  "ProvisionForDoubtfulAccounts",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RepaymentsOfLinesOfCredit":  {
                "auth_ref":  [
                    "r76",
                    "r91"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
                            "label":  "Repayments of Lines of Credit",
                            "negatedLabel":  "Repayment of revolving credit facility"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RepaymentsOfLongTermDebt":  {
                "auth_ref":  [
                    "r76"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer.",
                            "label":  "Repayments of Long-term Debt",
                            "negatedLabel":  "Repayment of long-term debt"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedStockMember":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock including a provision that prohibits sale or substantive sale of an equity instrument for a specified period of time or until specified performance conditions are met.",
                            "label":  "Restricted Stock Awards"
                            }
                        }
                    },
                "localname":  "RestrictedStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r20",
                    "r261",
                    "r434",
                    "r470",
                    "r487",
                    "r489"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings (Accumulated Deficit)",
                            "terseLabel":  "Retained earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    "r0",
                    "r97",
                    "r98",
                    "r99",
                    "r101",
                    "r108",
                    "r110",
                    "r171",
                    "r346",
                    "r347",
                    "r348",
                    "r360",
                    "r361",
                    "r396",
                    "r484",
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings"
                            }
                        }
                    },
                "localname":  "RetainedEarningsMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Revenue Recognition"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r147",
                    "r153",
                    "r154",
                    "r161",
                    "r162",
                    "r164",
                    "r278",
                    "r279",
                    "r447"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_GrossProfit",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
                            "label":  "Revenues",
                            "terseLabel":  "Net sales"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerTextBlock":  {
                "auth_ref":  [
                    "r269",
                    "r270",
                    "r271",
                    "r272",
                    "r273",
                    "r274",
                    "r276",
                    "r277",
                    "r281",
                    "r289"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset.  Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer.  Excludes insurance and lease contracts.",
                            "label":  "Revenue from Contract with Customer [Text Block]",
                            "terseLabel":  "Revenue Recognition"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognition"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenuePerformanceObligationSatisfiedOverTimeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Revenue, Performance Obligation Satisfied over Time [Abstract]",
                            "terseLabel":  "Uncompleted Performance Obligations"
                            }
                        }
                    },
                "localname":  "RevenuePerformanceObligationSatisfiedOverTimeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligation":  {
                "auth_ref":  [
                    "r275"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of transaction price allocated to performance obligation that has not been recognized as revenue.",
                            "label":  "Revenue, Remaining Performance Obligation, Amount",
                            "terseLabel":  "Amount remaining on uncompleted performance obligations"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation":  {
                "auth_ref":  [
                    "r276"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Description of when remaining performance obligation is expected to be recognized as revenue.",
                            "label":  "Revenue, Remaining Performance Obligation, Expected Timing of Satisfaction, Explanation",
                            "terseLabel":  "Expected timing of satisfaction of performance obligations"
                            }
                        }
                    },
                "localname":  "RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionExplanation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
                            "label":  "Revolving Facility"
                            }
                        }
                    },
                "localname":  "RevolvingCreditFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability":  {
                "auth_ref":  [
                    "r429",
                    "r430"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in right-of-use asset obtained in exchange for operating lease liability.",
                            "label":  "Right-of-Use Asset Obtained in Exchange for Operating Lease Liability",
                            "terseLabel":  "Leased assets obtained in exchange for new operating lease liabilities"
                            }
                        }
                    },
                "localname":  "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ScheduleOfAccruedLiabilitiesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the components of accrued liabilities.",
                            "label":  "Schedule of Accrued Liabilities [Table Text Block]",
                            "terseLabel":  "Schedule of components of accrued liabilities"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccruedLiabilitiesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccruedLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
                            "label":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareAntiDilutiveCommonStockEquivalentsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r119"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
                            "label":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
                            "terseLabel":  "Summary of shares excluded from the calculation of diluted income per share because their effect would have been anti-dilutive"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable":  {
                "auth_ref":  [
                    "r371",
                    "r372",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities.",
                            "label":  "Schedule of Business Acquisitions, by Acquisition [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails",
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock":  {
                "auth_ref":  [
                    "r371",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities.  This table does not include leveraged buyouts.",
                            "label":  "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
                            "verboseLabel":  "Summary of businesses acquired"
                            }
                        }
                    },
                "localname":  "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfDebtTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
                            "label":  "Schedule of Debt [Table Text Block]",
                            "terseLabel":  "Reconciliation of principal balance of outstanding debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r118"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
                            "label":  "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
                            "terseLabel":  "Schedule of basic and diluted income per share"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable":  {
                "auth_ref":  [
                    "r338",
                    "r349"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about amount recognized for award under share-based payment arrangement.  Includes, but is not limited to, amount expensed in statement of income or comprehensive income, amount capitalized in statement of financial position, and corresponding reporting line item in financial statements.",
                            "label":  "Schedule of Employee Service Share-based Compensation, Allocation of Recognized Period Costs [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfGoodwillTable":  {
                "auth_ref":  [
                    "r177",
                    "r178",
                    "r179",
                    "r180",
                    "r181",
                    "r182",
                    "r183",
                    "r184",
                    "r185",
                    "r186",
                    "r187",
                    "r188"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of goodwill and the changes during the year due to acquisition, sale, impairment or for other reasons.",
                            "label":  "Schedule of Goodwill [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfGoodwillTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfGoodwillTextBlock":  {
                "auth_ref":  [
                    "r177",
                    "r178",
                    "r179",
                    "r180",
                    "r181",
                    "r182",
                    "r183",
                    "r184",
                    "r185",
                    "r186",
                    "r187",
                    "r188"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of goodwill by reportable segment and in total which includes a rollforward schedule.",
                            "label":  "Schedule of Goodwill [Table Text Block]",
                            "terseLabel":  "Changes in the carrying amount of goodwill by segment"
                            }
                        }
                    },
                "localname":  "ScheduleOfGoodwillTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock":  {
                "auth_ref":  [
                    "r209"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
                            "label":  "Schedule of Maturities of Long-term Debt [Table Text Block]",
                            "verboseLabel":  "Schedule of remaining principal payments of debt"
                            }
                        }
                    },
                "localname":  "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock":  {
                "auth_ref":  [
                    "r102",
                    "r105",
                    "r125",
                    "r126"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of changes in accounting principles, including adoption of new accounting pronouncements, that describes the new methods, amount and effects on financial statement line items.",
                            "label":  "Schedule of New Accounting Pronouncements and Changes in Accounting Principles [Table Text Block]",
                            "terseLabel":  "Summary of additional ASUs adopted in fiscal year"
                            }
                        }
                    },
                "localname":  "ScheduleOfNewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccountingPoliciesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock":  {
                "auth_ref":  [
                    "r375"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed.  May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree.",
                            "label":  "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
                            "terseLabel":  "Schedule of fair value of assets and liabilities assumed"
                            }
                        }
                    },
                "localname":  "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable":  {
                "auth_ref":  [
                    "r142",
                    "r145",
                    "r151",
                    "r185"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table disclosing the profit or loss and total assets for each reportable segment of the entity.  An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
                            "label":  "Schedule of Segment Reporting Information, by Segment [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock":  {
                "auth_ref":  [
                    "r142",
                    "r145",
                    "r151",
                    "r185"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the profit or loss and total assets for each reportable segment.  An entity discloses certain information on each reportable segment if the amounts (a) are included in the measure of segment profit or loss reviewed by the chief operating decision maker or (b) are otherwise regularly provided to the chief operating decision maker, even if not included in that measure of segment profit or loss.",
                            "label":  "Schedule of Segment Reporting Information, by Segment [Table Text Block]",
                            "terseLabel":  "Schedule of net sales and operating results by segment"
                            }
                        }
                    },
                "localname":  "ScheduleOfSegmentReportingInformationBySegmentTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationActivityTableTextBlock":  {
                "auth_ref":  [
                    "r319",
                    "r326",
                    "r329"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of activity for award under share-based payment arrangement.  Includes, but is not limited to, outstanding award at beginning and end of year, granted, exercised, forfeited, and weighted-average grant date fair value.",
                            "label":  "Schedule of Share-based Compensation, Activity [Table Text Block]",
                            "terseLabel":  "Schedule of share-based compensation activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable":  {
                "auth_ref":  [
                    "r304",
                    "r306",
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r325",
                    "r327",
                    "r328",
                    "r330",
                    "r331",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about share-based payment arrangement.",
                            "label":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock":  {
                "auth_ref":  [
                    "r332"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the significant assumptions used during the year to estimate the fair value of stock options, including, but not limited to: (a) expected term of share options and similar instruments, (b) expected volatility of the entity's shares, (c) expected dividends, (d) risk-free rate(s), and (e) discount for post-vesting restrictions.",
                            "label":  "Schedule of Share-based Payment Award, Stock Options, Valuation Assumptions [Table Text Block]",
                            "terseLabel":  "Schedule of assumptions used to estimate the fair values of options granted"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SecuredDebtMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Collateralized debt obligation backed by, for example, but not limited to, pledge, mortgage or other lien on the entity's assets.",
                            "label":  "Term Loan Facility"
                            }
                        }
                    },
                "localname":  "SecuredDebtMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtReconciliationDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtScheduleOfDebtMaturityDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtSeniorNotesAndEquipmentNotesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SegmentDomain":  {
                "auth_ref":  [
                    "r129",
                    "r133",
                    "r134",
                    "r135",
                    "r136",
                    "r137",
                    "r138",
                    "r139",
                    "r140",
                    "r141",
                    "r142",
                    "r143",
                    "r144",
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r153",
                    "r154",
                    "r155",
                    "r156",
                    "r158",
                    "r164",
                    "r177",
                    "r178",
                    "r179",
                    "r180",
                    "r181",
                    "r182",
                    "r183",
                    "r184",
                    "r185",
                    "r188",
                    "r198",
                    "r199",
                    "r479"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of an entity that engage in business activities from which they may earn revenue and incur expenses, including transactions with other components of the same entity.",
                            "label":  "Segments [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SegmentReportingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Segment Information"
                            }
                        }
                    },
                "localname":  "SegmentReportingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SegmentReportingDisclosureTextBlock":  {
                "auth_ref":  [
                    "r129",
                    "r131",
                    "r132",
                    "r142",
                    "r146",
                    "r152",
                    "r156",
                    "r157",
                    "r158",
                    "r159",
                    "r161",
                    "r163",
                    "r164",
                    "r165"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for reporting segments including data and tables.  Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
                            "label":  "Segment Reporting Disclosure [Text Block]",
                            "terseLabel":  "Segment Information"
                            }
                        }
                    },
                "localname":  "SegmentReportingDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SegmentReportingInformationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Segment Reporting Information [Line Items]",
                            "terseLabel":  "Segment information"
                            }
                        }
                    },
                "localname":  "SegmentReportingInformationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SellingGeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r67"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate total costs related to selling a firm's product and services, as well as all other general and administrative expenses.  Direct selling expenses (for example, credit, warranty, and advertising) are expenses that can be directly linked to the sale of specific products.  Indirect selling expenses are expenses that cannot be directly linked to the sale of specific products, for example telephone expenses, Internet, and postal charges.  General and administrative expenses include salaries of non-sales personnel, rent, utilities, communication, etc.",
                            "label":  "Selling, General and Administrative Expense",
                            "terseLabel":  "Selling, general, and administrative expense"
                            }
                        }
                    },
                "localname":  "SellingGeneralAndAdministrativeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SeniorNotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Bond that takes priority over other debt securities sold by the issuer.  In the event the issuer goes bankrupt, senior debt holders receive priority for (must receive) repayment prior to (relative to) junior and unsecured (general) creditors.",
                            "label":  "Senior Notes"
                            }
                        }
                    },
                "localname":  "SeniorNotesMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtOtherDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember":  {
                "auth_ref":  [
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the aggregation and reporting of combined amounts of individually immaterial business combinations that were completed during the period.",
                            "label":  "All others"
                            }
                        }
                    },
                "localname":  "SeriesOfIndividuallyImmaterialBusinessAcquisitionsMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureBusinessCombinationsSummaryDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r82"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncash expense for share-based payment arrangement.",
                            "label":  "Share-based Compensation",
                            "terseLabel":  "Share-based compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfCashFlows"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Additional Disclosures [Abstract]",
                            "terseLabel":  "Restricted stock awards, additional disclosures"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod":  {
                "auth_ref":  [
                    "r323"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
                            "terseLabel":  "Granted (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r323"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Granted (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber":  {
                "auth_ref":  [
                    "r320",
                    "r321"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
                            "periodEndLabel":  "Balance at end of period (in shares)",
                            "periodStartLabel":  "Balance at beginning of period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]",
                            "terseLabel":  "Restricted Stock Awards, Number of Shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r320",
                    "r321"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
                            "periodEndLabel":  "Balance at end of period (in dollars per share)",
                            "periodStartLabel":  "Balance at beginning of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
                            "terseLabel":  "Restricted Stock Awards, Weighted Average Grant Date Fair Value Per Share"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions and Methodology [Abstract]",
                            "terseLabel":  "Assumptions used to estimate the fair values of the awards granted:"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsAndMethodologyAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate":  {
                "auth_ref":  [
                    "r335"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Dividend Rate",
                            "terseLabel":  "Dividend yield (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate":  {
                "auth_ref":  [
                    "r334"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The estimated measure of the percentage by which a share price is expected to fluctuate during a period.  Volatility also may be defined as a probability-weighted measure of the dispersion of returns about the mean.  The volatility of a share price is the standard deviation of the continuously compounded rates of return on the share over a specified period.  That is the same as the standard deviation of the differences in the natural logarithms of the stock prices plus dividends, if any, over the period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Volatility Rate",
                            "terseLabel":  "Expected volatility using historical return volatility and implied volatility (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate":  {
                "auth_ref":  [
                    "r336"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The risk-free interest rate assumption that is used in valuing an option on its own shares.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Risk Free Interest Rate",
                            "terseLabel":  "Risk free interest rate (as a percent)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
                            "terseLabel":  "Share-Based Compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized":  {
                "auth_ref":  [
                    "r310"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares authorized for issuance under share-based payment arrangement.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized",
                            "terseLabel":  "Number of shares authorized"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationExpenseDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]",
                            "terseLabel":  "Stock options, additional disclosures"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber":  {
                "auth_ref":  [
                    "r313"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
                            "terseLabel":  "Exercisable, Number of shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r313"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
                            "terseLabel":  "Exercisable Weighted Average Exercise Price Per Share"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue":  {
                "auth_ref":  [
                    "r328"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value",
                            "terseLabel":  "Converted/Exercised aggregate intrinsic value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod":  {
                "auth_ref":  [
                    "r314"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For presentations that combine terminations, the number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan or that expired.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period",
                            "negatedLabel":  "Forfeited/Expired (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r314"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price of options that were either forfeited or expired.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Forfeited/Expired (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue":  {
                "auth_ref":  [
                    "r344"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
                            "terseLabel":  "Aggregate intrinsic value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber":  {
                "auth_ref":  [
                    "r311",
                    "r312"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of options outstanding, including both vested and non-vested options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
                            "periodEndLabel":  "Balance at end of period (in shares)",
                            "periodStartLabel":  "Balance at beginning of period (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]",
                            "terseLabel":  "Stock Options, Number of Shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r311",
                    "r312"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
                            "periodEndLabel":  "Balance at end of period (in dollars per share)",
                            "periodStartLabel":  "Balance at beginning of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
                            "terseLabel":  "Stock Options, Weighted Average Exercise Price Per Share"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r308",
                    "r309",
                    "r310",
                    "r311",
                    "r312",
                    "r313",
                    "r314",
                    "r315",
                    "r316",
                    "r317",
                    "r318",
                    "r320",
                    "r321",
                    "r322",
                    "r323",
                    "r324",
                    "r325",
                    "r327",
                    "r328",
                    "r330",
                    "r331",
                    "r333",
                    "r334",
                    "r335",
                    "r336",
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Equity Award [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationTables"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r316"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Converted/Exercised (in dollars per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareRepurchaseProgramAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by share repurchase program.",
                            "label":  "Share Repurchase Program [Axis]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareRepurchaseProgramDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the share repurchase program.",
                            "label":  "Share Repurchase Program [Domain]"
                            }
                        }
                    },
                "localname":  "ShareRepurchaseProgramDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1":  {
                "auth_ref":  [
                    "r333"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Expected term of award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Fair Value Assumptions, Expected Term",
                            "terseLabel":  "Expected life (in years)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1":  {
                "auth_ref":  [
                    "r344"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
                            "terseLabel":  "Exercisable, Aggregate Intrinsic Value"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average grant-date fair value of non-vested options outstanding.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Weighted Average Grant Date Fair Value",
                            "periodEndLabel":  "Balance at end of period (in dollars per share)",
                            "periodStartLabel":  "Balance at beginning of period (in dollars per share)"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
                            "terseLabel":  "Stock Options, Weighted Average Grant Date Fair Value Per Share"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedWeightedAverageGrantDateFairValueAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1":  {
                "auth_ref":  [
                    "r331"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for fully vested and expected to vest exercisable or convertible options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted average remaining contractual term for vested stock options"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares used to settle grantee's tax withholding obligation for award under share-based payment arrangement.",
                            "label":  "Shares Paid for Tax Withholding for Share Based Compensation",
                            "terseLabel":  "Number of shares withheld to pay taxes on employees' equity awards (in shares)"
                            }
                        }
                    },
                "localname":  "SharesPaidForTaxWithholdingForShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShortTermDebtTypeAxis":  {
                "auth_ref":  [
                    "r30"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of short-term debt arrangement.",
                            "label":  "Short-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "ShortTermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShortTermDebtTypeDomain":  {
                "auth_ref":  [
                    "r28"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of short-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.",
                            "label":  "Short-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "ShortTermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails",
                    "http://www.topbuild.com/role/DisclosureLongTermDebtRevolvingFacilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SignificantAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r90",
                    "r96"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for all significant accounting policies of the reporting entity.",
                            "label":  "Significant Accounting Policies [Text Block]",
                            "terseLabel":  "Accounting Policies"
                            }
                        }
                    },
                "localname":  "SignificantAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_StatementBusinessSegmentsAxis":  {
                "auth_ref":  [
                    "r1",
                    "r129",
                    "r133",
                    "r134",
                    "r135",
                    "r136",
                    "r137",
                    "r138",
                    "r139",
                    "r140",
                    "r141",
                    "r142",
                    "r143",
                    "r144",
                    "r147",
                    "r148",
                    "r149",
                    "r150",
                    "r152",
                    "r153",
                    "r154",
                    "r155",
                    "r156",
                    "r158",
                    "r164",
                    "r177",
                    "r178",
                    "r179",
                    "r180",
                    "r181",
                    "r182",
                    "r183",
                    "r184",
                    "r185",
                    "r188",
                    "r196",
                    "r198",
                    "r199",
                    "r479"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business segments.",
                            "label":  "Segments [Axis]"
                            }
                        }
                    },
                "localname":  "StatementBusinessSegmentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureGoodwillAndOtherIntangiblesGoodwillDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionDisaggregationDetails",
                    "http://www.topbuild.com/role/DisclosureSegmentInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r0",
                    "r40",
                    "r53",
                    "r54",
                    "r55",
                    "r97",
                    "r98",
                    "r99",
                    "r101",
                    "r108",
                    "r110",
                    "r127",
                    "r171",
                    "r256",
                    "r261",
                    "r346",
                    "r347",
                    "r348",
                    "r360",
                    "r361",
                    "r396",
                    "r413",
                    "r414",
                    "r415",
                    "r416",
                    "r417",
                    "r419",
                    "r431",
                    "r484",
                    "r485",
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Line items represent financial concepts included in a table.  These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
                            "label":  "Statement [Line Items]",
                            "terseLabel":  "Statement"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED BALANCE SHEETS"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfIncomeAndComprehensiveIncomeAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME"
                            }
                        }
                    },
                "localname":  "StatementOfIncomeAndComprehensiveIncomeAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN EQUITY"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    "r97",
                    "r98",
                    "r99",
                    "r127",
                    "r447"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
                            "label":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/DisclosureRevenueRecognitionOtherDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross":  {
                "auth_ref":  [
                    "r256",
                    "r261"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.",
                            "label":  "Stock Issued During Period, Shares, Restricted Stock Award, Gross",
                            "terseLabel":  "Issuance of restricted share awards under long-term equity incentive plan (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised":  {
                "auth_ref":  [
                    "r16",
                    "r17",
                    "r256",
                    "r261",
                    "r316"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of share options (or share units) exercised during the current period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
                            "negatedLabel":  "Converted/Exercised (in shares)",
                            "terseLabel":  "Shares issued upon exercise of stock options (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareBasedCompensationActivityDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquityParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross":  {
                "auth_ref":  [
                    "r16",
                    "r17",
                    "r256",
                    "r261"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate value of stock related to Restricted Stock Awards issued during the period.",
                            "label":  "Stock Issued During Period, Value, Restricted Stock Award, Gross",
                            "terseLabel":  "Issuance of restricted share awards under long-term equity incentive plan"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised":  {
                "auth_ref":  [
                    "r40",
                    "r256",
                    "r261"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of stock issued as a result of the exercise of stock options.",
                            "label":  "Stock Issued During Period, Value, Stock Options Exercised",
                            "terseLabel":  "Shares issued upon exercise of stock options"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramAuthorizedAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Authorized Amount",
                            "terseLabel":  "Share repurchase program, authorized amount"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramAuthorizedAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount remaining of a stock repurchase plan authorized.",
                            "label":  "Stock Repurchase Program, Remaining Authorized Repurchase Amount",
                            "terseLabel":  "Amount remaining under repurchase program"
                            }
                        }
                    },
                "localname":  "StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r17",
                    "r22",
                    "r23",
                    "r92",
                    "r169",
                    "r170",
                    "r408",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent.  The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).  This excludes temporary equity and is sometimes called permanent equity.",
                            "label":  "Stockholders' Equity Attributable to Parent",
                            "periodEndLabel":  "Balance",
                            "periodStartLabel":  "Balance",
                            "totalLabel":  "Total equity"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "Equity:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TreasuryStockAcquiredAverageCostPerShare":  {
                "auth_ref":  [
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total cost of shares repurchased divided by the total number of shares repurchased.",
                            "label":  "Treasury Stock Acquired, Average Cost Per Share",
                            "terseLabel":  "Average price per share (in dollars per share)"
                            }
                        }
                    },
                "localname":  "TreasuryStockAcquiredAverageCostPerShare",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_TreasuryStockCommonMember":  {
                "auth_ref":  [
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Previously issued common shares repurchased by the issuing entity and held in treasury.",
                            "label":  "Treasury Stock at Cost"
                            }
                        }
                    },
                "localname":  "TreasuryStockCommonMember",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfChangesInEquity"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_TreasuryStockCommonShares":  {
                "auth_ref":  [
                    "r262"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of previously issued common shares repurchased by the issuing entity and held in treasury.",
                            "label":  "Treasury Stock, Shares",
                            "terseLabel":  "Treasury stock, shares at cost"
                            }
                        }
                    },
                "localname":  "TreasuryStockCommonShares",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheetsParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TreasuryStockCommonValue":  {
                "auth_ref":  [
                    "r41",
                    "r262",
                    "r265"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount allocated to previously issued common shares repurchased by the issuing entity and held in treasury.",
                            "label":  "Treasury Stock, Value",
                            "negatedLabel":  "Treasury stock, 7,351,459 shares at September 30, 2022, and 6,237,839 shares at December 31, 2021, at cost"
                            }
                        }
                    },
                "localname":  "TreasuryStockCommonValue",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedBalanceSheets"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TreasuryStockSharesAcquired":  {
                "auth_ref":  [
                    "r17",
                    "r256",
                    "r261"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period and are being held in treasury.",
                            "label":  "Treasury Stock, Shares, Acquired",
                            "terseLabel":  "Number of shares repurchased (in shares)"
                            }
                        }
                    },
                "localname":  "TreasuryStockSharesAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TreasuryStockValueAcquiredCostMethod":  {
                "auth_ref":  [
                    "r256",
                    "r261",
                    "r262"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the cost of common and preferred stock that were repurchased during the period.  Recorded using the cost method.",
                            "label":  "Treasury Stock, Value, Acquired, Cost Method",
                            "terseLabel":  "Share repurchase cost"
                            }
                        }
                    },
                "localname":  "TreasuryStockValueAcquiredCostMethod",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureShareRepurchaseProgramDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureLongTermDebtKeyTermsOfCreditAgreementDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Incremental Weighted Average Shares Attributable to Dilutive Effect [Abstract]",
                            "terseLabel":  "Dilutive effect of common stock equivalents:"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberDilutedSharesOutstandingAdjustmentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r113",
                    "r118"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "terseLabel":  "Diluted",
                            "totalLabel":  "Weighted average number of common shares outstanding - diluted"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r112",
                    "r118"
                    ],
                "calculation":  {
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Basic",
                            "terseLabel":  "Basic",
                            "verboseLabel":  "Weighted average number of common shares outstanding - basic"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2022",
                "presentation":  [
                    "http://www.topbuild.com/role/DisclosureNetIncomePerShareCalculationDetails",
                    "http://www.topbuild.com/role/StatementCondensedConsolidatedStatementsOfOperations"
                    ],
                "xbrltype":  "sharesItemType"
                }
            },
        "unitCount":  6
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "105",
        "URI":  "https://asc.fasb.org/extlink&oid=126987489&loc=SL124442142-165695"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "205",
        "URI":  "https://asc.fasb.org/extlink&oid=109222650&loc=d3e1361-107760"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(16))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(17))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.M.Q2)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1448-109256"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1505-109256"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1252-109256"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=126958026&loc=d3e1337-109256"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(18))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=128363288&loc=d3e3842-109258"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/extlink&oid=128363288&loc=d3e4984-109258"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "https://asc.fasb.org/topic&trid=2144383"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "270",
        "URI":  "https://asc.fasb.org/extlink&oid=126900757&loc=d3e725-108305"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "270",
        "URI":  "https://asc.fasb.org/extlink&oid=126900757&loc=d3e765-108305"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "https://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "275",
        "URI":  "https://asc.fasb.org/topic&trid=2134479"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8657-108599"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8672-108599"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8721-108599"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(20))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(j)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8813-108599"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "26",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8844-108599"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "34",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8981-108599"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8475-108599"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9031-108599"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/extlink&oid=126901519&loc=d3e9054-108599"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "280",
        "URI":  "https://asc.fasb.org/topic&trid=2134510"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "https://asc.fasb.org/extlink&oid=124259787&loc=d3e4531-111522"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "https://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "323",
        "URI":  "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "https://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "330",
        "URI":  "https://asc.fasb.org/extlink&oid=116847112&loc=d3e4542-108314"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(3)(c)(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=SL108378252-109267"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=122137925&loc=d3e14258-109268"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "((a)(1),(b))",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(1)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)(2)",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "350",
        "URI":  "https://asc.fasb.org/topic&trid=2144416"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "360",
        "URI":  "https://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "410",
        "URI":  "https://asc.fasb.org/extlink&oid=6393242&loc=d3e13237-110859"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "420",
        "URI":  "https://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 5.P.4(d))",
        "Topic":  "420",
        "URI":  "https://asc.fasb.org/extlink&oid=115931487&loc=d3e140904-122747"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "205",
        "URI":  "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "https://asc.fasb.org/topic&trid=2144648"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14435-108349"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=121557415&loc=d3e14557-108349"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Subparagraph":  "(SAB Topic 5.Y.Q2)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "20",
        "Subparagraph":  "(SAB Topic 5.Y.Q4)",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/extlink&oid=27011672&loc=d3e149879-122751"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "https://asc.fasb.org/topic&trid=2127136"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(4))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(i))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(ii))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii)(B))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iii))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-01(a)(5))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(i))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(A)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(A))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(B)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(B))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iii)(C))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(4)(iv))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.13-02(a)(5))",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1F",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1I",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69B",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69C",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69E",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(4))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "69F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "40",
        "SubTopic":  "50",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "40",
        "SubTopic":  "50",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "https://asc.fasb.org/topic&trid=2208564"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=SL123496158-112644"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21475-112644"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21506-112644"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21521-112644"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(6))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=126973232&loc=d3e21538-112644"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23285-112656"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23309-112656"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "505",
        "URI":  "https://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130531-203044"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130532-203044"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126919976&loc=SL49130533-203044"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130551-203045"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(9))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130554-203045"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130556-203045"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130558-203045"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130543-203045"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130545-203045"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(a))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130549-203045"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920106&loc=SL49130550-203045"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/extlink&oid=126920602&loc=SL49130690-203046-203046"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "606",
        "URI":  "https://asc.fasb.org/topic&trid=49130388"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(i)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(A)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(B)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(C)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(03)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "205",
        "URI":  "https://asc.fasb.org/topic&trid=2122149"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(d)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(f)(3)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "https://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1D",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126961718&loc=SL116886442-113899"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4534-113899"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126961718&loc=d3e4549-113899"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19,20)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(01)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(02)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(03)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(04)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(01)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(02)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(03)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.20)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(ii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iii)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(iv)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)(v)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.21)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(2)(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(l)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(1)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=128097895&loc=SL121327923-165333"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11149-113907"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/extlink&oid=126964447&loc=d3e11178-113907"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "https://asc.fasb.org/topic&trid=2228938"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(2))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=126983759&loc=SL121830611-158277"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.5.Q1)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.7)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.C)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "270",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "https://asc.fasb.org/topic&trid=2144680"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=123586518&loc=d3e961-128460"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "37",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4845-128472"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=128092470&loc=d3e4946-128472"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6578-128477"
        },
    "r379":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "30",
        "SubTopic":  "30",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=126966197&loc=d3e6613-128477"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.24)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r380":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
        },
    "r381":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(1)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
        },
    "r382":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/extlink&oid=126975305&loc=d3e6927-128479"
        },
    "r383":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "805",
        "URI":  "https://asc.fasb.org/topic&trid=2303972"
        },
    "r384":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=126929396&loc=SL4569616-111683"
        },
    "r385":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r386":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r388":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.25)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r391":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4J",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591551-111686"
        },
    "r393":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4K",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "https://asc.fasb.org/extlink&oid=120409616&loc=SL4591552-111686"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
        },
    "r395":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
        },
    "r396":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(3)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r397":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)(4)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r398":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)",
        "Topic":  "815",
        "URI":  "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
        },
    "r399":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r400":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r401":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r402":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r403":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r404":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19207-110258"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=d3e19279-110258"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "https://asc.fasb.org/extlink&oid=126976982&loc=SL6742756-110258"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "https://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "825",
        "URI":  "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
        },
    "r409":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=126980362&loc=d3e28129-110885"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.30)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "20",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=123602790&loc=d3e30304-110892"
        },
    "r411":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
        },
    "r412":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32022-110900"
        },
    "r413":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
        },
    "r414":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r415":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r416":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r417":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r418":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r419":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "https://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a-c)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
        },
    "r420":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
        },
    "r421":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
        },
    "r422":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
        },
    "r423":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
        },
    "r424":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
        },
    "r425":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r426":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r427":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
        },
    "r428":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
        },
    "r429":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(g)(2)",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=128292326&loc=SL77918686-209980"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580"
        },
    "r430":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "53",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "842",
        "URI":  "https://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
        },
    "r431":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(3)(iii)(03)",
        "Topic":  "848",
        "URI":  "https://asc.fasb.org/extlink&oid=125980421&loc=SL125981372-237846"
        },
    "r432":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r433":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
        },
    "r434":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "852",
        "URI":  "https://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
        },
    "r435":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "https://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
        },
    "r436":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r437":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r438":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r439":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580"
        },
    "r440":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r441":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r442":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r443":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r444":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r445":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "910",
        "URI":  "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991595-234733"
        },
    "r446":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "910",
        "URI":  "https://asc.fasb.org/extlink&oid=126937589&loc=SL119991598-234733"
        },
    "r447":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.L)",
        "Topic":  "924",
        "URI":  "https://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
        },
    "r448":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "926",
        "URI":  "https://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
        },
    "r449":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "340",
        "Topic":  "928",
        "URI":  "https://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e681-108580"
        },
    "r450":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "940",
        "URI":  "https://asc.fasb.org/extlink&oid=126941158&loc=d3e41242-110953"
        },
    "r451":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(10)(1))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r452":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r453":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(13))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r454":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r455":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r456":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.17)",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878"
        },
    "r457":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(15))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r458":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(22))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r459":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(23))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669686-108580"
        },
    "r460":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(26))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r461":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(27))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r462":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.9)",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r463":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "235",
        "Subparagraph":  "(SX 210.9-05(b)(2))",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
        },
    "r464":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Subparagraph":  "e",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
        },
    "r465":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
        },
    "r466":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(16))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r467":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r468":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r469":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(3))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
        },
    "r470":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r471":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r472":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.(a),19)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910"
        },
    "r473":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(18))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r474":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(19))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r475":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(22))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r476":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(23))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r477":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(8))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r478":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(9))",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r479":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4H",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
        },
    "r480":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(d)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
        },
    "r481":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
        },
    "r482":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(c)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126561865&loc=SL117783719-158441"
        },
    "r483":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=126561865&loc=SL117819544-158441"
        },
    "r484":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r485":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(1)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r486":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(2)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r487":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(i)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r488":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(ii)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r489":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(h)(2)",
        "Topic":  "944",
        "URI":  "https://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
        },
    "r490":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "440",
        "Subparagraph":  "(a)",
        "Topic":  "954",
        "URI":  "https://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
        },
    "r491":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(c)",
        "Topic":  "976",
        "URI":  "https://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
        },
    "r492":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "310",
        "Subparagraph":  "(b)",
        "Topic":  "978",
        "URI":  "https://asc.fasb.org/extlink&oid=126945304&loc=d3e27327-108691"
        },
    "r493":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r494":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r495":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r496":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "308",
        "Subsection":  "a"
        },
    "r497":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1"
        },
    "r498":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126968391&loc=d3e557-108580"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(210.5-03(11))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(10))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(20))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(21))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(24))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(25))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(5))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(8))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.1,2)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.2(a),(d))",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.7)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.9)",
        "Topic":  "220",
        "URI":  "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=124098289&loc=d3e6904-107765"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3179-108585"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3213-108585"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3000-108585"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(1))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3521-108585"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3536-108585"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3044-108585"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4304-108586"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4313-108586"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=d3e4332-108586"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "https://asc.fasb.org/extlink&oid=126999549&loc=SL98516268-108586"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(15))",
        "Topic":  "210",
        "URI":  "https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=126899994&loc=d3e18726-107790"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(f))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(g)(1)(ii))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h)(2))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04(a))",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "https://asc.fasb.org/topic&trid=2122369"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "https://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
        }
    },
"version":  "2.1"
}


1 Previous Filing that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 2/23/21  TopBuild Corp.                    10-K       12/31/20   93:14M                                    Toppan Merrill Bridge/FA
Top
Filing Submission 0001558370-22-015789   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Tue., Apr. 30, 8:50:30.4pm ET