<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>200</ContextCount>
  <ElementCount>323</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>63</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00000002 - Statement - Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/BalanceSheets</Role>
      <ShortName>Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/BalanceSheetsParenthetical</Role>
      <ShortName>Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/StatementsOfOperations</Role>
      <ShortName>Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - Statements of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/StatementsOfChangesInStockholdersEquity</Role>
      <ShortName>Statements of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Statement - Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/StatementsOfCashFlows</Role>
      <ShortName>Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>00000007 - Disclosure - Background Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/BackgroundInformation</Role>
      <ShortName>Background Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>00000008 - Disclosure - Liquidity and Going Concern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LiquidityAndGoingConcern</Role>
      <ShortName>Liquidity and Going Concern</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>00000009 - Disclosure - Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SignificantAccountingPolicies</Role>
      <ShortName>Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>00000010 - Disclosure - Investments in U.S. Treasury Bills available for sale</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSale</Role>
      <ShortName>Investments in U.S. Treasury Bills available for sale</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>00000011 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>00000012 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/RelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>00000013 - Disclosure - Other Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/OtherLiabilities</Role>
      <ShortName>Other Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>00000014 - Disclosure - Notes Payable</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://bioviepharma.com/role/NotesPayable</Role>
      <ShortName>Notes Payable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>00000015 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>00000016 - Disclosure - Equity Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactions</Role>
      <ShortName>Equity Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>00000017 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>00000018 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>00000019 - Disclosure - Employee Benefit Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EmployeeBenefitPlan</Role>
      <ShortName>Employee Benefit Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>00000020 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>00000021 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>00000022 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SignificantAccountingPoliciesPolicies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>00000023 - Disclosure - Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SignificantAccountingPoliciesTables</Role>
      <ShortName>Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/SignificantAccountingPolicies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>00000024 - Disclosure - Investments in U.S. Treasury Bills available for sale (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSaleTables</Role>
      <ShortName>Investments in U.S. Treasury Bills available for sale (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSale</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>00000025 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IntangibleAssets</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>00000026 - Disclosure - Notes Payable (Tables)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://bioviepharma.com/role/NotesPayableTables</Role>
      <ShortName>Notes Payable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/NotesPayable</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>00000027 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/FairValueMeasurements</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>00000028 - Disclosure - Equity Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsTables</Role>
      <ShortName>Equity Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactions</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>00000029 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/Leases</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>00000030 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IncomeTaxes</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>00000031 - Disclosure - Liquidity and Going Concern (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LiquidityAndGoingConcernDetailsNarrative</Role>
      <ShortName>Liquidity and Going Concern (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/LiquidityAndGoingConcern</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>00000032 - Disclosure - Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SignificantAccountingPoliciesDetails</Role>
      <ShortName>Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>00000033 - Disclosure - Significant Accounting Policies (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>Significant Accounting Policies (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/SignificantAccountingPoliciesTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>00000034 - Disclosure - Investments in U.S. Treasury Bills available for sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSaleDetails</Role>
      <ShortName>Investments in U.S. Treasury Bills available for sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSaleTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>00000035 - Disclosure - Investments in U.S. Treasury Bills available for sale (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSaleDetailsNarrative</Role>
      <ShortName>Investments in U.S. Treasury Bills available for sale (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/InvestmentsInU.s.TreasuryBillsAvailableForSaleTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>00000036 - Disclosure - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IntangibleAssetsTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>00000037 - Disclosure - Intangible Assets (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IntangibleAssetsDetails1</Role>
      <ShortName>Intangible Assets (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IntangibleAssetsTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>00000038 - Disclosure - Intangible Assets (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IntangibleAssetsDetailsNarrative</Role>
      <ShortName>Intangible Assets (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IntangibleAssetsTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>00000039 - Disclosure - Related Party Transactions (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/RelatedPartyTransactionsDetailsNarrative</Role>
      <ShortName>Related Party Transactions (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/RelatedPartyTransactions</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>00000040 - Disclosure - Other Liabilities (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/OtherLiabilitiesDetailsNarrative</Role>
      <ShortName>Other Liabilities (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/OtherLiabilities</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>00000041 - Disclosure - Notes Payable (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://bioviepharma.com/role/NotesPayableDetails</Role>
      <ShortName>Notes Payable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/NotesPayableTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>00000042 - Disclosure - Notes Payable (Details 1)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://bioviepharma.com/role/NotesPayableDetails1</Role>
      <ShortName>Notes Payable (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/NotesPayableTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>00000043 - Disclosure - Notes Payable (Details Narrative)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://bioviepharma.com/role/NotesPayableDetailsNarrative</Role>
      <ShortName>Notes Payable (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/NotesPayableTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>00000044 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>00000045 - Disclosure - Fair Value Measurements (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurementsDetails1</Role>
      <ShortName>Fair Value Measurements (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>00000046 - Disclosure - Fair Value Measurements (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurementsDetails2</Role>
      <ShortName>Fair Value Measurements (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>00000047 - Disclosure - Fair Value Measurements (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/FairValueMeasurementsDetailsNarrative</Role>
      <ShortName>Fair Value Measurements (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>00000048 - Disclosure - Equity Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetails</Role>
      <ShortName>Equity Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>00000049 - Disclosure - Equity Transactions (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetails1</Role>
      <ShortName>Equity Transactions (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>00000050 - Disclosure - Equity Transactions (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetails2</Role>
      <ShortName>Equity Transactions (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>00000051 - Disclosure - Equity Transactions (Details 3)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetails3</Role>
      <ShortName>Equity Transactions (Details 3)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>00000052 - Disclosure - Equity Transactions (Details 4)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetails4</Role>
      <ShortName>Equity Transactions (Details 4)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>00000053 - Disclosure - Equity Transactions (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EquityTransactionsDetailsNarrative</Role>
      <ShortName>Equity Transactions (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EquityTransactionsTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>00000054 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/LeasesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>00000055 - Disclosure - Leases (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LeasesDetails1</Role>
      <ShortName>Leases (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/LeasesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>00000056 - Disclosure - Leases (Details 2)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LeasesDetails2</Role>
      <ShortName>Leases (Details 2)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/LeasesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>00000057 - Disclosure - Leases (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/LeasesDetailsNarrative</Role>
      <ShortName>Leases (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/LeasesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>00000058 - Disclosure - Employee Benefit Plan (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/EmployeeBenefitPlanDetailsNarrative</Role>
      <ShortName>Employee Benefit Plan (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/EmployeeBenefitPlan</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>00000059 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>00000060 - Disclosure - Income Taxes (Details 1)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IncomeTaxesDetails1</Role>
      <ShortName>Income Taxes (Details 1)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>00000061 - Disclosure - Income Taxes (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/IncomeTaxesDetailsNarrative</Role>
      <ShortName>Income Taxes (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="bivi-20230630_10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>00000062 - Disclosure - Subsequent Events (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://bioviepharma.com/role/SubsequentEventsDetailsNarrative</Role>
      <ShortName>Subsequent Events (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://bioviepharma.com/role/SubsequentEvents</ParentRole>
      <Position>62</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="10-K" original="bivi-20230630_10k.htm">bivi-20230630_10k.htm</File>
    <File>bivi-20230630.xsd</File>
    <File>bivi-20230630_10kex23z1.htm</File>
    <File>bivi-20230630_10kex31z1.htm</File>
    <File>bivi-20230630_10kex31z2.htm</File>
    <File>bivi-20230630_10kex32z1.htm</File>
    <File>bivi-20230630_10kex32z2.htm</File>
    <File>bivi-20230630_cal.xml</File>
    <File>bivi-20230630_def.xml</File>
    <File>bivi-20230630_lab.xml</File>
    <File>bivi-20230630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image_001.jpg</File>
    <File>image_003.jpg</File>
    <File>image_004.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="654">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
