<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:cst="http://cst/20260630"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2025"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="cst-20260630.xsd" xlink:type="simple"/>
    <context id="From2026-01-01to2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="From2026-01-01to2026-06-30_C000258312Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_AssetBackedSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:AssetBackedSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_CollateralizedLoanObligationsCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:CollateralizedLoanObligationsCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_CollateralizedMortgageObligationsCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:CollateralizedMortgageObligationsCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_CorporateBondsCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:CorporateBondsCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_MunicipalBondsCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:MunicipalBondsCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_PreferredStocksCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:PreferredStocksCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_USGovernmentAgenciesCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:USGovernmentAgenciesCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <context id="AsOf2026-06-30_C000258312Member_USTreasuryBondsNotesCTIMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001587551</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">cst:USTreasuryBondsNotesCTIMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">cst:C000258312Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2026-06-30</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="Pure">
        <measure>pure</measure>
    </unit>
    <unit id="Holding">
        <measure>cst:Holding</measure>
    </unit>
    <dei:DocumentType contextRef="From2026-01-01to2026-06-30" id="ixv-10250">N-CSRS</dei:DocumentType>
    <dei:AmendmentFlag contextRef="From2026-01-01to2026-06-30" id="ixv-10251">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="From2026-01-01to2026-06-30" id="ixv-10252">Capitol Series Trust</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="From2026-01-01to2026-06-30" id="ixv-10253">0001587551</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="From2026-01-01to2026-06-30" id="ixv-10254">N-1A</dei:EntityInvCompanyType>
    <dei:DocumentPeriodEndDate contextRef="From2026-01-01to2026-06-30" id="ixv-10255">2026-06-30</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-10350">Sterling Capital Enhanced Core Bond ETF</oef:FundName>
    <oef:ClassName
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-10351">Sterling Capital Enhanced Core Bond ETF</oef:ClassName>
    <dei:TradingSymbol
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-10352">SCEC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-10353">CboeBZX</dei:SecurityExchangeName>
    <oef:ShareholderReportAnnualOrSemiAnnual contextRef="From2026-01-01to2026-06-30" id="ixv-10354">Semi-Annual Shareholder Report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:ExpensesTextBlock
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-183">&lt;h2 style="margin:0;font-size:11pt;font-weight:700"&gt;What were the Fund&#x2019;s costs for the last six months?&lt;/h2&gt;&lt;p style="margin:2pt 0 6pt 4.5pt;font-size:8pt"&gt;(based on a hypothetical $10,000 investment)&lt;/p&gt;&lt;table style="width:100%;border-collapse:collapse;table-layout:fixed"&gt;&lt;tr style="background:rgb(38, 64, 139);color:#fff;font-size:9pt;font-weight:700;text-align:center"&gt;&lt;td style="width:33.47%;padding:4pt 3pt"&gt;Fund Name&lt;/td&gt;&lt;td style="width:24.86%;padding:4pt 3pt"&gt;Costs of a $10,000 investment&lt;/td&gt;&lt;td style="width:41.67%;padding:4pt 3pt"&gt;Costs paid as a percentage of a $10,000 investment&lt;/td&gt;&lt;/tr&gt;&lt;tr style="background:rgb(240, 240, 240);font-size:9pt;text-align:center"&gt;&lt;td style="padding:4pt 3pt"&gt;Sterling Capital Enhanced Core Bond ETF&lt;/td&gt;&lt;td style="padding:4pt 3pt"&gt;$20&lt;/td&gt;&lt;td style="padding:4pt 3pt"&gt;0.39%&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      decimals="0"
      id="ixv-10355"
      unitRef="USD">20</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      decimals="INF"
      id="ixv-10356"
      unitRef="Pure">0.0039</oef:ExpenseRatioPct>
    <oef:AddlFundStatisticsTextBlock
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-196">&lt;div style="background:rgb(38, 64, 139);color:#fff;font-size:10pt;font-weight:700;text-align:center;padding:3pt 0"&gt;Fund Statistics&lt;/div&gt;&lt;table style="width:100%;border-collapse:collapse;font-size:8pt"&gt;&lt;tr&gt;&lt;td style="padding:3pt 0"&gt;Net Assets&lt;/td&gt;&lt;td style="padding:3pt 0;text-align:right"&gt;$584,808,094&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:3pt 0"&gt;Number of Portfolio Holdings&lt;/td&gt;&lt;td style="padding:3pt 0;text-align:right"&gt;339&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:3pt 0"&gt;Advisory Fee&lt;/td&gt;&lt;td style="padding:3pt 0;text-align:right"&gt;$1,037,300&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:3pt 0"&gt;Portfolio Turnover&lt;/td&gt;&lt;td style="padding:3pt 0;text-align:right"&gt;76%&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="AsOf2026-06-30_C000258312Member"
      decimals="0"
      id="ixv-10357"
      unitRef="USD">584808094</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="AsOf2026-06-30_C000258312Member"
      decimals="INF"
      id="ixv-10358"
      unitRef="Holding">339</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      decimals="0"
      id="ixv-10359"
      unitRef="USD">1037300</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      decimals="INF"
      id="ixv-10360"
      unitRef="Pure">0.76</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-214">&lt;div style="background:rgb(38, 64, 139);color:#fff;font-size:10pt;font-weight:700;text-align:center;padding:3pt 0"&gt;Asset Weighting (% of total investments)&lt;/div&gt;&lt;div style="background:rgb(240, 240, 240);padding:0"&gt;&lt;img alt="Asset Weighting Chart" src="cst-holdings.jpg" style="width:297pt;height:220.5pt"/&gt;&lt;div style="position:absolute;width:1px;height:1px;margin:-1px;clip:rect(0px, 0px, 0px, 0px);overflow:hidden"&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Value&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Asset Backed Securities&lt;/td&gt;&lt;td style="padding:1px"&gt;33.4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Collateralized Loan Obligations&lt;/td&gt;&lt;td style="padding:1px"&gt;0.6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Collateralized Mortgage Obligations&lt;/td&gt;&lt;td style="padding:1px"&gt;1.0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Corporate Bonds&lt;/td&gt;&lt;td style="padding:1px"&gt;34.9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Municipal Bonds&lt;/td&gt;&lt;td style="padding:1px"&gt;0.5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;Preferred Stocks&lt;/td&gt;&lt;td style="padding:1px"&gt;0.2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;U.S. Government &amp;amp; Agencies&lt;/td&gt;&lt;td style="padding:1px"&gt;18.6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:1px"&gt;U.S. Treasury Bonds &amp;amp; Notes&lt;/td&gt;&lt;td style="padding:1px"&gt;10.8&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;img alt="Sterling Capital" src="cst-mark.jpg" style="width:46.5pt;height:36pt;margin:0 0 6pt 19.5pt"/&gt;&lt;/div&gt;</oef:HoldingsTableTextBlock>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_AssetBackedSecuritiesMember"
      decimals="INF"
      id="ixv-10361"
      unitRef="Pure">0.334</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_CollateralizedLoanObligationsCTIMember"
      decimals="INF"
      id="ixv-10362"
      unitRef="Pure">0.006</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_CollateralizedMortgageObligationsCTIMember"
      decimals="INF"
      id="ixv-10363"
      unitRef="Pure">0.010</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_CorporateBondsCTIMember"
      decimals="INF"
      id="ixv-10364"
      unitRef="Pure">0.349</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_MunicipalBondsCTIMember"
      decimals="INF"
      id="ixv-10365"
      unitRef="Pure">0.005</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_PreferredStocksCTIMember"
      decimals="INF"
      id="ixv-10366"
      unitRef="Pure">0.002</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_USGovernmentAgenciesCTIMember"
      decimals="INF"
      id="ixv-10367"
      unitRef="Pure">0.186</oef:PctOfNav>
    <oef:PctOfNav
      contextRef="AsOf2026-06-30_C000258312Member_USTreasuryBondsNotesCTIMember"
      decimals="INF"
      id="ixv-10368"
      unitRef="Pure">0.108</oef:PctOfNav>
    <oef:MaterialFundChngTextBlock
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-249">&lt;h2 style="margin:0 0 6pt;font-size:12pt;font-weight:700"&gt;Material Fund Changes&lt;/h2&gt;&lt;p style="margin:0 0 9pt;font-size:9pt;text-align:justify;line-height:1.25"&gt;On August 28, 2025, Guardian Capital Group Limited (&#x201c;Guardian&#x201d;), the indirect parent company of Sterling Capital Management LLC (the &#x201c;Adviser&#x201d;), announced that it had entered into a definitive agreement with Desjardins Global Asset Management Inc. (&#x201c;DGAM&#x201d;) to be taken private pursuant to an arrangement whereby DGAM would purchase all of the issued and outstanding shares of Guardian, other than shares held by certain shareholders who entered into equity rollover agreements (the &#x201c;Transaction&#x201d;). The closing of the Transaction occurred on March 23, 2026.&lt;/p&gt;&lt;p style="margin:0 0 9pt;font-size:9pt;text-align:justify;line-height:1.25"&gt;The Adviser is now an indirect, wholly-owned subsidiary of Desjardins and is anticipated to continue to operate as a standalone entity. To provide continuity and stability, the Adviser&#x2019;s team of management and senior professionals will continue servicing the Adviser&#x2019;s clients, including the Fund.&lt;/p&gt;&lt;p style="margin:0 0 9pt;font-size:9pt;text-align:justify;line-height:1.25"&gt;At a meeting held on October 23, 2025, the Board of Trustees of Capitol Series Trust approved an Agreement and Plan of Reorganization of the Fund into a fund of the same name, a newly created series of Sterling Capital Funds (the &#x201c;Reorganization&#x201d;). The Reorganization was originally expected to occur in March 2026, but was postponed. Shareholders approved the Reorganization at a special meeting held on August 18, 2026, and the Reorganization is expected to occur in September 2026.&lt;/p&gt;</oef:MaterialFundChngTextBlock>
    <oef:FundName
      contextRef="From2026-01-01to2026-06-30_C000258312Member"
      id="ixv-10369">Sterling Capital Enhanced Core Bond ETF</oef:FundName>
    <oef:ShareholderReportAnnualOrSemiAnnual contextRef="From2026-01-01to2026-06-30" id="ixv-10370">Semi-Annual Shareholder Report</oef:ShareholderReportAnnualOrSemiAnnual>
</xbrl>
