<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2025"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001513363-20260529.xsd" xlink:type="simple"/>
    <context id="P05_29_2026To05_29_2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001513363</identifier>
        </entity>
        <period>
            <startDate>2026-05-29</startDate>
            <endDate>2026-05-29</endDate>
        </period>
    </context>
    <unit id="Unit_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:AmendmentFlag contextRef="P05_29_2026To05_29_2026" id="ixv-337">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="P05_29_2026To05_29_2026" id="ixv-338">0001513363</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="P05_29_2026To05_29_2026" id="ixv-350">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="P05_29_2026To05_29_2026" id="ixv-351">2026-05-29</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName contextRef="P05_29_2026To05_29_2026" id="ixv-352">Fidus Investment Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="P05_29_2026To05_29_2026" id="ixv-353">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="P05_29_2026To05_29_2026" id="ixv-354">814-00861</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="P05_29_2026To05_29_2026" id="ixv-355">27-5017321</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="P05_29_2026To05_29_2026" id="ixv-356">1603 Orrington Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="P05_29_2026To05_29_2026" id="ixv-357">Suite 1005</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="P05_29_2026To05_29_2026" id="ixv-358">Evanston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="P05_29_2026To05_29_2026" id="ixv-359">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="P05_29_2026To05_29_2026" id="ixv-360">60201</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="P05_29_2026To05_29_2026" id="ixv-361">847</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="P05_29_2026To05_29_2026" id="ixv-362">859-3940</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="P05_29_2026To05_29_2026" id="ixv-363">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="P05_29_2026To05_29_2026" id="ixv-364">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="P05_29_2026To05_29_2026" id="ixv-365">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="P05_29_2026To05_29_2026" id="ixv-366">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="P05_29_2026To05_29_2026" id="ixv-367">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="P05_29_2026To05_29_2026" id="ixv-368">FDUS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="P05_29_2026To05_29_2026" id="ixv-369">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="P05_29_2026To05_29_2026" id="ixv-370">false</dei:EntityEmergingGrowthCompany>
    <cef:LongTermDebtTableTextBlock contextRef="P05_29_2026To05_29_2026" id="ixv-202">&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;In connection with the issuance and sale of the 6.625% Senior Unsecured Notes due June&#160;1, 2029 (the &#x201c;2029 Notes&#x201d; and the issuance and sale of the 2029 Notes, the &#x201c;Offering&#x201d;) of Fidus Investment Corporation (the &#x201c;Company&#x201d;), the Company entered into a Registration Rights Agreement, dated as of May&#160;29, 2026 (the &#x201c;Registration Rights Agreement&#x201d;), with the institutional purchasers in the Offering (the &#x201c;Purchasers&#x201d;). Pursuant to the Registration Rights Agreement, the Company is obligated to file with the Securities and Exchange Commission a registration statement with respect to an offer to exchange the 2029 Notes for a new issue of debt securities registered under the Securities Act of 1933, as amended (the &#x201c;Securities Act&#x201d;), with terms substantially identical to those of the 2029 Notes (except for provisions relating to transfer restrictions and payment of additional interest) and to use its commercially reasonable efforts to consummate such exchange offer on the earliest practicable date after the registration statement has been declared effective but in no event later than 365 days after the initial issuance of the 2029 Notes. If the Company fails to satisfy its registration obligations under the Registration Rights Agreement, the Company will be required to pay additional interest to the holder of the 2029 Notes. &lt;/div&gt;&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;The description above is only a summary of the material provisions of the Registration Rights Agreement and is qualified in its entirety by reference to the Registration Rights Agreement, which is filed as Exhibit 4.1 hereto and incorporated by reference herein. &lt;/div&gt;</cef:LongTermDebtTableTextBlock>
    <cef:LongTermDebtTitleTextBlock contextRef="P05_29_2026To05_29_2026" id="ixv-371">6.625% Senior Unsecured Notes due June&#160;1, 2029</cef:LongTermDebtTitleTextBlock>
    <cef:LongTermDebtDividendsAndCovenantsTextBlock contextRef="P05_29_2026To05_29_2026" id="ixv-225">&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;On May&#160;29, 2026, the Company entered into a Note Purchase Agreement (the &#x201c;Note Purchase Agreement&#x201d;) with the Purchasers, which Note Purchase Agreement relates to the Company&#x2019;s sale of $&lt;div style="display:inline;"&gt;120.0&lt;/div&gt;&#160;million in aggregate principal amount of the 2029 Notes to the Purchasers in a private placement in reliance on Section&#160;4(a)(2)&#160;of the Securities Act. The Company is relying upon this exemption from registration based in part on representations made by the Purchasers. The Note Purchase Agreement also includes customary representations, warranties and covenants by the Company. The 2029 Notes have not been registered under the Securities Act and may not be offered or sold in the United States absent registration or an applicable exemption from registration. &lt;/div&gt;</cef:LongTermDebtDividendsAndCovenantsTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="P05_29_2026To05_29_2026"
      decimals="-5"
      id="ixv-372"
      unitRef="Unit_USD">120000000</cef:LongTermDebtPrincipal>
    <cef:OutstandingSecuritiesTableTextBlock contextRef="P05_29_2026To05_29_2026" id="ixv-228">&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;The 2029 Notes will mature on June&#160;1, 2029 and&#160;may be redeemed in whole or in part at the Company&#x2019;s option at any time prior to March&#160;1, 2029 at par plus a &#x201c;make-whole&#x201d; premium, and thereafter at par.&#160;The 2029 Notes bear interest at a rate of 6.625% per year payable semi-annually on June&#160;1 and December&#160;1 of each year, commencing on December&#160;1, 2026. The 2029 Notes are the Company&#x2019;s direct unsecured obligations and rank: &lt;div style="font-style: normal; letter-spacing: 0px; top: 0px;display:inline;"&gt;&lt;div style="font-style:italic;display:inline;"&gt;pari passu&lt;/div&gt;&lt;/div&gt;&#160;with the Company&#x2019;s other outstanding and future unsecured, unsubordinated indebtedness; senior to any of the Company&#x2019;s future indebtedness that expressly provides it is subordinated to the 2029 Notes; effectively subordinated to all of the Company&#x2019;s existing and future secured indebtedness (including indebtedness that is initially unsecured in respect of which the Company has granted or subsequently grants security), to the extent of the value of the assets securing such indebtedness; and structurally subordinated to all existing and future indebtedness and other obligations of any of the Company&#x2019;s subsidiaries. &lt;/div&gt;&lt;div style="margin-top:12pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;The closing of the private placement occurred on May&#160;29, 2026. The net proceeds from the sale of the 2029 Notes were approximately $117.6&#160;million, based on an offering price of 99.45% per Note, after deducting the placement agent fee of $1.5&#160;million and estimated offering expenses of approximately $0.3&#160;million, each payable by the Company.&#160;The Company intends to use the net proceeds from the Offering together with cash to fully redeem the Company&#x2019;s outstanding 3.50% Notes due 2026 (CUSIP No.&#160;316500 AC1) (the &#x201c;2026 Notes&#x201d;). &lt;/div&gt;&lt;div style="margin-top:18pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman;font-weight:bold"&gt;Redemption of 2026 Notes &lt;/div&gt;&lt;div style="margin-top:6pt; margin-bottom:0pt; font-size:10pt; font-family:Times New Roman"&gt;On May&#160;29, 2026, the Company caused notices to be issued to the holders of the 2026 Notes regarding the Company&#x2019;s exercise of its option to redeem, in full, $125.0&#160;million in aggregate principal amount of the issued and outstanding 2026 Notes, pursuant to Section&#160;1104 of the Base Indenture and Section&#160;1.01(h) of the Fifth Supplemental Indenture, dated as of October&#160;8, 2021, by and between the Company and U.S. Bank Trust Company, National Association (as successor in interest to U.S. Bank National Association), as trustee. The Company will redeem $125.0&#160;million in aggregate principal amount of the issued and outstanding 2026 Notes on June&#160;29, 2026 (the &#x201c;Redemption Date&#x201d;). The redemption price for the 2026 Notes equals 100% of the $125.0&#160;million aggregate principal amount of the 2026 Notes being redeemed on the Redemption Date, plus (i)&#160;accrued and unpaid interest to, but excluding, the Redemption Date and (ii)&#160;a &#x201c;make-whole&#x201d; premium.&#160;A copy of the notice of redemption of the 2026 Notes is filed as Exhibit 99.1 hereto and incorporated by reference herein. &lt;/div&gt;</cef:OutstandingSecuritiesTableTextBlock>
    <cef:OutstandingSecurityTitleTextBlock contextRef="P05_29_2026To05_29_2026" id="ixv-373">3.50% Notes due 2026</cef:OutstandingSecurityTitleTextBlock>
</xbrl>
