<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>227</ContextCount>
  <ElementCount>293</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>74</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Document and Entity Information Document</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DocumentandEntityInformationDocument</Role>
      <ShortName>Document and Entity Information Document</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Consolidated Balance Sheet Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedBalanceSheetStatement</Role>
      <ShortName>Consolidated Balance Sheet Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - Consolidated Balance Sheet Parentheticals</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedBalanceSheetParentheticals</Role>
      <ShortName>Consolidated Balance Sheet Parentheticals</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - Consolidated Statement of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedStatementofIncome</Role>
      <ShortName>Consolidated Statement of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - Consolidated Statement of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedStatementofComprehensiveIncome</Role>
      <ShortName>Consolidated Statement of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - Consolidated Statement of Cash Flows Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedStatementofCashFlowsStatement</Role>
      <ShortName>Consolidated Statement of Cash Flows Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - Consolidated Statement of Shareholders' Equity Statement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/ConsolidatedStatementofShareholdersEquityStatement</Role>
      <ShortName>Consolidated Statement of Shareholders' Equity Statement</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Basis of Presentation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/BasisofPresentation</Role>
      <ShortName>Basis of Presentation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103102 - Disclosure - New Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/NewAccountingPronouncements</Role>
      <ShortName>New Accounting Pronouncements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2108104 - Disclosure - Revenue Revenue (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/RevenueRevenueNotes</Role>
      <ShortName>Revenue Revenue (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2111105 - Disclosure - Realignment Actions Realignment Actions (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/RealignmentActionsRealignmentActionsNotes</Role>
      <ShortName>Realignment Actions Realignment Actions (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2113106 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/Acquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2115107 - Disclosure - Cash and Cash Equivalents</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CashandCashEquivalents</Role>
      <ShortName>Cash and Cash Equivalents</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2118108 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2125109 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2128110 - Disclosure - Property and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/PropertyandEquipmentNet</Role>
      <ShortName>Property and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2132111 - Disclosure - Long-term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebt</Role>
      <ShortName>Long-term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2140112 - Disclosure - Derivative Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2148113 - Disclosure - Leases Leases (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesLeasesNotes</Role>
      <ShortName>Leases Leases (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2154114 - Disclosure - Other Long-term Liabilities Other Long-term Liabilities (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesNotes</Role>
      <ShortName>Other Long-term Liabilities Other Long-term Liabilities (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2157115 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2164116 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2167117 - Disclosure - Equity Awards</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EquityAwards</Role>
      <ShortName>Equity Awards</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2174118 - Disclosure - Earnings per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EarningsperShare</Role>
      <ShortName>Earnings per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2179119 - Disclosure - Defined Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DefinedBenefitPlans</Role>
      <ShortName>Defined Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2186121 - Disclosure - Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossNotes</Role>
      <ShortName>Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2192123 - Disclosure - Subsequent Event Subsequent Events (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/SubsequentEventSubsequentEventsNotes</Role>
      <ShortName>Subsequent Event Subsequent Events (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2309302 - Disclosure - Revenue Revenue (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/RevenueRevenueTables</Role>
      <ShortName>Revenue Revenue (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/RevenueRevenueNotes</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2316303 - Disclosure - Cash and Cash Equivalents (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CashandCashEquivalentsTables</Role>
      <ShortName>Cash and Cash Equivalents (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/CashandCashEquivalents</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2319304 - Disclosure - Goodwill and Other Intangible Assets Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2326305 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/Inventories</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2329306 - Disclosure - Property and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/PropertyandEquipmentNetTables</Role>
      <ShortName>Property and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/PropertyandEquipmentNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2333307 - Disclosure - Long-term Debt Long-term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebtLongtermDebtTables</Role>
      <ShortName>Long-term Debt Long-term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2341308 - Disclosure - Derivative Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsTables</Role>
      <ShortName>Derivative Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/DerivativeInstruments</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2349309 - Disclosure - Leases Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesLeasesTables</Role>
      <ShortName>Leases Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/LeasesLeasesNotes</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2355310 - Disclosure - Other Long-term Liabilities Other Long-term Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesTables</Role>
      <ShortName>Other Long-term Liabilities Other Long-term Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesNotes</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2358311 - Disclosure - Commitments and Contingencies Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CommitmentsandContingenciesCommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2365312 - Disclosure - Segment Information Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/SegmentInformationSegmentInformationTables</Role>
      <ShortName>Segment Information Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2368313 - Disclosure - Equity Awards (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EquityAwardsTables</Role>
      <ShortName>Equity Awards (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/EquityAwards</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2375314 - Disclosure - Earnings per Share Earnings per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EarningsperShareEarningsperShareTables</Role>
      <ShortName>Earnings per Share Earnings per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2380315 - Disclosure - Defined Benefit Plans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DefinedBenefitPlansTables</Role>
      <ShortName>Defined Benefit Plans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/DefinedBenefitPlans</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2387317 - Disclosure - Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossTables</Role>
      <ShortName>Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossNotes</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Revenue Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/RevenueRevenueDetails</Role>
      <ShortName>Revenue Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/RevenueRevenueTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2412405 - Disclosure - Realignment Actions Realignment Actions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/RealignmentActionsRealignmentActionsDetails</Role>
      <ShortName>Realignment Actions Realignment Actions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/RealignmentActionsRealignmentActionsNotes</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2414406 - Disclosure - Acquisitions - Other Acquisitions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/AcquisitionsOtherAcquisitionsDetails</Role>
      <ShortName>Acquisitions - Other Acquisitions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2417407 - Disclosure - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CashandCashEquivalentsDetails</Role>
      <ShortName>Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/CashandCashEquivalentsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2420408 - Disclosure - Goodwill and Other Intangible Assets Goodwill Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillNarrativeDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets Goodwill Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2421409 - Disclosure - Goodwill and Other Intangible Assets Goodwill Rollforward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillRollforwardDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets Goodwill Rollforward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsGoodwillandOtherIntangibleAssetsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2423411 - Disclosure - Goodwill and Other Intangible Assets Schedule of Intangible Assets (excluding Goodwill) by Major Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsScheduleofIntangibleAssetsexcludingGoodwillbyMajorClassDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets Schedule of Intangible Assets (excluding Goodwill) by Major Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2424412 - Disclosure - Goodwill and Other Intangible Assets Schedule of Finite-Lived Intangible Assets, Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/GoodwillandOtherIntangibleAssetsScheduleofFiniteLivedIntangibleAssetsAmortizationExpenseDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets Schedule of Finite-Lived Intangible Assets, Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2427413 - Disclosure - Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/InventoriesDetails</Role>
      <ShortName>Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/InventoriesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2430414 - Disclosure - Property and Equipment, Net - Property and Equipment Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/PropertyandEquipmentNetPropertyandEquipmentTableDetails</Role>
      <ShortName>Property and Equipment, Net - Property and Equipment Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2431415 - Disclosure - Property and Equipment, Net - Depreciation Expense Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/PropertyandEquipmentNetDepreciationExpenseTableDetails</Role>
      <ShortName>Property and Equipment, Net - Depreciation Expense Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2434416 - Disclosure - Long-term Debt - Debt Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebtDebtTableDetails</Role>
      <ShortName>Long-term Debt - Debt Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2435417 - Disclosure - Long-term Debt - Senior Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebtSeniorNotesDetails</Role>
      <ShortName>Long-term Debt - Senior Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2436418 - Disclosure - Long-term Debt - Credit Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebtCreditAgreementDetails</Role>
      <ShortName>Long-term Debt - Credit Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2438420 - Disclosure - Other Revolving Loan Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/OtherRevolvingLoanFacilityDetails</Role>
      <ShortName>Other Revolving Loan Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2439421 - Disclosure - Long-term Debt - Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LongtermDebtFairValueDetails</Role>
      <ShortName>Long-term Debt - Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2442422 - Disclosure - Derivative Instruments - Derivative Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsDerivativeNarrativeDetails</Role>
      <ShortName>Derivative Instruments - Derivative Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2443423 - Disclosure - Derivative Instruments - Designated as hedging, Financial Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsDesignatedashedgingFinancialPositionDetails</Role>
      <ShortName>Derivative Instruments - Designated as hedging, Financial Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2444424 - Disclosure - Derivative Instruments - Designated as hedging, Financial Performance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsDesignatedashedgingFinancialPerformanceDetails</Role>
      <ShortName>Derivative Instruments - Designated as hedging, Financial Performance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2445425 - Disclosure - Derivative Instruments - Designated as hedging, Financial Performance Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsDesignatedashedgingFinancialPerformanceNarrativeDetails</Role>
      <ShortName>Derivative Instruments - Designated as hedging, Financial Performance Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2446426 - Disclosure - Derivative Instruments - Derivatives not designated as hedging instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsDerivativesnotdesignatedashedginginstrumentsDetails</Role>
      <ShortName>Derivative Instruments - Derivatives not designated as hedging instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2447427 - Disclosure - Derivative Instruments - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DerivativeInstrumentsFairValueMeasurementsDetails</Role>
      <ShortName>Derivative Instruments - Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2450428 - Disclosure - Leases Lease Cost Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesLeaseCostTableDetails</Role>
      <ShortName>Leases Lease Cost Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2451429 - Disclosure - Leases Operating Lease Liability Maturity Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesOperatingLeaseLiabilityMaturityTableDetails</Role>
      <ShortName>Leases Operating Lease Liability Maturity Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2452430 - Disclosure - Leases Supplemental Balance Sheet Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesSupplementalBalanceSheetInformationRelatedtoLeasesDetails</Role>
      <ShortName>Leases Supplemental Balance Sheet Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2453431 - Disclosure - Leases Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/LeasesSupplementalCashFlowInformationRelatedtoLeasesDetails</Role>
      <ShortName>Leases Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2456432 - Disclosure - Other Long-term Liabilities Other Long-term Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesDetails</Role>
      <ShortName>Other Long-term Liabilities Other Long-term Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2459433 - Disclosure - Commitments and Contingencies Asbestos Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CommitmentsandContingenciesAsbestosNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies Asbestos Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2460434 - Disclosure - Commitments and Contingencies Asbestos Claimant and Settlement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CommitmentsandContingenciesAsbestosClaimantandSettlementDetails</Role>
      <ShortName>Commitments and Contingencies Asbestos Claimant and Settlement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2461435 - Disclosure - Commitments and Contingencies Asbestos Damages Sought (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/CommitmentsandContingenciesAsbestosDamagesSoughtDetails</Role>
      <ShortName>Commitments and Contingencies Asbestos Damages Sought (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2466438 - Disclosure - Segment Information Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/SegmentInformationSegmentInformationDetails</Role>
      <ShortName>Segment Information Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/SegmentInformationSegmentInformationTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2472442 - Disclosure - Equity Awards - Restricted Stock Units Activity Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EquityAwardsRestrictedStockUnitsActivityTableDetails</Role>
      <ShortName>Equity Awards - Restricted Stock Units Activity Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2473443 - Disclosure - Equity Awards - Restricted Stock Units Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EquityAwardsRestrictedStockUnitsNarrativeDetails</Role>
      <ShortName>Equity Awards - Restricted Stock Units Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2476444 - Disclosure - Earnings per Share Earnings per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EarningsperShareEarningsperShareDetails</Role>
      <ShortName>Earnings per Share Earnings per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/EarningsperShareEarningsperShareTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2477445 - Disclosure - Earnings per Share Repurchase of Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EarningsperShareRepurchaseofCommonStockDetails</Role>
      <ShortName>Earnings per Share Repurchase of Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2478446 - Disclosure - Earnings per Share Dividends (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/EarningsperShareDividendsDetails</Role>
      <ShortName>Earnings per Share Dividends (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2481447 - Disclosure - Defined Benefit Plans - Net Periodic Pension Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DefinedBenefitPlansNetPeriodicPensionCostsDetails</Role>
      <ShortName>Defined Benefit Plans - Net Periodic Pension Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2482448 - Disclosure - Defined Benefit Plans - Defined Benefit Plans Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/DefinedBenefitPlansDefinedBenefitPlansNarrativeDetails</Role>
      <ShortName>Defined Benefit Plans - Defined Benefit Plans Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2488450 - Disclosure - Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Other Comprehensive Income (Loss) Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2493452 - Disclosure - Subsequent Event Dividend (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/SubsequentEventDividendDetails</Role>
      <ShortName>Subsequent Event Dividend (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="trs-20220331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2494453 - Disclosure - Subsequent Event Cross Currency Swap (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trimascorp.com/role/SubsequentEventCrossCurrencySwapDetails</Role>
      <ShortName>Subsequent Event Cross Currency Swap (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="trs-20220331.htm">trs-20220331.htm</File>
    <File>trs-20220331.xsd</File>
    <File>trs-20220331_cal.xml</File>
    <File>trs-20220331_def.xml</File>
    <File>trs-20220331_lab.xml</File>
    <File>trs-20220331_pre.xml</File>
    <File>trs_03312022exh102.htm</File>
    <File>trs_03312022xexh101.htm</File>
    <File>trs_03312022xexh103.htm</File>
    <File>trs_03312022xexh311.htm</File>
    <File>trs_03312022xexh312.htm</File>
    <File>trs_03312022xexh321.htm</File>
    <File>trs_03312022xexh322.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="621">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="31">http://xbrl.sec.gov/dei/2021</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
