<?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:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001580149</identifier>
        </entity>
        <period>
            <startDate>2026-09-11</startDate>
            <endDate>2026-09-11</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c_report" id="fee_001">424B5</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:RegnFileNb contextRef="c_report" id="fee_004">333-296924</ffd:RegnFileNb>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_005">N/A</ffd:OfferingTableNa>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_006">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c_report" id="fee_007">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_008">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_009">BioVie Inc.</dei:EntityRegistrantName>
    <ffd:NrrtvMaxAggtAmt
      contextRef="c_report"
      decimals="0"
      id="ixv-40"
      unitRef="shares">6464341</ffd:NrrtvMaxAggtAmt>
    <ffd:FnlPrspctsFlg contextRef="c_report" id="ixv-41">true</ffd:FnlPrspctsFlg>
    <ffd:NrrtvDsclsr contextRef="c_report" id="ixv-42">The maximum aggregate offering price of the securities to which the prospectus relates is $6,464,341. The prospectus is a final prospectus for the related offering. The prospectus supplement to which this exhibit is attached is a final prospectus for the related offering and relates to the Registration Statement on Form S-3 (No. 333-296924) filed by BioVie Inc. on June 18, 2026 and declared effective on June 29, 2026.</ffd:NrrtvDsclsr>
</xbrl>
