<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:DDP="http://guggenheiminvestments.com/20261006"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2026q3"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ddp-20261006.xsd" xlink:type="simple"/>
    <context id="AsOf2026-10-06">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002119499</identifier>
        </entity>
        <period>
            <startDate>2026-10-06</startDate>
            <endDate>2026-10-06</endDate>
        </period>
    </context>
    <context id="From2026-10-062026-10-06_custom_FinancialsPortfolioSeries28Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002119499</identifier>
            <segment>
                <xbrldi:explicitMember dimension="fnd:PortfolioAxis">DDP:FinancialsPortfolioSeries28Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-06</startDate>
            <endDate>2026-10-06</endDate>
        </period>
    </context>
    <context id="From2026-10-062026-10-06_custom_NdrPreciousMetalsAndMinersPortfolioSeries31Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002119499</identifier>
            <segment>
                <xbrldi:explicitMember dimension="fnd:PortfolioAxis">DDP:NdrPreciousMetalsAndMinersPortfolioSeries31Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-10-06</startDate>
            <endDate>2026-10-06</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-10-06" id="Fact000003">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-10-06" id="Fact000004">0002119499</dei:EntityCentralIndexKey>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-10-06" id="Fact000008">0002119499</dei:EntityCentralIndexKey>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-10-06" id="Fact000007">2026-10-06</dei:DocumentPeriodEndDate>
    <dei:AmendmentDescription contextRef="AsOf2026-10-06" id="Fact000009">1</dei:AmendmentDescription>
    <dei:DocumentType contextRef="AsOf2026-10-06" id="Fact000010">S-6</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2026-10-06" id="Fact000011">Guggenheim Defined Portfolios, Series 2631</dei:EntityRegistrantName>
    <fnd:NmRule35d1TermDfnTextBlock
      contextRef="From2026-10-062026-10-06_custom_FinancialsPortfolioSeries28Member"
      id="Fact000012">Under normal circumstances, the trust will
invest at least 80% of the value of its assets in common stocks issued by companies in the financial sector, as classified by Standard
&amp;amp; Poor&#x2019;s Global Industry Classification Standard. The trust is concentrated in the financial sector and includes, but is not
limited to, securities in the following industries: capital markets, banks, thrifts and mortgage finance, consumer finance, diversified
financial services and insurance. The trust will not have a major emphasis on the real estate industry, but may include real estate stocks
that exhibit compelling characteristics. The sponsor selects stocks for the portfolio that it believes have the potential to achieve the
trust&#x2019;s investment objective.</fnd:NmRule35d1TermDfnTextBlock>
    <fnd:NmRule35d1TermDfnTextBlock
      contextRef="From2026-10-062026-10-06_custom_NdrPreciousMetalsAndMinersPortfolioSeries31Member"
      id="Fact000013">Under normal circumstances, the trust will
invest at least 80% of the value of its assets in common stocks of mining companies that derive at least 50% of their revenues from precious
metals mining, and shares of ETFs that invest substantially all of their assets in physical precious metals such as gold, silver and platinum.
The trust will invest in both domestic and foreign-listed securities. Certain of the common stocks included in the trust may be issued
by companies headquartered or incorporated in countries considered to be emerging markets. Certain of the common stocks included in the
trust may be issued by small-capitalization and mid-capitalization companies.</fnd:NmRule35d1TermDfnTextBlock>
</xbrl>
