<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2022"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:us-gaap="http://fasb.org/us-gaap/2022"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bq-20220331.xsd" xlink:type="simple"/>
    <context id="P04_01_2021To03_31_2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
        </entity>
        <period>
            <startDate>2021-04-01</startDate>
            <endDate>2022-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:BusinessContactMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-01</startDate>
            <endDate>2022-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2021To03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonClassAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-01</startDate>
            <endDate>2022-03-31</endDate>
        </period>
    </context>
    <context id="P04_01_2021To03_31_2022_AdrMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">dei:AdrMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-04-01</startDate>
            <endDate>2022-03-31</endDate>
        </period>
    </context>
    <context id="PAsOn03_31_2022_CommonStockMemberusgaapStatementEquityComponentsAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementEquityComponentsAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-03-31</instant>
        </period>
    </context>
    <context id="PAsOn03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonClassAMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-03-31</instant>
        </period>
    </context>
    <context id="PAsOn03_31_2022_CommonClassBMemberusgaapStatementClassOfStockAxis">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001815021</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonClassBMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-03-31</instant>
        </period>
    </context>
    <unit id="Unit_shares">
        <measure>shares</measure>
    </unit>
    <dei:DocumentType contextRef="P04_01_2021To03_31_2022" id="hidden69876680">20-F/A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="P04_01_2021To03_31_2022">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="P04_01_2021To03_31_2022">FY</dei:DocumentFiscalPeriodFocus>
    <dei:EntityRegistrantName contextRef="P04_01_2021To03_31_2022" id="hidden69876688">Boqii Holding Ltd</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="P04_01_2021To03_31_2022">0001815021</dei:EntityCentralIndexKey>
    <dei:Security12bTitle
      contextRef="P04_01_2021To03_31_2022_AdrMemberusgaapStatementClassOfStockAxis"
      id="hidden69876723">American depositary shares, each ADS represents 4.5 Class A ordinary shares, par value US$0.001 per share</dei:Security12bTitle>
    <dei:NoTradingSymbolFlag
      contextRef="P04_01_2021To03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis"
      id="hidden69876724">true</dei:NoTradingSymbolFlag>
    <dei:EntityIncorporationStateCountryCode contextRef="P04_01_2021To03_31_2022" id="hidden69876726">E9</dei:EntityIncorporationStateCountryCode>
    <dei:DocumentRegistrationStatement contextRef="P04_01_2021To03_31_2022">false</dei:DocumentRegistrationStatement>
    <dei:DocumentAnnualReport contextRef="P04_01_2021To03_31_2022">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="P04_01_2021To03_31_2022">2022-03-31</dei:DocumentPeriodEndDate>
    <dei:CurrentFiscalYearEndDate contextRef="P04_01_2021To03_31_2022">--03-31</dei:CurrentFiscalYearEndDate>
    <dei:DocumentFiscalYearFocus contextRef="P04_01_2021To03_31_2022">2022</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="P04_01_2021To03_31_2022">false</dei:DocumentTransitionReport>
    <dei:DocumentShellCompanyReport contextRef="P04_01_2021To03_31_2022">false</dei:DocumentShellCompanyReport>
    <dei:EntityFileNumber contextRef="P04_01_2021To03_31_2022">001-39547</dei:EntityFileNumber>
    <dei:EntityAddressAddressLine1 contextRef="P04_01_2021To03_31_2022">Building 9, No. 388, Shengrong Road, Pudong</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="P04_01_2021To03_31_2022">New District</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="P04_01_2021To03_31_2022">Shanghai</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="P04_01_2021To03_31_2022">201210</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="P04_01_2021To03_31_2022">CN</dei:EntityAddressCountry>
    <dei:ContactPersonnelName contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">Yingzhi (Lisa) Tang</dei:ContactPersonnelName>
    <dei:ContactPersonnelFaxNumber contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">180 1851 3366</dei:ContactPersonnelFaxNumber>
    <dei:EntityAddressAddressLine1 contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">Building 9, No. 388, Shengrong Road, Pudong</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">New District</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">Shanghai</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">201210</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="P04_01_2021To03_31_2022_BusinessContactMemberdeiEntityAddressesAddressTypeAxis">CN</dei:EntityAddressCountry>
    <dei:TradingSymbol contextRef="P04_01_2021To03_31_2022_AdrMemberusgaapStatementClassOfStockAxis">BQ</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P04_01_2021To03_31_2022_AdrMemberusgaapStatementClassOfStockAxis">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle contextRef="P04_01_2021To03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis">Class A ordinary shares, par value US$0.001 per share</dei:Security12bTitle>
    <dei:SecurityExchangeName contextRef="P04_01_2021To03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis">NYSE</dei:SecurityExchangeName>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="PAsOn03_31_2022_CommonStockMemberusgaapStatementEquityComponentsAxis"
      decimals="INF"
      unitRef="Unit_shares">68747320</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="PAsOn03_31_2022_CommonClassAMemberusgaapStatementClassOfStockAxis"
      decimals="INF"
      unitRef="Unit_shares">55709591</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="PAsOn03_31_2022_CommonClassBMemberusgaapStatementClassOfStockAxis"
      decimals="INF"
      unitRef="Unit_shares">13037729</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityWellKnownSeasonedIssuer contextRef="P04_01_2021To03_31_2022">No</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="P04_01_2021To03_31_2022">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="P04_01_2021To03_31_2022">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="P04_01_2021To03_31_2022">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="P04_01_2021To03_31_2022">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntityEmergingGrowthCompany contextRef="P04_01_2021To03_31_2022">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="P04_01_2021To03_31_2022">false</dei:EntityExTransitionPeriod>
    <dei:IcfrAuditorAttestationFlag contextRef="P04_01_2021To03_31_2022">false</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentAccountingStandard contextRef="P04_01_2021To03_31_2022">U.S. GAAP</dei:DocumentAccountingStandard>
    <dei:EntityShellCompany contextRef="P04_01_2021To03_31_2022">false</dei:EntityShellCompany>
    <dei:AuditorName contextRef="P04_01_2021To03_31_2022">PricewaterhouseCoopers Zhong Tian LLP</dei:AuditorName>
    <dei:AuditorLocation contextRef="P04_01_2021To03_31_2022">Shanghai, the People&#x2019;s Republic of China</dei:AuditorLocation>
    <dei:AuditorFirmId contextRef="P04_01_2021To03_31_2022">1424</dei:AuditorFirmId>
    <dei:AmendmentDescription contextRef="P04_01_2021To03_31_2022">This Amendment No.&#160;1 (the &#x201c;Amendment&#x201d;) to the Annual Report on Form 20-F of Boqii Holding Limited (the &#x201c;Company&#x201d;) for the fiscal year ended March&#160;31, 2022, originally filed with the Securities and Exchange Commission (the &#x201c;SEC&#x201d;) on July&#160;27, 2022 (the &#x201c;Original Filing&#x201d;), is being filed solely to include revised officers&#x2019; certifications contained in Exhibits 12.1 and 12.2 in response to certain comment of the staff of the SEC. This Amendment contains only the cover page, this explanatory note, the exhibit index, the signature page and the revised certifications. Because no financial statements are included with this Amendment, paragraph 3 of the Section&#160;302 certifications has been omitted.  Except for the foregoing, this Amendment does not alter or update any other information contained in the Original Filing. The Original Filing continues to speak as of the date of the Original Filing. Accordingly, this Amendment should be read in conjunction with the Original Filing, and the Company&#x2019;s filings made with the SEC subsequent to the filing of the Original Filing. </dei:AmendmentDescription>
</xbrl>
