<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cef="http://xbrl.sec.gov/cef/2026"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:rway="http://runwaygrowth.com/20261001"
  xmlns:us-gaap="http://fasb.org/us-gaap/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="rway-20261001.xsd" xlink:type="simple"/>
    <context id="C_8828dc72-b832-46a7-8ee5-048cd2293112">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001653384</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">rway:NotesDue2027Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <context id="C_948befe8-593e-4ca0-b811-08773fb01e82">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001653384</identifier>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <context id="C_fe3d3f13-c3a3-4464-9c6b-e0a26dd74eb9">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001653384</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">rway:Sec750NotesDue2027Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <context id="C_0002fc8f-8831-46b0-b28e-325712d121e7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001653384</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">rway:Notes725Due2031Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <context id="C_6700ad46-2415-4b0b-a0e7-1ce1f600b11b">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001653384</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">rway:CommonStockParValue001PerShareMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-01</startDate>
            <endDate>2026-10-01</endDate>
        </period>
    </context>
    <unit id="U_USD">
        <measure>iso4217:USD</measure>
    </unit>
    <dei:AmendmentFlag
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_123633cf-003f-41a8-8068-910a21ba5092">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_7611a8a5-e4b0-43b8-8a9c-3e1e7d44277c">0001653384</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_6b767791-1a1f-45f5-87fc-a26e6c178ddc">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_7dc08951-f14c-4794-a92a-4982aca038f3">2026-10-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_3d91300b-10e8-4a0d-afdc-98230a19adf7">Runway Growth Finance Corp.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_acb01a68-88d8-456e-b56a-ae70997e3760">MD</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_903a6a6f-9e02-4b5e-9a01-64267df9c47c">814-01180</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_237f04a3-36fc-4bcf-a3c0-049bd272f3d0">47-5049745</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_e4c41a08-2a87-4f26-a531-c0e455e45052">205 N. Michigan Ave.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_86d660a5-e447-491b-8679-141e9466524b">Suite 4200</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_1c3a4a4f-4ef9-4c14-902b-c3a31dc48e95">Chicago</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_fd4153a0-a921-42f9-bb04-ff7bab05de2e">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_fcb7fe88-4c63-42b0-870c-49a2b771637d">60601</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_9b9040d3-cb26-403f-9d61-f34fd4ef15b3">(312)</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_d697f824-6278-4c43-8245-1329ccb15c18">698-6902</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_a21999ff-4316-4be8-b028-da27878863b9">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_3fa5c9e7-17e0-4fce-9d2b-fe8c7bb637e7">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_2639789b-68dd-44dc-8735-46b514dbf67e">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_dfc3476d-4e10-4b01-a5f1-0a3530136996">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_6700ad46-2415-4b0b-a0e7-1ce1f600b11b"
      id="F_3c2cab0a-4f1c-4072-ae46-84c1430fda5f">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_6700ad46-2415-4b0b-a0e7-1ce1f600b11b"
      id="F_cf83c336-48c0-4395-ba2e-273ab15c4d30">RWAY</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_6700ad46-2415-4b0b-a0e7-1ce1f600b11b"
      id="F_74708719-dd7d-45c6-aad5-321d5056dc34">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="C_fe3d3f13-c3a3-4464-9c6b-e0a26dd74eb9"
      id="F_f0a50bab-e2ca-4a59-8031-ac1e65434c96">7.50% Notes due 2027</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_fe3d3f13-c3a3-4464-9c6b-e0a26dd74eb9"
      id="F_f638062e-033f-4b2a-8120-be1367a29230">RWAYL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_fe3d3f13-c3a3-4464-9c6b-e0a26dd74eb9"
      id="F_a9943be7-53b1-4822-b1f7-ef3f46e37ac6">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="C_0002fc8f-8831-46b0-b28e-325712d121e7"
      id="F_8af141e7-60dd-4ea8-bbb1-3dadb38e38a9">7.25% Notes due 2031</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_0002fc8f-8831-46b0-b28e-325712d121e7"
      id="F_fde07ba7-bd5a-4c1e-a3ff-120c6c86104f">RWAYI</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_0002fc8f-8831-46b0-b28e-325712d121e7"
      id="F_2920681f-a756-4b5f-a32e-629699255683">NASDAQ</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="C_8828dc72-b832-46a7-8ee5-048cd2293112"
      id="F_1a88720d-3789-4d8b-a7a8-8ea077dcacaa">9.00% Notes due 2027</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_8828dc72-b832-46a7-8ee5-048cd2293112"
      id="F_a349c431-493c-4223-8ed5-947c35ef1d80">SWKHL</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_8828dc72-b832-46a7-8ee5-048cd2293112"
      id="F_78d36702-c35e-4a8a-aa03-611e1e508361">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_38d32508-eef8-4d96-bc87-12e1406c83e6">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_d546781a-6b61-482c-b9c0-8023e288ab5c">false</dei:EntityExTransitionPeriod>
    <us-gaap:LongTermDebtTextBlock
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_f836474a-c771-4136-b28e-8edda3632616">&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;On October 1, 2026, in connection with a previously announced public offering, Runway Growth Finance Corp. (the &#x201c;Company&#x201d;) and U.S. Bank Trust Company, National Association, as trustee (the &#x201c;Trustee&#x201d;), entered into the Fifth Supplemental Indenture (the &#x201c;Fifth Supplemental Indenture&#x201d;) to the Base Indenture, dated July 28, 2022, between the Company and the Trustee (together with the Fifth Supplemental Indenture, the &#x201c;Indenture&#x201d;). The Fifth Supplemental Indenture relates to the Company&#x2019;s issuance, offering and sale of $&lt;/span&gt;&lt;span style="font-size:10pt;font-family:Times New Roman;color:#000000;white-space:pre-wrap;font-kerning:none;min-width:fit-content;"&gt;46,329,125&lt;/span&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt; in aggregate principal amount of its 7.75% Notes due 2031 (the &#x201c;Notes&#x201d;).&lt;/span&gt;&lt;/p&gt;&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;The Notes will mature on October 1, 2031, unless previously redeemed or repurchased in accordance with their terms. The interest rate of the Notes is 7.75% per year and will be paid quarterly in arrears on March 1, June 1, September 1 and December 1 of each year, beginning on December 1, 2026. The Notes are the Company&#x2019;s direct unsecured obligations and rank pari passu with the Company&#x2019;s existing and future unsecured, unsubordinated indebtedness, including the Company&#x2019;s 7.50% Notes due 2027, 7.51% Series 2025A Senior Notes due 2028, 7.00% Notes due 2029, 7.25% Notes due 2031 and the SWK 2027 Notes (as defined below); senior to any of the Company&#x2019;s future indebtedness that expressly provides it is subordinated to the Notes; effectively subordinated to all of the Company&#x2019;s existing and future secured indebtedness (including indebtedness that is initially unsecured to which the Company subsequently grants security), to the extent of the value of the assets securing such indebtedness, including, without limitation, borrowings under the Company&#x2019;s Credit Agreement with KeyBank National Association (the &#x201c;Credit Facility&#x201d;); and structurally subordinated to all existing and future indebtedness and other obligations of any of the Company&#x2019;s existing or future subsidiaries, financing vehicles or similar facilities, including the Credit Facility.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;&#160;&lt;/span&gt;&lt;/p&gt;&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;The Notes may be redeemed in whole or in part at any time or from time to time at the Company&#x2019;s option on or after October 1, 2028, upon not less than 30 days nor more than 60 days written notice by mail prior to the date fixed for redemption thereof, at a redemption price of $25 per Note plus accrued and unpaid interest payments otherwise payable for the then-current quarterly interest period accrued to, but not including, the date fixed for redemption.&lt;/span&gt;&lt;/p&gt;</us-gaap:LongTermDebtTextBlock>
    <cef:LongTermDebtPrincipal
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      decimals="-6"
      id="F_7f84bdea-eeb4-4ef5-9b60-29f4bc8aa836"
      unitRef="U_USD">46329125000000</cef:LongTermDebtPrincipal>
    <cef:LongTermDebtStructuringTextBlock
      contextRef="C_948befe8-593e-4ca0-b811-08773fb01e82"
      id="F_91b4683d-3f9f-4b70-bfab-04c14a90bf57">&lt;p style="tab-size:26.66px;font-size:10pt;margin-top:0;font-family:Times New Roman;margin-bottom:0;text-align:justify;"&gt;&lt;span style="color:#000000;white-space:pre-wrap;font-size:10pt;font-family:Times New Roman;font-kerning:none;min-width:fit-content;"&gt;The Notes will mature on October 1, 2031, unless previously redeemed or repurchased in accordance with their terms. The interest rate of the Notes is 7.75% per year and will be paid quarterly in arrears on March 1, June 1, September 1 and December 1 of each year, beginning on December 1, 2026. The Notes are the Company&#x2019;s direct unsecured obligations and rank pari passu with the Company&#x2019;s existing and future unsecured, unsubordinated indebtedness, including the Company&#x2019;s 7.50% Notes due 2027, 7.51% Series 2025A Senior Notes due 2028, 7.00% Notes due 2029, 7.25% Notes due 2031 and the SWK 2027 Notes (as defined below); senior to any of the Company&#x2019;s future indebtedness that expressly provides it is subordinated to the Notes; effectively subordinated to all of the Company&#x2019;s existing and future secured indebtedness (including indebtedness that is initially unsecured to which the Company subsequently grants security), to the extent of the value of the assets securing such indebtedness, including, without limitation, borrowings under the Company&#x2019;s Credit Agreement with KeyBank National Association (the &#x201c;Credit Facility&#x201d;); and structurally subordinated to all existing and future indebtedness and other obligations of any of the Company&#x2019;s existing or future subsidiaries, financing vehicles or similar facilities, including the Credit Facility.&lt;/span&gt;&lt;/p&gt;</cef:LongTermDebtStructuringTextBlock>
</xbrl>
