<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.2.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>281</ContextCount>
  <ElementCount>352</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>109</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00090 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00200 - Statement - CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/StatementConsolidatedStatementsOfIncomeAndComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME AND COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00300 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/StatementConsolidatedStatementsOfChangesInShareholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00400 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>10101 - Disclosure - Organization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrganization</Role>
      <ShortName>Organization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>10201 - Disclosure - Variable Interest Entities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureVariableInterestEntities</Role>
      <ShortName>Variable Interest Entities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>10301 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>10401 - Disclosure - Acquisitions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureAcquisitions</Role>
      <ShortName>Acquisitions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>10501 - Disclosure - Deposits, Prepayments and Other Current Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureDepositsPrepaymentsAndOtherCurrentAssets</Role>
      <ShortName>Deposits, Prepayments and Other Current Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>10601 - Disclosure - Property and Equipment, net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosurePropertyAndEquipmentNet</Role>
      <ShortName>Property and Equipment, net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>10701 - Disclosure - Intangible Assets, Net</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIntangibleAssetsNet</Role>
      <ShortName>Intangible Assets, Net</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>10801 - Disclosure - Other Payables and Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilities</Role>
      <ShortName>Other Payables and Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>10901 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>11001 - Disclosure - Redeemable noncontrolling interest</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRedeemableNoncontrollingInterest</Role>
      <ShortName>Redeemable noncontrolling interest</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>11101 - Disclosure - Ordinary Shares</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrdinaryShares</Role>
      <ShortName>Ordinary Shares</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>11201 - Disclosure - Restricted Net Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssets</Role>
      <ShortName>Restricted Net Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>11301 - Disclosure - Employee Defined Contribution Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureEmployeeDefinedContributionPlan</Role>
      <ShortName>Employee Defined Contribution Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>11401 - Disclosure - Concentration of Risk</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureConcentrationOfRisk</Role>
      <ShortName>Concentration of Risk</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>11501 - Disclosure - Related Party Balances and Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactions</Role>
      <ShortName>Related Party Balances and Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>11601 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>11701 - Disclosure - Share-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensation</Role>
      <ShortName>Share-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>11801 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>20302 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>30103 - Disclosure - Organization (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrganizationTables</Role>
      <ShortName>Organization (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureOrganization</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>30203 - Disclosure - Variable Interest Entities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureVariableInterestEntitiesTables</Role>
      <ShortName>Variable Interest Entities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureVariableInterestEntities</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>30303 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>30403 - Disclosure - Acquisitions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureAcquisitionsTables</Role>
      <ShortName>Acquisitions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureAcquisitions</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>30503 - Disclosure - Deposits, Prepayments and Other Current Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureDepositsPrepaymentsAndOtherCurrentAssetsTables</Role>
      <ShortName>Deposits, Prepayments and Other Current Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureDepositsPrepaymentsAndOtherCurrentAssets</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>30603 - Disclosure - Property and Equipment, net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosurePropertyAndEquipmentNetTables</Role>
      <ShortName>Property and Equipment, net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosurePropertyAndEquipmentNet</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>30703 - Disclosure - Intangible Assets, Net (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIntangibleAssetsNetTables</Role>
      <ShortName>Intangible Assets, Net (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureIntangibleAssetsNet</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>30803 - Disclosure - Other Payables and Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilitiesTables</Role>
      <ShortName>Other Payables and Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>30903 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>31203 - Disclosure - Restricted Net Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsTables</Role>
      <ShortName>Restricted Net Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssets</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>31403 - Disclosure - Concentration of Risk (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureConcentrationOfRiskTables</Role>
      <ShortName>Concentration of Risk (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureConcentrationOfRisk</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>31503 - Disclosure - Related Party Balances and Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactionsTables</Role>
      <ShortName>Related Party Balances and Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactions</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>31603 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>31703 - Disclosure - Share-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationTables</Role>
      <ShortName>Share-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureShareBasedCompensation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>40101 - Disclosure - Organization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrganizationDetails</Role>
      <ShortName>Organization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureOrganizationTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>40102 - Disclosure - Organization - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrganizationAdditionalInformationDetails</Role>
      <ShortName>Organization - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>40201 - Disclosure - Variable Interest Entities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureVariableInterestEntitiesDetails</Role>
      <ShortName>Variable Interest Entities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureVariableInterestEntitiesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>40202 - Disclosure - Variable Interest Entities - Consolidated Financial Statements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureVariableInterestEntitiesConsolidatedFinancialStatementsDetails</Role>
      <ShortName>Variable Interest Entities - Consolidated Financial Statements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>40301 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>40302 - Disclosure - Summary of Significant Accounting Policies - Accounts receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Accounts receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>40303 - Disclosure - Summary of Significant Accounting Policies - Roll forward schedule of accounts receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRollForwardScheduleOfAccountsReceivableDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Roll forward schedule of accounts receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>40304 - Disclosure - Summary of Significant Accounting Policies - Property and equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentNetDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>40305 - Disclosure - Summary of Significant Accounting Policies - Intangible assets, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesIntangibleAssetsNetDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Intangible assets, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>40306 - Disclosure - Summary of Significant Accounting Policies - Impairment of long-lived assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesImpairmentOfLongLivedAssetsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Impairment of long-lived assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>40307 - Disclosure - Summary of Significant Accounting Policies - Insurance brokerage service (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesInsuranceBrokerageServiceDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Insurance brokerage service (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>40308 - Disclosure - Summary of Significant Accounting Policies - Revenue recognition - Others (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesRevenueRecognitionOthersDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Revenue recognition - Others (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>40309 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>40401 - Disclosure - Acquisitions - Shenzhen Panying Asset Management Co., Ltd (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureAcquisitionsShenzhenPanyingAssetManagementCoLtdDetails</Role>
      <ShortName>Acquisitions - Shenzhen Panying Asset Management Co., Ltd (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>40402 - Disclosure - Acquisitions - Shanghai Ziji Information Technology Co., Ltd (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureAcquisitionsShanghaiZijiInformationTechnologyCoLtdDetails</Role>
      <ShortName>Acquisitions - Shanghai Ziji Information Technology Co., Ltd (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>40403 - Disclosure - Acquisitions - Grand Doctor Medical Co., Ltd (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureAcquisitionsGrandDoctorMedicalCoLtdDetails</Role>
      <ShortName>Acquisitions - Grand Doctor Medical Co., Ltd (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>40501 - Disclosure - Deposits, Prepayments and Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureDepositsPrepaymentsAndOtherCurrentAssetsDetails</Role>
      <ShortName>Deposits, Prepayments and Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureDepositsPrepaymentsAndOtherCurrentAssetsTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>40601 - Disclosure - Property and Equipment, net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosurePropertyAndEquipmentNetDetails</Role>
      <ShortName>Property and Equipment, net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosurePropertyAndEquipmentNetTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>40701 - Disclosure - Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIntangibleAssetsNetDetails</Role>
      <ShortName>Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureIntangibleAssetsNetTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>40801 - Disclosure - Other Payables and Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilitiesDetails</Role>
      <ShortName>Other Payables and Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilitiesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>40802 - Disclosure - Other Payables and Accrued Liabilities - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOtherPayablesAndAccruedLiabilitiesNarrativeDetails</Role>
      <ShortName>Other Payables and Accrued Liabilities - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>40901 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>40902 - Disclosure - Income Taxes - Group's Income/(Loss) before tax (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesGroupSIncomeLossBeforeTaxDetails</Role>
      <ShortName>Income Taxes - Group's Income/(Loss) before tax (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>40903 - Disclosure - Income Taxes - PRC subsidiaries (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesPrcSubsidiariesDetails</Role>
      <ShortName>Income Taxes - PRC subsidiaries (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>40904 - Disclosure - Income Taxes - PRC statutory income tax rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesPrcStatutoryIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - PRC statutory income tax rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>40905 - Disclosure - Income Taxes - Group's deferred tax liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesGroupSDeferredTaxLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Group's deferred tax liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>40906 - Disclosure - Income Taxes - Group's deferred tax assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesGroupSDeferredTaxAssetsDetails</Role>
      <ShortName>Income Taxes - Group's deferred tax assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>40907 - Disclosure - Income Taxes - Group's deferred tax assets valuation allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesGroupSDeferredTaxAssetsValuationAllowanceDetails</Role>
      <ShortName>Income Taxes - Group's deferred tax assets valuation allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>40908 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureIncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>41001 - Disclosure - Redeemable noncontrolling interest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRedeemableNoncontrollingInterestDetails</Role>
      <ShortName>Redeemable noncontrolling interest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureRedeemableNoncontrollingInterest</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>41101 - Disclosure - Ordinary Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureOrdinarySharesDetails</Role>
      <ShortName>Ordinary Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureOrdinaryShares</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>41201 - Disclosure - Restricted Net Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsDetails</Role>
      <ShortName>Restricted Net Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>41202 - Disclosure - Restricted Net Assets - Balance Sheets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsBalanceSheetsDetails</Role>
      <ShortName>Restricted Net Assets - Balance Sheets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>41203 - Disclosure - Restricted Net Assets - Statements of Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsStatementsOfOperationsDetails</Role>
      <ShortName>Restricted Net Assets - Statements of Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>41204 - Disclosure - Restricted Net Assets - Statements of Cash Flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRestrictedNetAssetsStatementsOfCashFlowsDetails</Role>
      <ShortName>Restricted Net Assets - Statements of Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>41301 - Disclosure - Employee Defined Contribution Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureEmployeeDefinedContributionPlanDetails</Role>
      <ShortName>Employee Defined Contribution Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureEmployeeDefinedContributionPlan</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>41401 - Disclosure - Concentration of Risk (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureConcentrationOfRiskDetails</Role>
      <ShortName>Concentration of Risk (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureConcentrationOfRiskTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>41501 - Disclosure - Related Party Balances and Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactionsDetails</Role>
      <ShortName>Related Party Balances and Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactionsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>41502 - Disclosure - Related Party Balances and Transactions - Summarized by nature (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureRelatedPartyBalancesAndTransactionsSummarizedByNatureDetails</Role>
      <ShortName>Related Party Balances and Transactions - Summarized by nature (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>41601 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureCommitmentsAndContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureCommitmentsAndContingenciesTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>41701 - Disclosure - Share-based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationDetails</Role>
      <ShortName>Share-based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>41702 - Disclosure - Share-based Compensation - Weighted Average (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationWeightedAverageDetails</Role>
      <ShortName>Share-based Compensation - Weighted Average (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>41703 - Disclosure - Share-based Compensation - Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationOptionsDetails</Role>
      <ShortName>Share-based Compensation - Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>41704 - Disclosure - Share-based Compensation - Fair value measurement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureShareBasedCompensationFairValueMeasurementDetails</Role>
      <ShortName>Share-based Compensation - Fair value measurement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="hyw-20220630x20f.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>41801 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.hywinwealth.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.hywinwealth.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>84</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 5 fact(s) appearing in ix:hidden were eligible for transformation: dei:CurrentFiscalYearEndDate, us-gaap:CommonStockSharesIssued -  hyw-20220630x20f.htm 9</Log>
  </Logs>
  <InputFiles>
    <File doctype="20-F" original="hyw-20220630x20f.htm">hyw-20220630x20f.htm</File>
    <File>hyw-20220630.xsd</File>
    <File>hyw-20220630_cal.xml</File>
    <File>hyw-20220630_def.xml</File>
    <File>hyw-20220630_lab.xml</File>
    <File>hyw-20220630_pre.xml</File>
    <File>hyw-20220630xex12d1.htm</File>
    <File>hyw-20220630xex12d2.htm</File>
    <File>hyw-20220630xex13d1.htm</File>
    <File>hyw-20220630xex13d2.htm</File>
    <File>hyw-20220630xex15d1.htm</File>
    <File>hyw-20220630xex15d2.htm</File>
    <File>hyw-20220630xex15d3.htm</File>
    <File>hyw-20220630xex2d4.htm</File>
    <File>hyw-20220630xex4d10.htm</File>
    <File>hyw-20220630xex4d6.htm</File>
    <File>hyw-20220630xex4d8.htm</File>
    <File>hyw-20220630xex4d9.htm</File>
    <File>hyw-20220630xex8d1.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>hyw-20220630x20f001.jpg</File>
    <File>hyw-20220630x20f003.jpg</File>
    <File>hyw-20220630x20f004.jpg</File>
    <File>hyw-20220630x20f006.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3">http://fasb.org/srt/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="1006">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="51">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
