<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>2666</ContextCount>
  <ElementCount>538</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>407</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>11</UnitCount>
  <MyReports>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIESParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF ASSETS AND LIABILITIES (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCHANGESINNETASSETS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CHANGES IN NET ASSETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTS</Role>
      <ShortName>CONSOLIDATED SCHEDULE OF INVESTMENTS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/CONSOLIDATEDSCHEDULEOFINVESTMENTSParenthetical</Role>
      <ShortName>CONSOLIDATED SCHEDULE OF INVESTMENTS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - ORGANIZATION AND BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATION</Role>
      <ShortName>ORGANIZATION AND BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - INVESTMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INVESTMENTS</Role>
      <ShortName>INVESTMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - BORROWINGS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGS</Role>
      <ShortName>BORROWINGS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - SHAREHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITY</Role>
      <ShortName>SHAREHOLDERS' EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - EARNINGS PER SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/EARNINGSPERSHARE</Role>
      <ShortName>EARNINGS PER SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - STOCK BASED COMPENSATION PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANS</Role>
      <ShortName>STOCK BASED COMPENSATION PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - OTHER EMPLOYEE COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATION</Role>
      <ShortName>OTHER EMPLOYEE COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - RETIREMENT PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RETIREMENTPLANS</Role>
      <ShortName>RETIREMENT PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITED</Role>
      <ShortName>SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - SUMMARY OF PER SHARE INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATION</Role>
      <ShortName>SUMMARY OF PER SHARE INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>0000025 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTS</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>0000026 - Disclosure - Schedule of Investments in and Advances to Affiliates</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliates</Role>
      <ShortName>Schedule of Investments in and Advances to Affiliates</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995470 - Disclosure - N-2</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cef/role/N2</Role>
      <ShortName>N-2</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - INVESTMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INVESTMENTSTables</Role>
      <ShortName>INVESTMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/INVESTMENTS</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTS</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - BORROWINGS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSTables</Role>
      <ShortName>BORROWINGS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/BORROWINGS</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/INCOMETAXES</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - SHAREHOLDERS' EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYTables</Role>
      <ShortName>SHAREHOLDERS' EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITY</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - EARNINGS PER SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/EARNINGSPERSHARETables</Role>
      <ShortName>EARNINGS PER SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/EARNINGSPERSHARE</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - STOCK BASED COMPENSATION PLANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSTables</Role>
      <ShortName>STOCK BASED COMPENSATION PLANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANS</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - RETIREMENT PLANS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RETIREMENTPLANSTables</Role>
      <ShortName>RETIREMENT PLANS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/RETIREMENTPLANS</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDTables</Role>
      <ShortName>SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITED</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - SUMMARY OF PER SHARE INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONTables</Role>
      <ShortName>SUMMARY OF PER SHARE INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATION</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Schedule of Investments in and Advances to Affiliates (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesTables</Role>
      <ShortName>Schedule of Investments in and Advances to Affiliates (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliates</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - ORGANIZATION AND BASIS OF PRESENTATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATIONDetails</Role>
      <ShortName>ORGANIZATION AND BASIS OF PRESENTATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/ORGANIZATIONANDBASISOFPRESENTATION</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - INVESTMENTS - Schedule of Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INVESTMENTSScheduleofInvestmentsDetails</Role>
      <ShortName>INVESTMENTS - Schedule of Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - INVESTMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INVESTMENTSNarrativeDetails</Role>
      <ShortName>INVESTMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - FAIR VALUE MEASUREMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSNarrativeDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Investment Portfolio by Level (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofInvestmentPortfoliobyLevelDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Schedule of Investment Portfolio by Level (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Valuation Techniques and Significant Level 3 Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofValuationTechniquesandSignificantLevel3InputsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Schedule of Valuation Techniques and Significant Level 3 Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - FAIR VALUE MEASUREMENTS - Schedule of Changes in Fair Value of Investments Measured Using Level 3 Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/FAIRVALUEMEASUREMENTSScheduleofChangesinFairValueofInvestmentsMeasuredUsingLevel3InputsDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS - Schedule of Changes in Fair Value of Investments Measured Using Level 3 Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - BORROWINGS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSNarrativeDetails</Role>
      <ShortName>BORROWINGS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - BORROWINGS - Schedule of Borrowings Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSScheduleofBorrowingsOutstandingDetails</Role>
      <ShortName>BORROWINGS - Schedule of Borrowings Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - BORROWINGS - Schedule of Credit Facilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSScheduleofCreditFacilitiesDetails</Role>
      <ShortName>BORROWINGS - Schedule of Credit Facilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - BORROWINGS - Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSNotesDetails</Role>
      <ShortName>BORROWINGS - Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - BORROWINGS - Convertible Features of the 2029 Convertible Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSConvertibleFeaturesofthe2029ConvertibleNotesDetails</Role>
      <ShortName>BORROWINGS - Convertible Features of the 2029 Convertible Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - BORROWINGS - SBA Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSSBADebenturesDetails</Role>
      <ShortName>BORROWINGS - SBA Debentures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - BORROWINGS - Issued and Outstanding SBA Debentures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSIssuedandOutstandingSBADebenturesDetails</Role>
      <ShortName>BORROWINGS - Issued and Outstanding SBA Debentures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - BORROWINGS - Schedule of Contractual Payment Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/BORROWINGSScheduleofContractualPaymentObligationsDetails</Role>
      <ShortName>BORROWINGS - Schedule of Contractual Payment Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - INCOME TAXES - Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESDistributionsDetails</Role>
      <ShortName>INCOME TAXES - Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - INCOME TAXES - Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofBookandTaxBasisDifferencesRelatingtoDividendsandDistributionsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Book and Tax Basis Differences Relating to Dividends and Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - INCOME TAXES - Schedule of Distributions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDistributionsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Distributions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - INCOME TAXES - Schedule of Net Assets Resulting from Operations to Estimated RIC Taxable Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofNetAssetsResultingfromOperationstoEstimatedRICTaxableIncomeDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Net Assets Resulting from Operations to Estimated RIC Taxable Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - INCOME TAXES - Schedule of Components of Estimated Tax Basis RIC Accumulated Earnings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofComponentsofEstimatedTaxBasisRICAccumulatedEarningsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Components of Estimated Tax Basis RIC Accumulated Earnings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - INCOME TAXES - Significant Components of Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESSignificantComponentsofIncomeTaxProvisionDetails</Role>
      <ShortName>INCOME TAXES - Significant Components of Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - INCOME TAXES - Schedule of Federal and State Income Taxes Paid (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/INCOMETAXESScheduleofFederalandStateIncomeTaxesPaidDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Federal and State Income Taxes Paid (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - SHAREHOLDERS' EQUITY - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Shares Sold (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofSharesSoldDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Shares Sold (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - SHAREHOLDERS' EQUITY - Schedule of Share Repurchases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SHAREHOLDERSEQUITYScheduleofShareRepurchasesDetails</Role>
      <ShortName>SHAREHOLDERS' EQUITY - Schedule of Share Repurchases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - EARNINGS PER SHARE (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/EARNINGSPERSHAREDetails</Role>
      <ShortName>EARNINGS PER SHARE (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/EARNINGSPERSHARETables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - STOCK BASED COMPENSATION PLANS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSNarrativeDetails</Role>
      <ShortName>STOCK BASED COMPENSATION PLANS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - STOCK BASED COMPENSATION PLANS - Schedule of Restricted Stock Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/STOCKBASEDCOMPENSATIONPLANSScheduleofRestrictedStockOutstandingDetails</Role>
      <ShortName>STOCK BASED COMPENSATION PLANS - Schedule of Restricted Stock Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - OTHER EMPLOYEE COMPENSATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATIONDetails</Role>
      <ShortName>OTHER EMPLOYEE COMPENSATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/OTHEREMPLOYEECOMPENSATION</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - RETIREMENT PLANS - Schedule of Changes in Projected Benefit Obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofChangesinProjectedBenefitObligationsDetails</Role>
      <ShortName>RETIREMENT PLANS - Schedule of Changes in Projected Benefit Obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - RETIREMENT PLANS - Schedule of Assumptions Used (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RETIREMENTPLANSScheduleofAssumptionsUsedDetails</Role>
      <ShortName>RETIREMENT PLANS - Schedule of Assumptions Used (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - RETIREMENT PLANS - Actuarial Gains or Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RETIREMENTPLANSActuarialGainsorLossesDetails</Role>
      <ShortName>RETIREMENT PLANS - Actuarial Gains or Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unused Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnusedCommitmentsDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Unused Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unfunded Debt Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedDebtCommitmentsDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Unfunded Debt Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - COMMITMENTS AND CONTINGENCIES - Unfunded Equity Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESUnfundedEquityCommitmentsDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Unfunded Equity Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - COMMITMENTS AND CONTINGENCIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESNarrativeDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - COMMITMENTS AND CONTINGENCIES - Schedule of Future Minimum Payments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/COMMITMENTSANDCONTINGENCIESScheduleofFutureMinimumPaymentsDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES - Schedule of Future Minimum Payments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDDetails</Role>
      <ShortName>SELECTED QUARTERLY FINANCIAL DATA (UNAUDITED) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SELECTEDQUARTERLYFINANCIALDATAUNAUDITEDTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - RELATED PARTY TRANSACTIONS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - SUMMARY OF PER SHARE INFORMATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONDetails</Role>
      <ShortName>SUMMARY OF PER SHARE INFORMATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SUMMARYOFPERSHAREINFORMATIONTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - SUBSEQUENT EVENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTSDetails</Role>
      <ShortName>SUBSEQUENT EVENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/SUBSEQUENTEVENTS</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="cswc-20260331.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Schedule of Investments in and Advances to Affiliates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesDetails</Role>
      <ShortName>Schedule of Investments in and Advances to Affiliates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.capitalsouthwest.com/role/ScheduleofInvestmentsinandAdvancestoAffiliatesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="cswc-20260331.htm">cswc-20260331.htm</File>
    <File>cswc-20260331.xsd</File>
    <File>cswc-20260331_cal.xml</File>
    <File>cswc-20260331_def.xml</File>
    <File>cswc-20260331_lab.xml</File>
    <File>cswc-20260331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>cswc-20260331_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="2">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="7932">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="208">http://xbrl.sec.gov/cef/2025</BaseTaxonomy>
    <BaseTaxonomy items="14">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="39">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
