<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>285</ContextCount>
  <ElementCount>498</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>97</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>75000 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>75010 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>75020 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>75030 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>75040 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedStatementsOfOperationsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>75050 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME/(LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomeloss</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME/(LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>75060 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME/(LOSS) (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/StatementConsolidatedStatementsOfComprehensiveIncomelossParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME/(LOSS) (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>75070 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>75080 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/StatementConsolidatedStatementsOfChangesInShareholdersEquityParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>75090 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>75100 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ConsolidatedStatementsOfCashFlowsParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.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>12</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.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>13</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995457 - Disclosure - Cybersecurity Risk Management, Strategy, and Governance</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureCybersecurityRiskManagementStrategyAndGovernance</Role>
      <ShortName>Cybersecurity Risk Management, Strategy, and Governance</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995467 - Disclosure - ORGANIZATION AND PRINCIPAL ACTIVITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivities</Role>
      <ShortName>ORGANIZATION AND PRINCIPAL ACTIVITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995477 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995487 - Disclosure - ASSETS ACQUISITION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/AssetsAcquisition</Role>
      <ShortName>ASSETS ACQUISITION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995497 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsNet</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995507 - Disclosure - PROPERTY, EQUIPMENT AND SOFTWARE, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/PropertyEquipmentAndSoftwareNet</Role>
      <ShortName>PROPERTY, EQUIPMENT AND SOFTWARE, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995517 - Disclosure - LAND USE RIGHTS, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureLandUseRightsNet</Role>
      <ShortName>LAND USE RIGHTS, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995537 - Disclosure - GOODWILL</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/Goodwill</Role>
      <ShortName>GOODWILL</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995547 - Disclosure - INTANGIBLE ASSETS, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIntangibleAssetsNet</Role>
      <ShortName>INTANGIBLE ASSETS, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995557 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/AccruedExpensesAndOtherCurrentLiabilities</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995567 - Disclosure - SHORT-TERM AND LONG-TERM BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowings1</Role>
      <ShortName>SHORT-TERM AND LONG-TERM BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995577 - Disclosure - FAIR VALUE MEASUREMENT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/FairValueMeasurement</Role>
      <ShortName>FAIR VALUE MEASUREMENT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995587 - Disclosure - SHARE-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ShareBasedCompensation</Role>
      <ShortName>SHARE-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995597 - Disclosure - ORDINARY SHARES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrdinaryShares</Role>
      <ShortName>ORDINARY SHARES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995607 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxes</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995617 - Disclosure - NET LOSS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureNetLossPerShare</Role>
      <ShortName>NET LOSS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995627 - Disclosure - EMPLOYEE DEFINED CONTRIBUTION PLAN</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/EmployeeDefinedContributionPlan</Role>
      <ShortName>EMPLOYEE DEFINED CONTRIBUTION PLAN</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995637 - Disclosure - RELATED PARTY TRANSACTION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/RelatedPartyTransaction</Role>
      <ShortName>RELATED PARTY TRANSACTION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995647 - Disclosure - LEASE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/Lease</Role>
      <ShortName>LEASE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995657 - Disclosure - CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureContingencies1</Role>
      <ShortName>CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995667 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SegmentInformation</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995677 - Disclosure - RESTRICTED NET ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/RestrictedNetAssets</Role>
      <ShortName>RESTRICTED NET ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995697 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleI1</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995707 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995717 - Disclosure - ORGANIZATION AND PRINCIPAL ACTIVITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivitiesTables</Role>
      <ShortName>ORGANIZATION AND PRINCIPAL ACTIVITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivities</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995727 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995737 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsNetTables</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsNet</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995747 - Disclosure - PROPERTY, EQUIPMENT AND SOFTWARE, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/PropertyEquipmentAndSoftwareNetTables</Role>
      <ShortName>PROPERTY, EQUIPMENT AND SOFTWARE, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/PropertyEquipmentAndSoftwareNet</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995757 - Disclosure - LAND USE RIGHTS, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureLandUseRightsNetTables</Role>
      <ShortName>LAND USE RIGHTS, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureLandUseRightsNet</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995777 - Disclosure - GOODWILL (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureGoodwillTables</Role>
      <ShortName>GOODWILL (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/Goodwill</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995787 - Disclosure - INTANGIBLE ASSETS, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIntangibleAssetsNetTables</Role>
      <ShortName>INTANGIBLE ASSETS, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIntangibleAssetsNet</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995797 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES  (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/AccruedExpensesAndOtherCurrentLiabilitiesTables</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES  (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/AccruedExpensesAndOtherCurrentLiabilities</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995807 - Disclosure - SHORT-TERM AND LONG-TERM BORROWINGS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowingsTables</Role>
      <ShortName>SHORT-TERM AND LONG-TERM BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowings1</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995817 - Disclosure - FAIR VALUE MEASUREMENT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/FairValueMeasurementTables</Role>
      <ShortName>FAIR VALUE MEASUREMENT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/FairValueMeasurement</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995827 - Disclosure - SHARE-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ShareBasedCompensationTables</Role>
      <ShortName>SHARE-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/ShareBasedCompensation</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995837 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxesTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxes</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995847 - Disclosure - NET LOSS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureNetLossPerShareTables</Role>
      <ShortName>NET LOSS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureNetLossPerShare</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995867 - Disclosure - LEASE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/LeaseTables</Role>
      <ShortName>LEASE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gaotu.cn/20251231/taxonomy/role/Lease</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>995877 - Disclosure - ORGANIZATION AND PRINCIPAL ACTIVITIES - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivitiesAdditionalInformationDetail</Role>
      <ShortName>ORGANIZATION AND PRINCIPAL ACTIVITIES - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>995887 - Disclosure - ORGANIZATION AND PRINCIPAL ACTIVITIES - Summary of subsidiaries, VIE and VIE's subsidiaries (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivitiesSummaryOfSubsidiariesVieAndVieSSubsidiariesDetail</Role>
      <ShortName>ORGANIZATION AND PRINCIPAL ACTIVITIES - Summary of subsidiaries, VIE and VIE's subsidiaries (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>995897 - Disclosure -  ORGANIZATION AND PRINCIPAL ACTIVITIES - Summary of financial information of VIE and VIE's subsidiaries after elimination of inter-company transactions and balances (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrganizationAndPrincipalActivitiesSummaryOfFinancialInformationOfVieAndVieSSubsidiariesAfterEliminationOfInterCompanyTransactionsAndBalancesDetail</Role>
      <ShortName> ORGANIZATION AND PRINCIPAL ACTIVITIES - Summary of financial information of VIE and VIE's subsidiaries after elimination of inter-company transactions and balances (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>995907 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesAdditionalInformationDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>995917 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of property, equipment and software estimated useful lives (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesSummaryOfPropertyEquipmentAndSoftwareEstimatedUsefulLivesDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of property, equipment and software estimated useful lives (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>995927 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of land use rights, net (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureSummaryOfSignificantAccountingPoliciesSummaryOfLandUseRightsNetDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of land use rights, net (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>995937 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of amortization periods by intangible asset classes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesSummaryOfAmortizationPeriodsByIntangibleAssetClassesDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of amortization periods by intangible asset classes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>995947 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of disaggregated revenue by types (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesSummaryOfDisaggregatedRevenueByTypesDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of disaggregated revenue by types (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>995957 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of contract liabilities arising from contract with customers (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SummaryOfSignificantAccountingPoliciesSummaryOfContractLiabilitiesArisingFromContractWithCustomersDetail</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Summary of contract liabilities arising from contract with customers (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>995967 - Disclosure - ASSETS ACQUISITION - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAssetsAcquisitionAdditionalInformationDetail</Role>
      <ShortName>ASSETS ACQUISITION - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>995977 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET - Summary of prepaid expenses and other current assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsNetSummaryOfPrepaidExpensesAndOtherCurrentAssetsDetail</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET - Summary of prepaid expenses and other current assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>995987 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET - Summary of prepaid expenses and other current assets (Detail) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosurePrepaidExpensesAndOtherCurrentAssetsNetSummaryOfPrepaidExpensesAndOtherCurrentAssetsDetailParentheticalDetails</Role>
      <ShortName>PREPAID EXPENSES AND OTHER CURRENT ASSETS, NET - Summary of prepaid expenses and other current assets (Detail) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>995997 - Disclosure - PROPERTY, EQUIPMENT AND SOFTWARE, NET - Summary of property, equipment and software (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/PropertyEquipmentAndSoftwareNetSummaryOfPropertyEquipmentAndSoftwareDetail</Role>
      <ShortName>PROPERTY, EQUIPMENT AND SOFTWARE, NET - Summary of property, equipment and software (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>996007 - Disclosure - PROPERTY, EQUIPMENT AND SOFTWARE, NET - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/PropertyEquipmentAndSoftwareNetAdditionalInformationDetail</Role>
      <ShortName>PROPERTY, EQUIPMENT AND SOFTWARE, NET - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>996017 - Disclosure - LAND USE RIGHTS, NET - Summary of Land Use Rights (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureLandUseRightsNetSummaryOfLandUseRightsDetail</Role>
      <ShortName>LAND USE RIGHTS, NET - Summary of Land Use Rights (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>996027 - Disclosure - LAND USE RIGHTS, NET - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureLandUseRightsNetAdditionalInformationDetail</Role>
      <ShortName>LAND USE RIGHTS, NET - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>996047 - Disclosure - GOODWILL - Summary of goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureGoodwillSummaryOfGoodwillDetails</Role>
      <ShortName>GOODWILL - Summary of goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>996057 - Disclosure - Goodwill - Summary of goodwill (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureGoodwillSummaryOfGoodwillParentheticalDetails</Role>
      <ShortName>Goodwill - Summary of goodwill (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>996067 - Disclosure - INTANGIBLE ASSETS, NET - Summary of intangible assets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIntangibleAssetsNetSummaryOfIntangibleAssetsDetail</Role>
      <ShortName>INTANGIBLE ASSETS, NET - Summary of intangible assets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>996077 - Disclosure - INTANGIBLE ASSETS, NET - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIntangibleAssetsNetAdditionalInformationDetail</Role>
      <ShortName>INTANGIBLE ASSETS, NET - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>996087 - Disclosure - ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES - Summary of accrued expenses and other current liabilities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/AccruedExpensesAndOtherCurrentLiabilitiesSummaryOfAccruedExpensesAndOtherCurrentLiabilitiesDetail</Role>
      <ShortName>ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES - Summary of accrued expenses and other current liabilities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>996097 - Disclosure - SHORT-TERM AND LONG-TERM BORROWINGS - Summary of components of short-term and long term borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowingsSummaryOfComponentsOfShorttermAndLongTermBorrowingsDetails</Role>
      <ShortName>SHORT-TERM AND LONG-TERM BORROWINGS - Summary of components of short-term and long term borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>996107 - Disclosure - SHORT-TERM AND LONG-TERM BORROWINGS - Summary of components of short-term and long term borrowings (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowingsSummaryOfComponentsOfShorttermAndLongTermBorrowingsParentheticalDetails</Role>
      <ShortName>SHORT-TERM AND LONG-TERM BORROWINGS - Summary of components of short-term and long term borrowings (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>996117 - Disclosure - SHORT-TERM AND LONG-TERM BORROWINGS - Summary of long-term borrowings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureShorttermAndLongtermBorrowingsSummaryOfLongtermBorrowingsDetails</Role>
      <ShortName>SHORT-TERM AND LONG-TERM BORROWINGS - Summary of long-term borrowings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>996127 - Disclosure - FAIR VALUE MEASUREMENT - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/FairValueMeasurementAdditionalInformationDetail</Role>
      <ShortName>FAIR VALUE MEASUREMENT - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>996137 - Disclosure - FAIR VALUE MEASUREMENT - Summary of assets measured at fair value on a recurring basis (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnARecurringBasisDetail</Role>
      <ShortName>FAIR VALUE MEASUREMENT - Summary of assets measured at fair value on a recurring basis (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>996147 - Disclosure - FAIR VALUE MEASUREMENT - Summary of reconciliation of fair value measurements of assets using significant unobservable inputs (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfReconciliationOfFairValueMeasurementsOfAssetsUsingSignificantUnobservableInputsDetail</Role>
      <ShortName>FAIR VALUE MEASUREMENT - Summary of reconciliation of fair value measurements of assets using significant unobservable inputs (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>996157 - Disclosure - SHARE-BASED COMPENSATION - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ShareBasedCompensationAdditionalInformationDetail</Role>
      <ShortName>SHARE-BASED COMPENSATION - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>996167 - Disclosure - SHARE-BASED COMPENSATION - Summary of options activities (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/ShareBasedCompensationSummaryOfOptionsActivitiesDetail</Role>
      <ShortName>SHARE-BASED COMPENSATION - Summary of options activities (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>996177 - Disclosure - SHARE-BASED COMPENSATION - Summary of RSUs Activity (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureSharebasedCompensationSummaryOfRsusActivityDetail</Role>
      <ShortName>SHARE-BASED COMPENSATION - Summary of RSUs Activity (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>996187 - Disclosure - ORDINARY SHARES - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/OrdinarySharesAdditionalInformationDetail</Role>
      <ShortName>ORDINARY SHARES - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>996197 - Disclosure - INCOME TAXES - Summary of income (loss) before income taxes (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIncomeTaxesSummaryOfIncomeLossBeforeIncomeTaxesDetail</Role>
      <ShortName>INCOME TAXES - Summary of income (loss) before income taxes (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>996207 - Disclosure - INCOME TAXES - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxesAdditionalInformationDetail</Role>
      <ShortName>INCOME TAXES - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>996217 - Disclosure - INCOME TAXES - Summary of current and deferred components of the income tax expense (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxesSummaryOfCurrentAndDeferredComponentsOfTheIncomeTaxExpenseDetail</Role>
      <ShortName>INCOME TAXES - Summary of current and deferred components of the income tax expense (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>996227 - Disclosure - INCOME TAXES - Summary of principle components of deferred tax assets and deferred taxes liability (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIncomeTaxesSummaryOfPrincipleComponentsOfDeferredTaxAssetsAndDeferredTaxesLiabilityDetail</Role>
      <ShortName>INCOME TAXES - Summary of principle components of deferred tax assets and deferred taxes liability (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>996237 - Disclosure - INCOME TAXES - Summary of movements of valuation allowance (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxesSummaryOfMovementsOfValuationAllowanceDetail</Role>
      <ShortName>INCOME TAXES - Summary of movements of valuation allowance (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>996247 - Disclosure - INCOME TAXES - Summary of reconciliation of effective tax rate and statutory income tax rate (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureIncomeTaxesSummaryOfReconciliationOfEffectiveTaxRateAndStatutoryIncomeTaxRateDetail</Role>
      <ShortName>INCOME TAXES - Summary of reconciliation of effective tax rate and statutory income tax rate (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>996257 - Disclosure - INCOME TAXES - Summary of reconciliation of effective tax rate and statutory income tax rate (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/IncomeTaxesSummaryOfReconciliationOfEffectiveTaxRateAndStatutoryIncomeTaxRateParentheticalDetail</Role>
      <ShortName>INCOME TAXES - Summary of reconciliation of effective tax rate and statutory income tax rate (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>996267 - Disclosure - NET LOSS PER SHARE - Summary of computation of basic and diluted net income/(loss) per share (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureNetLossPerShareSummaryOfComputationOfBasicAndDilutedNetIncomelossPerShareDetail</Role>
      <ShortName>NET LOSS PER SHARE - Summary of computation of basic and diluted net income/(loss) per share (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>996277 - Disclosure - NET LOSS PER SHARE - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureNetLossPerShareAdditionalInformationDetail</Role>
      <ShortName>NET LOSS PER SHARE - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>996287 - Disclosure - EMPLOYEE DEFINED CONTRIBUTION PLAN - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/EmployeeDefinedContributionPlanAdditionalInformationDetail</Role>
      <ShortName>EMPLOYEE DEFINED CONTRIBUTION PLAN - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>996297 - Disclosure - RELATED PARTY TRANSACTION - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureRelatedPartyTransactionAdditionalInformationDetail</Role>
      <ShortName>RELATED PARTY TRANSACTION - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>996307 - Disclosure - LEASE - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/LeaseAdditionalInformationDetail</Role>
      <ShortName>LEASE - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>996317 - Disclosure - LEASE - Supplementary Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/LeaseSupplementaryInformationDetail</Role>
      <ShortName>LEASE - Supplementary Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>996327 - Disclosure - LEASE - Summary of future minimum payment under non-cancelable operating leases (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/LeaseSummaryOfFutureMinimumPaymentUnderNonCancelableOperatingLeasesDetail</Role>
      <ShortName>LEASE - Summary of future minimum payment under non-cancelable operating leases (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>996347 - Disclosure - SEGMENT INFORMATION - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/SegmentInformationAdditionalInformationDetail</Role>
      <ShortName>SEGMENT INFORMATION - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>996357 - Disclosure - RESTRICTED NET ASSETS - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/RestrictedNetAssetsAdditionalInformationDetail</Role>
      <ShortName>RESTRICTED NET ASSETS - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>996367 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Balance Sheets (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyBalanceSheetsDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Balance Sheets (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>996377 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Balance Sheets (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyBalanceSheetsParentheticalDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Balance Sheets (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>996387 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Operations (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyStatementOfOperationsDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Operations (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>996397 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Comprehensive Income/(Loss) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyStatementOfComprehensiveIncomelossDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Comprehensive Income/(Loss) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>996407 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Comprehensive Income/(Loss) (Parenthetical) (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyStatementOfComprehensiveIncomelossParent</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Comprehensive Income/(Loss) (Parenthetical) (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>996417 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Cash Flows (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleICondensedFinancialInformationOfParentCompanyStatementOfCashFlowsDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Condensed Financial Information of Parent Company Statement of Cash Flows (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="gotu-20251231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>996437 - Disclosure - ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Additional Information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gaotu.cn/20251231/taxonomy/role/DisclosureAdditionalInformationfinancialStatementScheduleIAdditionalInformationDetail</Role>
      <ShortName>ADDITIONAL INFORMATION-FINANCIAL STATEMENT SCHEDULE I - Additional Information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</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="20-F" isDefinitelyFs="true" isUsgaap="true" original="gotu-20251231.htm">gotu-20251231.htm</File>
    <File>gotu-20251231.xsd</File>
  </InputFiles>
  <SupplementalFiles>
    <File>img107030679_0.jpg</File>
    <File>img107030679_1.jpg</File>
    <File>img107030679_2.jpg</File>
    <File>img107030679_3.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="5">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1293">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="14">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="50">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="1">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>false</HasPresentationLinkbase>
  <HasCalculationLinkbase>false</HasCalculationLinkbase>
</FilingSummary>
