<?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-20260331.xsd" xlink:type="simple"/>
    <context id="P04_01_2025To03_31_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001321741</identifier>
        </entity>
        <period>
            <startDate>2025-04-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="P04_01_2025To03_31_2026" id="hidden167096005">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="P04_01_2025To03_31_2026" id="ixv-6730">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="P04_01_2025To03_31_2026" id="hidden167096011">GLADSTONE INVESTMENT CORPORATION\DE</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="P04_01_2025To03_31_2026" id="ixv-6743">0001321741</dei:EntityCentralIndexKey>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="P04_01_2025To03_31_2026" id="ixv-6749">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
</xbrl>
