<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:fnd="http://xbrl.sec.gov/fnd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dob-20260814.xsd" xlink:type="simple"/>
    <context id="AsOf2026-08-14">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002101844</identifier>
        </entity>
        <period>
            <startDate>2026-08-14</startDate>
            <endDate>2026-08-14</endDate>
        </period>
    </context>
    <dei:AmendmentFlag contextRef="AsOf2026-08-14" id="Fact000003">true</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-08-14" id="Fact000004">0002101844</dei:EntityCentralIndexKey>
    <dei:EntityCentralIndexKey contextRef="AsOf2026-08-14" id="Fact000008">0002101844</dei:EntityCentralIndexKey>
    <dei:DocumentPeriodEndDate contextRef="AsOf2026-08-14" id="Fact000007">2026-08-14</dei:DocumentPeriodEndDate>
    <dei:AmendmentDescription contextRef="AsOf2026-08-14" id="Fact000009">1</dei:AmendmentDescription>
    <dei:DocumentType contextRef="AsOf2026-08-14" id="Fact000010">S-6</dei:DocumentType>
    <dei:EntityRegistrantName contextRef="AsOf2026-08-14" id="Fact000011">Guggenheim Defined Portfolios, Series 2587</dei:EntityRegistrantName>
    <fnd:NmRule35d1TermDfnTextBlock contextRef="AsOf2026-08-14" id="Fact000012">The trust seeks to achieve its objective
by utilizing an investment strategy that involves (i) purchasing and writing &#x201c;put&#x201d; and &#x201c;call&#x201d; Flexible Exchange&lt;sup&gt;&#xae;
&lt;/sup&gt;Options entitling the trust to purchase or sell shares of the Reference Asset (&#x201c;&lt;i&gt;FLEX Options&lt;/i&gt;&#x201d;) scheduled to
expire on August 11, 2028 (the &#x201c;&lt;i&gt;Option Expiration Date&lt;/i&gt;&#x201d;); and (ii) holding cash to pay for fees and expenses of the
trust. Under normal circumstances, the trust will invest at least 80% of the value of its assets in the economic equivalent of large-capitalization
securities, as represented by FLEX Options that entitle the trust to purchase or sell shares of the Reference Asset. On the trust&#x2019;s
inception date, the trust will deposit the exchange-traded FLEX Options and cash in the amounts set forth in the &#x201c;Trust Portfolio.&#x201d;
The FLEX Options are European-style options, which means that they will be exercisable at the strike price only on the Option Expiration
Date.</fnd:NmRule35d1TermDfnTextBlock>
</xbrl>
