<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="fdus-20250306.xsd" xlink:type="simple"/>
    <context id="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001513363</identifier>
        </entity>
        <period>
            <startDate>2025-03-06</startDate>
            <endDate>2025-03-06</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_d2b67df4-0f22-4a44-b6d7-2c4a7a191bda">0001513363</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_93837bc2-8151-4def-8a52-0c1c254e593e">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_e0e56b76-17cb-44aa-8c80-7cd7d9f0e5ed">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_529b708c-396b-44d3-b68f-d65cf1a4b5c8">2026-02-26</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_3709e71b-1147-49be-91b3-b32fbac3df35">Fidus Investment Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_fe80dbea-4cca-44fa-a7a7-6561c7a9ccb5">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_69cb32bd-818a-4b05-8491-5a8249c329ff">814-00861</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_ef4ee308-620c-4476-8d89-73627394dcf8">27-5017321</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_4049cfbb-0fd7-4eae-b87b-cec8a3b804d7">1603 Orrington Avenue</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_802e77c2-7e1e-4371-a5fa-9c205c417ecf">Suite 1005</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_644a978b-6c6f-4318-a3cb-24d02c2a13bf">Evanston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_f8cf4c13-9ca4-42ad-8d5b-08e9663ae184">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_d2c19a70-35a8-4ac6-a755-f879f6646216">60201</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_cc028dd9-d0c5-47d2-9543-134ae1859149">847</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_a2cecba1-8694-4183-a331-728626f41667">859-3940</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_43c18d59-5af4-43b6-b004-0ccbd9296270">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_8901194d-551b-4718-a821-f1eef6678165">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_03ef7d86-8d94-47e1-ba59-0633e3f73c12">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_9620439b-1935-448b-9c16-efe2710444bf">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_189713c8-ba99-4b20-a8b4-94bda29c3ff1">Common Stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_6d3bc930-59fe-4502-9f64-70c8c3f5e6bf">FDUS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_a460d239-7e2c-4371-ba3c-d51e640801fb">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_073edba1-a14b-4492-8eaf-3a2e4854ccfc"
      id="F_a685ac1f-3bcc-4f8c-ac3e-74302665ac8a">false</dei:EntityEmergingGrowthCompany>
</xbrl>
