<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.10.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>287</ContextCount>
  <ElementCount>442</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>94</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0002000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ConsolidatedStatementsOfIncomeAndComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY (DEFICIT)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Description of Business and Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPolicies</Role>
      <ShortName>Description of Business and Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Cash, Cash Equivalents and Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CashCashEquivalentsAndInvestments</Role>
      <ShortName>Cash, Cash Equivalents and Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Investments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/Investments</Role>
      <ShortName>Investments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Property and Equipment, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/PropertyAndEquipmentNet</Role>
      <ShortName>Property and Equipment, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Goodwill and Other Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/GoodwillAndOtherIntangibleAssets</Role>
      <ShortName>Goodwill and Other Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Workers' Compensation Loss Reserves</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/WorkersCompensationLossReserves</Role>
      <ShortName>Workers' Compensation Loss Reserves</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Long-Term Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/LongTermDebt</Role>
      <ShortName>Long-Term Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Earnings Per Share (EPS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/EarningsPerShareEps</Role>
      <ShortName>Earnings Per Share (EPS)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Financial Instruments And Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurements</Role>
      <ShortName>Financial Instruments And Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - 401(k) Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/A401KPlan</Role>
      <ShortName>401(k) Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Quarterly Financial Data (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/QuarterlyFinancialDataUnaudited</Role>
      <ShortName>Quarterly Financial Data (Unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2121100 - Disclosure - Schedule II - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ScheduleIiValuationAndQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Description of Business and Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Description of Business and Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Description of Business and Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesTables</Role>
      <ShortName>Description of Business and Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPolicies</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Cash, Cash Equivalents and Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CashCashEquivalentsAndInvestmentsTables</Role>
      <ShortName>Cash, Cash Equivalents and Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/CashCashEquivalentsAndInvestments</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Investments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/InvestmentsTables</Role>
      <ShortName>Investments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/Investments</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Property and Equipment, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/PropertyAndEquipmentNetTables</Role>
      <ShortName>Property and Equipment, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/PropertyAndEquipmentNet</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Goodwill and Other Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/GoodwillAndOtherIntangibleAssetsTables</Role>
      <ShortName>Goodwill and Other Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/GoodwillAndOtherIntangibleAssets</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Accrued Workers' Compensation Costs (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/AccruedWorkersCompensationCostsTables</Role>
      <ShortName>Accrued Workers' Compensation Costs (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2306301 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/LongTermDebt</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Stockholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/StockholdersEquity</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/IncomeTaxes</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/EarningsPerShareEps</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Financial Instruments And Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurementsTables</Role>
      <ShortName>Financial Instruments And Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurements</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Quarterly Financial Data (Unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/QuarterlyFinancialDataUnauditedTables</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.trinet.com/role/QuarterlyFinancialDataUnaudited</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Description of Business and Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Description of Business and Significant Accounting Policies - Reclassification of balance sheet accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesReclassificationOfBalanceSheetAccountsDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Reclassification of balance sheet accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Description of Business and Significant Accounting Policies - Cash Flow Statement Adjustments Due to Adoption of ASU 2016-18 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesCashFlowStatementAdjustmentsDueToAdoptionOfAsu201618Details</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Cash Flow Statement Adjustments Due to Adoption of ASU 2016-18 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2401406 - Disclosure - Description of Business and Significant Accounting Policies - Summary of Amounts Capitalized and Amortized (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesSummaryOfAmountsCapitalizedAndAmortizedDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Summary of Amounts Capitalized and Amortized (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2401407 - Disclosure - Description of Business and Significant Accounting Policies - Impact of the Adoption of Topic 606 on the Condensed Consolidated Income Statements and Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesImpactOfAdoptionOfTopic606OnCondensedConsolidatedIncomeStatementsAndBalanceSheetsDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies - Impact of the Adoption of Topic 606 on the Condensed Consolidated Income Statements and Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2401408 - Disclosure - Description of Business and Significant Accounting Policies Adoption of ASU 2016-02 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesAdoptionOfAsu201602Details</Role>
      <ShortName>Description of Business and Significant Accounting Policies Adoption of ASU 2016-02 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2401409 - Disclosure - Description of Business and Significant Accounting Policies Non-Printing Section (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/DescriptionOfBusinessAndSignificantAccountingPoliciesNonPrintingSectionDetails</Role>
      <ShortName>Description of Business and Significant Accounting Policies Non-Printing Section (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Cash, Cash Equivalents and Investments - Cash, Cash Equivalents and Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CashCashEquivalentsAndInvestmentsCashCashEquivalentsAndInvestmentsDetails</Role>
      <ShortName>Cash, Cash Equivalents and Investments - Cash, Cash Equivalents and Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Investments - Amortized Cost, Gross Unrealized Gains and Losses, Fair Values of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/InvestmentsAmortizedCostGrossUnrealizedGainsAndLossesFairValuesOfInvestmentsDetails</Role>
      <ShortName>Investments - Amortized Cost, Gross Unrealized Gains and Losses, Fair Values of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2402403 - Disclosure - Investments - Investments With a Continuous Realized Loss Position (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/InvestmentsInvestmentsWithContinuousRealizedLossPositionDetails</Role>
      <ShortName>Investments - Investments With a Continuous Realized Loss Position (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2402404 - Disclosure - Investments - Fair Value of Debt Investments by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/InvestmentsFairValueOfDebtInvestmentsByContractualMaturityDetails</Role>
      <ShortName>Investments - Fair Value of Debt Investments by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2402405 - Disclosure - Investments Investments - Gross Proceeds from AFS debt securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/InvestmentsInvestmentsGrossProceedsFromAfsDebtSecuritiesDetails</Role>
      <ShortName>Investments Investments - Gross Proceeds from AFS debt securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/PropertyAndEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/PropertyAndEquipmentNetTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Property and Equipment, Net - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/PropertyAndEquipmentNetNarrativeDetails</Role>
      <ShortName>Property and Equipment, Net - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Goodwill and Other Intangible Assets - Summary of Goodwill and Other Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/GoodwillAndOtherIntangibleAssetsSummaryOfGoodwillAndOtherIntangibleAssetsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Summary of Goodwill and Other Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Goodwill and Other Intangible Assets - Expected Expense Related to Intangibles Amortization in Future Periods (Details) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/GoodwillAndOtherIntangibleAssetsExpectedExpenseRelatedToIntangiblesAmortizationInFuturePeriodsDetailsDetails</Role>
      <ShortName>Goodwill and Other Intangible Assets - Expected Expense Related to Intangibles Amortization in Future Periods (Details) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Accrued Workers' Compensation Costs - Summary of Activities in Liability for Unpaid Claims and Claims Adjustment Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/AccruedWorkersCompensationCostsSummaryOfActivitiesInLiabilityForUnpaidClaimsAndClaimsAdjustmentExpensesDetails</Role>
      <ShortName>Accrued Workers' Compensation Costs - Summary of Activities in Liability for Unpaid Claims and Claims Adjustment Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2405403 - Disclosure - Accrued Workers' Compensation Costs - Summary of Workers' Compensation Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/AccruedWorkersCompensationCostsSummaryOfWorkersCompensationLiabilitiesDetails</Role>
      <ShortName>Accrued Workers' Compensation Costs - Summary of Workers' Compensation Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2405404 - Disclosure - Accrued Workers' Compensation Costs - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/AccruedWorkersCompensationCostsNarrativeDetails</Role>
      <ShortName>Accrued Workers' Compensation Costs - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Long-Term Debt - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/LongTermDebtNarrativeDetails</Role>
      <ShortName>Long-Term Debt - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Long-Term Debt - Components of Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.trinet.com/role/LongTermDebtComponentsOfNotesPayableDetails</Role>
      <ShortName>Long-Term Debt - Components of Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2406404 - Disclosure - Long-Term Debt - Aggregate Annual Term Loan Repayments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/LongTermDebtAggregateAnnualTermLoanRepaymentsDetails</Role>
      <ShortName>Long-Term Debt - Aggregate Annual Term Loan Repayments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Commitments and Contingencies - Schedule of Minimum Future Rental Payments Under Non-Cancelable Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CommitmentsAndContingenciesScheduleOfMinimumFutureRentalPaymentsUnderNonCancelableOperatingLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Schedule of Minimum Future Rental Payments Under Non-Cancelable Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Commitments and Contingencies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/CommitmentsAndContingenciesNarrativeDetails</Role>
      <ShortName>Commitments and Contingencies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Stockholders' Equity - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityNarrativeDetails</Role>
      <ShortName>Stockholders' Equity - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Stockholders' Equity - Summary of Stock Option Activity Under Equity-Based Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquitySummaryOfStockOptionActivityUnderEquityBasedPlansDetails</Role>
      <ShortName>Stockholders' Equity - Summary of Stock Option Activity Under Equity-Based Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Stockholders' Equity - Additional Disclosure for Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityAdditionalDisclosureForStockOptionsDetails</Role>
      <ShortName>Stockholders' Equity - Additional Disclosure for Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Stockholders' Equity - Summary of RSU and PSU Activity Under Equity-Based Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquitySummaryOfRsuAndPsuActivityUnderEquityBasedPlansDetails</Role>
      <ShortName>Stockholders' Equity - Summary of RSU and PSU Activity Under Equity-Based Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2409406 - Disclosure - Stockholders' Equity - Additional Disclosures for Equity-Based Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityAdditionalDisclosuresForEquityBasedPlansDetails</Role>
      <ShortName>Stockholders' Equity - Additional Disclosures for Equity-Based Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2409407 - Disclosure - Stockholders' Equity - Weighted-Average Assumptions Used to Estimate Fair Value of Stock Options and the ESPP (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityWeightedAverageAssumptionsUsedToEstimateFairValueOfStockOptionsAndEsppDetails</Role>
      <ShortName>Stockholders' Equity - Weighted-Average Assumptions Used to Estimate Fair Value of Stock Options and the ESPP (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2409408 - Disclosure - Stockholders' Equity - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquityStockBasedCompensationExpenseDetails</Role>
      <ShortName>Stockholders' Equity - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2409409 - Disclosure - Stockholders' Equity - Summary of Unrecognized Compensation Expense (Detaills)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/StockholdersEquitySummaryOfUnrecognizedCompensationExpenseDetaills</Role>
      <ShortName>Stockholders' Equity - Summary of Unrecognized Compensation Expense (Detaills)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesProvisionForIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Income Taxes - U.S. Federal Statutory Income Tax Rate Reconciled to Effective Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesUSFederalStatutoryIncomeTaxRateReconciledToEffectiveTaxRateDetails</Role>
      <ShortName>Income Taxes - U.S. Federal Statutory Income Tax Rate Reconciled to Effective Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesSignificantComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Significant Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/IncomeTaxesReconciliationOfBeginningAndEndingAmountOfUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Beginning and Ending Amount of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/EarningsPerShareTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Financial Instruments And Fair Value Measurements - Fair Value Measurements on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurementsFairValueMeasurementsOnRecurringBasisDetails</Role>
      <ShortName>Financial Instruments And Fair Value Measurements - Fair Value Measurements on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Financial Instruments And Fair Value Measurements - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurementsNarrativeDetails</Role>
      <ShortName>Financial Instruments And Fair Value Measurements - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/FinancialInstrumentsAndFairValueMeasurementsTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2414401 - Disclosure - 401(k) Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/A401KPlanDetails</Role>
      <ShortName>401(k) Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/A401KPlan</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2415401 - Disclosure - Related Party Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/RelatedPartyTransactionsAdditionalInformationDetails</Role>
      <ShortName>Related Party Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Quarterly Financial Data (Unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/QuarterlyFinancialDataUnauditedDetails</Role>
      <ShortName>Quarterly Financial Data (Unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/QuarterlyFinancialDataUnauditedTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="tnet-20181231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2421401 - Disclosure - Schedule II - Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.trinet.com/role/ScheduleIiValuationAndQualifyingAccountsDetails</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.trinet.com/role/ScheduleIiValuationAndQualifyingAccounts</ParentRole>
      <Position>80</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>tnet-20181231.xml</File>
    <File>tnet-20181231.xsd</File>
    <File>tnet-20181231_cal.xml</File>
    <File>tnet-20181231_def.xml</File>
    <File>tnet-20181231_lab.xml</File>
    <File>tnet-20181231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
