<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gain-20250331.xsd" xlink:type="simple"/>
    <context id="P04_01_2024To03_31_2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001321741</identifier>
        </entity>
        <period>
            <startDate>2024-04-01</startDate>
            <endDate>2025-03-31</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="P04_01_2024To03_31_2025" id="hidden164846122">PRE 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="P04_01_2024To03_31_2025" id="ixv-6015">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="P04_01_2024To03_31_2025" id="hidden164846123">GLADSTONE INVESTMENT CORPORATION\DE</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="P04_01_2024To03_31_2025" id="ixv-6028">0001321741</dei:EntityCentralIndexKey>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="P04_01_2024To03_31_2025" id="ixv-6034">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
</xbrl>
