<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c_offering_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_offering_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
        </entity>
        <period>
            <startDate>2026-06-11</startDate>
            <endDate>2026-06-11</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c_report" id="fee_001">S-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="fee_002">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="fee_003">0001580149</dei:EntityCentralIndexKey>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_004" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_005">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c_report" id="fee_006">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_007">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_008">BIOVIE INC.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c_offering_1" id="fee_009">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_1" id="fee_010">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_1" id="fee_011">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_1" id="fee_012">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_013">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_014">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_015">Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_2" id="fee_016">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_3" id="fee_017">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_3" id="fee_018">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_3" id="fee_019">Preferred Stock, par value $0.001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_3" id="fee_020">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_4" id="fee_021">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_4" id="fee_022">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_4" id="fee_023">Rights</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_4" id="fee_024">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_5" id="fee_025">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_5" id="fee_026">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_5" id="fee_027">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_5" id="fee_028">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_6" id="fee_029">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_6" id="fee_030">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_6" id="fee_031">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_6" id="fee_032">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="c_offering_7" id="fee_033">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_7" id="fee_034">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule457oFlg contextRef="c_offering_7" id="fee_035">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_036"
      unitRef="USD">300000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_037"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_7"
      decimals="INF"
      id="fee_038"
      unitRef="USD">41430.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_039"
      unitRef="USD">300000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_040"
      unitRef="USD">41430.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_041"
      unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_042"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_043"
      unitRef="USD">41430.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_7" id="fee_044">The amount to be registered consists of up to $300,000,000 of an indeterminate amount of shares of Class A common stock, shares of preferred stock, warrants, debt securities, rights and/or units that may be offered and sold from time to time in one or more offerings. In addition, pursuant to Rule 416(a) under the Securities Act of 1933, as amended, this Registration Statement also covers such indeterminate number of additional shares of Class A common stock and preferred stock as may become issuable with respect to the shares being registered hereunder to prevent dilution in the event of a reorganization, reclassification, stock split, dividend or distribution, or any similar transaction. This Registration Statement also covers such indeterminate number of shares of common stock and preferred stock and amount of debt securities as may be issued upon conversion of or exchange for shares of preferred stock or debt securities that provide for conversion or exchange, upon exercise of warrants or rights or pursuant to the anti-dilution provisions of any such securities.</ffd:OfferingNote>
</xbrl>
