<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>91</ContextCount>
  <ElementCount>29</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>12</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>1</UnitCount>
  <MyReports>
    <Report instance="tnet-20260413.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tnet-20260413.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tnet-20260413.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>3</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="DEF 14A" isProxy="true" isUsgaap="true" original="tnet-20260413.htm">tnet-20260413.htm</File>
    <File>tnet-20260413.xsd</File>
    <File>tnet-20260413_def.xml</File>
    <File>tnet-20260413_lab.xml</File>
    <File>tnet-20260413_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>tnet-20260413_g1.jpg</File>
    <File>tnet-20260413_g10.jpg</File>
    <File>tnet-20260413_g11.jpg</File>
    <File>tnet-20260413_g12.jpg</File>
    <File>tnet-20260413_g13.jpg</File>
    <File>tnet-20260413_g14.jpg</File>
    <File>tnet-20260413_g15.jpg</File>
    <File>tnet-20260413_g16.jpg</File>
    <File>tnet-20260413_g17.jpg</File>
    <File>tnet-20260413_g18.jpg</File>
    <File>tnet-20260413_g19.gif</File>
    <File>tnet-20260413_g2.jpg</File>
    <File>tnet-20260413_g20.jpg</File>
    <File>tnet-20260413_g21.jpg</File>
    <File>tnet-20260413_g22.jpg</File>
    <File>tnet-20260413_g23.jpg</File>
    <File>tnet-20260413_g24.jpg</File>
    <File>tnet-20260413_g25.jpg</File>
    <File>tnet-20260413_g26.jpg</File>
    <File>tnet-20260413_g27.jpg</File>
    <File>tnet-20260413_g28.jpg</File>
    <File>tnet-20260413_g29.jpg</File>
    <File>tnet-20260413_g3.jpg</File>
    <File>tnet-20260413_g30.jpg</File>
    <File>tnet-20260413_g31.jpg</File>
    <File>tnet-20260413_g32.jpg</File>
    <File>tnet-20260413_g33.jpg</File>
    <File>tnet-20260413_g34.jpg</File>
    <File>tnet-20260413_g35.jpg</File>
    <File>tnet-20260413_g36.jpg</File>
    <File>tnet-20260413_g37.jpg</File>
    <File>tnet-20260413_g38.jpg</File>
    <File>tnet-20260413_g39.jpg</File>
    <File>tnet-20260413_g4.jpg</File>
    <File>tnet-20260413_g40.jpg</File>
    <File>tnet-20260413_g41.jpg</File>
    <File>tnet-20260413_g42.jpg</File>
    <File>tnet-20260413_g43.jpg</File>
    <File>tnet-20260413_g44.jpg</File>
    <File>tnet-20260413_g45.jpg</File>
    <File>tnet-20260413_g46.jpg</File>
    <File>tnet-20260413_g47.jpg</File>
    <File>tnet-20260413_g48.jpg</File>
    <File>tnet-20260413_g49.jpg</File>
    <File>tnet-20260413_g5.jpg</File>
    <File>tnet-20260413_g6.jpg</File>
    <File>tnet-20260413_g7.jpg</File>
    <File>tnet-20260413_g8.jpg</File>
    <File>tnet-20260413_g9.gif</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="5">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="165">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
