<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="arcc-20251231.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001287750</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-4408">ARES CAPITAL CORPORATION</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c0" id="ixv-4409">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <dei:DocumentType contextRef="c0" id="hidden-fact-0">DEF 14A</dei:DocumentType>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-4413">0001287750</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c0" id="ixv-4414">false</dei:AmendmentFlag>
</xbrl>
