<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  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="psec-20260423.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001287032</identifier>
        </entity>
        <period>
            <startDate>2026-04-23</startDate>
            <endDate>2026-04-23</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-14">0001287032</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c-1" id="f-15">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="c-1" id="f-16">POS EX</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">PROSPECT CAPITAL CORPORATION</dei:EntityRegistrantName>
    <dei:EntityAddressAddressLine1 contextRef="c-1" id="f-2">10 East 40th Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="c-1" id="f-3">42nd Floor</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="c-1" id="f-4">New York</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c-1" id="f-5">NY</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c-1" id="f-6">10016</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c-1" id="f-7">212</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c-1" id="f-8">448-0702</dei:LocalPhoneNumber>
    <dei:ContactPersonnelName contextRef="c-1" id="f-9">John F. Barry III</dei:ContactPersonnelName>
    <dei:NoSubstantiveChanges462c contextRef="c-1" id="f-10">false</dei:NoSubstantiveChanges462c>
    <dei:ExhibitsOnly462d contextRef="c-1" id="f-11">true</dei:ExhibitsOnly462d>
    <dei:EntityWellKnownSeasonedIssuer contextRef="c-1" id="f-12">Yes</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityEmergingGrowthCompany contextRef="c-1" id="f-13">false</dei:EntityEmergingGrowthCompany>
</xbrl>