<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:jpmt2="http://www.jpmorganfunds.com/20250831"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2024q3"
  xmlns:us-gaap="http://fasb.org/us-gaap/2024"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="jpmt2-20250831.xsd" xlink:type="simple"/>
    <context id="D_31Aug2025_31Aug2025">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000265237">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000265237Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RiskLoseMoneyMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskLoseMoneyMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RiskMoneyMarketFundMayNotPreserveDollarMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundMayNotPreserveDollarMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RiskMoneyMarketFundSponsorMayNotProvideSupportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskMoneyMarketFundSponsorMayNotProvideSupportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_BlockchainTechnologyRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:BlockchainTechnologyRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_InterestRateRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:InterestRateRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_CreditRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:CreditRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_GeneralMarketRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:GeneralMarketRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_AssetBackedMortgageRelatedandMortgageBackedSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:AssetBackedMortgageRelatedandMortgageBackedSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_GovernmentSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:GovernmentSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_WhenIssuedDelayedSettlementandForwardCommitmentTransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:WhenIssuedDelayedSettlementandForwardCommitmentTransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_TransactionsRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:TransactionsRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_FloatingandVariableRateSecuritiesRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:FloatingandVariableRateSecuritiesRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_NetAssetValueRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:NetAssetValueRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RepurchaseAgreementRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:RepurchaseAgreementRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RiskAssociatedwiththeFundHoldingCashRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:RiskAssociatedwiththeFundHoldingCashRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_InterfundLendingRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:InterfundLendingRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_PrepaymentRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">us-gaap:PrepaymentRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_StateandLocalTaxationRiskMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">jpmt2:StateandLocalTaxationRiskMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_RiskNotInsuredDepositoryInstitutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:RiskAxis">oef:RiskNotInsuredDepositoryInstitutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-08-31</startDate>
            <endDate>2025-08-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_C000010941_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_C000010941_01Jan2020_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_C000010941_01Jan2015_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2015_31Dec2015">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2015-01-01</startDate>
            <endDate>2015-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2016_31Dec2016">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2016-01-01</startDate>
            <endDate>2016-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2017_31Dec2017">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2017-01-01</startDate>
            <endDate>2017-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2018_31Dec2018">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2018-01-01</startDate>
            <endDate>2018-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2019_31Dec2019">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-01-01</startDate>
            <endDate>2019-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2020_31Dec2020">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2020-01-01</startDate>
            <endDate>2020-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2021_31Dec2021">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2021-01-01</startDate>
            <endDate>2021-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2022_31Dec2022">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-01-01</startDate>
            <endDate>2022-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2023_31Dec2023">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-01-01</startDate>
            <endDate>2023-12-31</endDate>
        </period>
    </context>
    <context id="DigitalSharesMember_S000003909_C000010941_01Jan2024_31Dec2024">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000763852</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:DocumentInformationDocumentAxis">jpmt2:DigitalSharesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="dei:LegalEntityAxis">jpmt2:S000003909Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jpmt2:C000010941Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2024-01-01</startDate>
            <endDate>2024-12-31</endDate>
        </period>
    </context>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <oef:BarChartHighestQuarterlyReturnDate
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="b1e002aa-bbf0-4e98-93e9-fe7f0ccf59a4">2023-12-31</oef:BarChartHighestQuarterlyReturnDate>
    <oef:BarChartLowestQuarterlyReturnDate
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="x_08849706-e267-4045-9105-de2ac03719dc">2015-09-30</oef:BarChartLowestQuarterlyReturnDate>
    <oef:ExpenseExampleByYearCaption
      contextRef="DigitalSharesMember_S000003909"
      id="x_67136d87-dad1-4012-a004-2b6142bce201"/>
    <dei:DocumentPeriodEndDate contextRef="D_31Aug2025_31Aug2025" id="apid_1">2025-08-31</dei:DocumentPeriodEndDate>
    <dei:EntityCentralIndexKey contextRef="D_31Aug2025_31Aug2025" id="apid_2">0000763852</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_31Aug2025_31Aug2025" id="apid_3">false</dei:AmendmentFlag>
    <dei:DocumentType contextRef="D_31Aug2025_31Aug2025" id="apid_4">485BPOS</dei:DocumentType>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2015_31Dec2015"
      decimals="4"
      id="x_5cdccc88-2d52-4830-bd9d-9b26eb2f48d7"
      unitRef="pure">0.0002</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2016_31Dec2016"
      decimals="4"
      id="x_3143674e-1391-4649-871a-ddbdddb2e575"
      unitRef="pure">0.0028</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2017_31Dec2017"
      decimals="4"
      id="x_197b508f-07f7-46e3-8d51-57569202e5ad"
      unitRef="pure">0.0077</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2018_31Dec2018"
      decimals="4"
      id="x_40459e4f-4224-4b16-83fb-29569b73c061"
      unitRef="pure">0.0172</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2019_31Dec2019"
      decimals="4"
      id="x_70a7ec09-e1e9-48a0-aa46-5d6857ee6bfe"
      unitRef="pure">0.0208</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2020_31Dec2020"
      decimals="4"
      id="x_1b7ba811-8ba1-4765-b162-983a7eece314"
      unitRef="pure">0.0037</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2021_31Dec2021"
      decimals="4"
      id="x_36b2c372-b5fd-4c7e-a5b8-e4c9a6d07a0b"
      unitRef="pure">0.0003</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2022_31Dec2022"
      decimals="4"
      id="b3248019-c2dd-4f9f-bd91-4b2792efa126"
      unitRef="pure">0.0152</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2023_31Dec2023"
      decimals="4"
      id="x_7145c59f-ca8e-47fe-8155-57e0001b672c"
      unitRef="pure">0.0501</oef:AnnlRtrPct>
    <oef:AnnlRtrPct
      contextRef="DigitalSharesMember_S000003909_C000010941_01Jan2024_31Dec2024"
      decimals="4"
      id="f033c14f-7bce-420e-9106-13f245186277"
      unitRef="pure">0.0516</oef:AnnlRtrPct>
    <dei:EntityInvCompanyType
      contextRef="D_31Aug2025_31Aug2025"
      id="apid_9a5676d4-490c-46ac-9139-c2898eee4d5f">N-1A</dei:EntityInvCompanyType>
    <dei:EntityRegistrantName
      contextRef="D_31Aug2025_31Aug2025"
      id="apid_39cf2c59-5824-424b-8bbf-7caa61ad50f3">JPMORGAN TRUST II</dei:EntityRegistrantName>
    <oef:ProspectusDate
      contextRef="D_31Aug2025_31Aug2025"
      id="apid_32db7ea7-99fc-4c35-bb68-91f2a4df12c5">2025-10-30</oef:ProspectusDate>
    <oef:RiskReturnHeading
      contextRef="DigitalSharesMember_S000003909"
      id="x_4bf04b13-c4a9-4462-8c19-d05eacf1648c">&lt;span style="font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Class/Ticker: Digital/MGDXX&lt;/span&gt;</oef:RiskReturnHeading>
    <oef:ObjectiveHeading
      contextRef="DigitalSharesMember_S000003909"
      id="ddd50a0d-e7d6-4d02-b014-3423d48919f2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;The Fund&#x2019;s Objective&lt;/span&gt;</oef:ObjectiveHeading>
    <oef:ObjectivePrimaryTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="bb965c49-cf83-48d0-8485-37a322829c3f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund seeks high current income with liquidity and stability of principal.&lt;/span&gt;</oef:ObjectivePrimaryTextBlock>
    <oef:ExpenseHeading
      contextRef="DigitalSharesMember_S000003909"
      id="c263979a-0df3-4335-a2ee-222d5d54102f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Fees and Expenses of the Fund&lt;/span&gt;</oef:ExpenseHeading>
    <oef:ExpenseNarrativeTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="x_6eff7803-7a9b-4fb2-9ea7-08b2f2e67b48">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The following table describes the fees and expenses that you may pay if you buy, hold and sell shares of the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-weight:bold;"&gt;You may pay other fees, such as brokerage commissions and other fees to financial intermediaries, which are not reflected in the table and examples below.&lt;/span&gt;</oef:ExpenseNarrativeTextBlock>
    <oef:OperatingExpensesCaption
      contextRef="DigitalSharesMember_S000003909"
      id="x_120541b3-e5bb-46fa-88e8-3b9f3e8ff8bc">&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:11pt;font-weight:bold;margin-left:0.0pt;"&gt;ANNUAL FUND OPERATING EXPENSES&lt;/span&gt;&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;(Expenses that you pay each year as a percentage of the value&lt;/span&gt;&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;of your investment)&lt;/span&gt;</oef:OperatingExpensesCaption>
    <oef:ManagementFeesOverAssets
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="4"
      id="x_124c1690-7d0d-497f-a926-9b5b3121f7cf"
      unitRef="pure">0.0008</oef:ManagementFeesOverAssets>
    <oef:OtherExpensesOverAssets
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="4"
      id="x_4ec00033-a91b-4fc0-92b0-dd859ff000b1"
      unitRef="pure">0.0010</oef:OtherExpensesOverAssets>
    <oef:Component1OtherExpensesOverAssets
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="4"
      id="x_4f3e66ea-f5a3-4540-876d-73b910a26ccb"
      unitRef="pure">0.0005</oef:Component1OtherExpensesOverAssets>
    <oef:Component2OtherExpensesOverAssets
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="4"
      id="x_8184137e-6171-44b9-91ad-ab99858d476e"
      unitRef="pure">0.0005</oef:Component2OtherExpensesOverAssets>
    <oef:ExpensesOverAssets
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="4"
      id="bc8885b4-ba3c-4fe0-ba12-e90757d97836"
      unitRef="pure">0.0018</oef:ExpensesOverAssets>
    <oef:ExpenseExampleHeading
      contextRef="DigitalSharesMember_S000003909"
      id="x_54907dcd-f1d2-46dc-bdf0-73e744275622">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;Example&lt;/span&gt;</oef:ExpenseExampleHeading>
    <oef:ExpenseExampleNarrativeTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="x_6b462284-ae22-4267-8807-3f966f148237">&lt;span style="font-family:Arial Narrow;font-size:10pt;"&gt;This Example is intended to help you compare the cost of investing in the Fund with the cost of investing in other mutual funds. The Example assumes that you invest $10,000 in the Fund for the time periods indicated. The Example also assumes that your investment has a 5% return each year and that the Fund&#x2019;s operating expenses remain the same. Your actual costs may be higher or lower.&lt;/span&gt;</oef:ExpenseExampleNarrativeTextBlock>
    <oef:ExpenseExampleYear01
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="INF"
      id="x_9bfcaab4-7a0a-4407-8914-d253a47e6677"
      unitRef="USD">18</oef:ExpenseExampleYear01>
    <oef:ExpenseExampleYear03
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="INF"
      id="ed04b72b-cf31-449a-9e62-a5d41e217bb2"
      unitRef="USD">58</oef:ExpenseExampleYear03>
    <oef:ExpenseExampleYear05
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="INF"
      id="x_22992185-8701-4edf-b087-6e828a6276bc"
      unitRef="USD">101</oef:ExpenseExampleYear05>
    <oef:ExpenseExampleYear10
      contextRef="DigitalSharesMember_S000003909_C000265237"
      decimals="INF"
      id="x_9c184000-8ee0-4162-b0a9-14f251f24c79"
      unitRef="USD">230</oef:ExpenseExampleYear10>
    <oef:StrategyHeading
      contextRef="DigitalSharesMember_S000003909"
      id="f6a16f2f-07f1-4cc6-96f2-b9f5cb4081d2">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;The Fund&#x2019;s Main Investment Strategy&lt;/span&gt;</oef:StrategyHeading>
    <oef:StrategyNarrativeTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="x_6c1eafdd-6409-4e39-bcf0-12e247953243">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Under normal conditions, the Fund invests its assets exclusively in: &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;debt securities issued or guaranteed by the U.S. government, or by U.S. government agencies or instrumentalities or Government-Sponsored Enterprises (&#x201c;GSEs&#x201d;), and &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;repurchase agreements fully collateralized by U.S. Treasury and U.S. government securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund is a money market fund managed in the following manner: &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund seeks to maintain a net asset value (&#x201c;NAV&#x201d;) of $1.00 per share. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The dollar-weighted average maturity of the Fund will be 60 days or less and the dollar-weighted average life to maturity will be 120 days or less. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund will only buy securities that have remaining maturities of 397 days or less or securities otherwise permitted to be purchased because of maturity shortening provisions under applicable regulation. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund invests only in U.S. dollar-denominated securities. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:7pt;"&gt;&#x25cf;&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund seeks to invest in securities that present minimal credit risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund may invest significantly in securities with floating or variable rates of interest. Their yields will vary as interest rates change. The Fund will generally hold a portion of its assets in cash, primarily to meet redemptions. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund intends to continue to qualify as a &#x201c;government money market fund,&#x201d; as such term is defined in or interpreted under Rule 2a-7 under the Investment Company Act of 1940, as amended (&#x201c;Investment Company Act&#x201d;). &#x201c;Government money market funds&#x201d; are required to invest at least 99.5% of their assets in (i) cash, (ii) securities issued or guaranteed by the United States or certain U.S. government agencies or instrumentalities and/or (iii) repurchase agreements that are collateralized fully, and are exempt from requirements that permit money market funds to impose a liquidity fee. While the J.P. Morgan Funds&#x2019; Board of Trustees (the &#x201c;Board&#x201d;) may elect to subject the Fund to liquidity fee requirements in the future, the Board has not elected to do so at this time. A government money market fund may also include investments in other government money market funds as an eligible investment for purposes of the 99.5% requirement above. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund may trade securities on a when-issued, delayed settlement or forward commitment basis. The Fund&#x2019;s adviser seeks to develop an appropriate portfolio by considering the differences in yields among securities of different maturities, market sectors and issuers.&lt;/span&gt;</oef:StrategyNarrativeTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RiskLoseMoneyMember"
      id="x_1f9f9d31-ea9f-4835-a0a3-d85b5d1e9928">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;You could lose money by investing in the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RiskMoneyMarketFundMayNotPreserveDollarMember"
      id="x_98d17f68-eb45-47eb-844d-65838e572bda">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Although the Fund seeks to preserve the value of your investment at $1.00 per share, it cannot guarantee it will do so.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RiskMoneyMarketFundSponsorMayNotProvideSupportMember"
      id="x_88bd13b8-0c46-4736-aac9-26ab2d1eecfd">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund&#x2019;s sponsor is not required to reimburse &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;the Fund for losses, and you should not expect that the sponsor will provide financial support to the Fund at any time, including during periods of market stress.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_BlockchainTechnologyRiskMember"
      id="x_2387f85b-35ca-4ef4-b17c-60e229ec97d6">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Blockchain Technology Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; Although the Fund does not currently employ blockchain technology or invest in crypto assets, the financial intermediaries through whom shareholders purchase and redeem Digital Shares intend to employ blockchain technology to maintain a record of share ownership for their customers. A blockchain is an open, distributed ledger that records transactions between two parties in a verifiable and append-only manner using cryptography. Transactions on the blockchain are verified and authenticated by computers on the network. The process of authenticating a transaction before it is recorded seeks to ensure that only valid and authorized transactions are permanently recorded on the blockchain in collections of transactions called &#x201c;blocks.&#x201d; Blockchain networks are based upon software source code that establishes and governs their respective cryptographic systems for verifying transactions. Complex information technology and communications systems, such as blockchain networks, are subject to a number of different threats or risks (including operational, information security, cyber-attacks and related risks) that could adversely affect the Fund, its shareholders and intermediaries through whom shareholders purchase and redeem shares of the Fund. The use of blockchain technology is relatively new and still evolving. The Fund, the adviser and/or its affiliates will not be responsible for any loss in connection with the use of blockchain technology by the financial intermediaries. Shareholders should contact their financial intermediaries about whether or how they use blockchain technology and the associated risks.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_InterestRateRiskMember"
      id="x_875786c5-150f-4344-8899-dcf98eb3f29a">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Interest Rate Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; The Fund&#x2019;s investments in bonds and other debt securities will change in value based on changes in interest rates. If rates increase, the value of these investments generally declines. Securities with greater interest rate sensitivity and longer maturities generally are subject to greater fluctuations in value. The Fund may invest in variable and floating rate securities. Although these instruments are generally less sensitive to interest rate changes than fixed rate instruments, the value of variable and floating rate securities may decline if their interest rates do not rise as quickly, or as much, as general interest rates. The Fund may face a heightened level of interest rate risk due to certain changes in monetary policy. It is difficult to predict the pace at which central banks or monetary authorities may change interest rates or the timing, frequency, or &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;magnitude of such changes. Any such changes could be sudden and could expose debt markets to significant volatility and reduced liquidity for Fund investments.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_CreditRiskMember"
      id="b546729c-7b45-4908-8d27-1feb5e51ec01">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Credit Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;. The Fund&#x2019;s investments are subject to the risk that issuers and/or counterparties will fail to make payments when due or default completely. Prices of the Fund&#x2019;s investments may be adversely affected if any of the issuers or counterparties it is invested in are subject to an actual or perceived deterioration in their credit quality. Credit spreads may increase, which may reduce the market values of the Fund&#x2019;s securities. Credit spread risk is the risk that economic and market conditions or any actual or perceived credit deterioration may lead to an increase in the credit spreads (i.e., the difference in yield between two securities of similar maturity but different credit quality) and a decline in price of the issuer&#x2019;s securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_GeneralMarketRiskMember"
      id="e72fc42e-4e41-43ad-8eb6-29b6595d6bc9">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;General Market Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Economies and financial markets throughout the world are becoming increasingly interconnected, which increases the likelihood that events or conditions in one country or region will adversely impact markets or issuers in other countries or regions. Securities in the Fund&#x2019;s portfolio may underperform in comparison to securities in general financial markets, a particular financial market or other asset classes due to a number of factors, including inflation (or expectations for inflation), deflation (or expectations for deflation), interest rates, global demand for particular products or resources, market instability, financial system instability, debt crises and downgrades, embargoes, tariffs, sanctions and other trade barriers, regulatory events, other governmental trade or market control programs and related geopolitical events. In addition, the value of the Fund&#x2019;s investments may be negatively affected by the occurrence of global events such as war, terrorism, environmental disasters, natural disasters or events, country instability, and infectious disease epidemics or pandemics or the threat or potential of one or more such factors and occurrences.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_AssetBackedMortgageRelatedandMortgageBackedSecuritiesRiskMember"
      id="x_4837b5f0-8a25-4eff-9e8b-b2fbfad73a4e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Asset-Backed, Mortgage-Related and Mortgage-Backed Securities Risk&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;. Mortgage-related and asset-backed securities are subject to certain other risks, including prepayment and call risks. During periods of difficult or frozen credit markets, significant changes in interest rates, or deteriorating economic conditions, mortgage-related and asset-backed securities may decline in value, face valuation difficulties, become more volatile and/or become illiquid. When mortgages and other obligations are prepaid and when securities are called, the Fund may have to reinvest in securities with a lower yield or fail to recover additional amounts (i.e., premiums) paid for securities with higher interest rates, resulting in an unexpected capital loss and/or a decrease in the amount of dividends and yield. In periods of either rising or declining interest rates, the Fund may be subject to extension risk, and may receive principal later than expected. As a result, in periods of rising interest rates, the Fund may exhibit additional volatility. Additionally, asset-backed, mortgage-related and mortgage-backed securities are subject to risks associated with their structure and the nature of &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;the assets underlying the securities and the servicing of those assets. Certain asset-backed, mortgage-related and mortgage-backed securities may face valuation difficulties and may be less liquid than other types of asset-backed, mortgage-related and mortgage-backed securities, or debt securities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_GovernmentSecuritiesRiskMember"
      id="x_795f469f-f0e4-4a9b-ae59-44320af61902">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Government Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; U.S. Government securities include securities issued or guaranteed by the U.S. Government or its agencies and instrumentalities (such as securities issued by the Government National Mortgage Association (Ginnie Mae), the Federal National Mortgage Association (Fannie Mae), the Federal Home Loan Mortgage Corporation (Freddie Mac) or other Government-Sponsored Enterprises (GSEs)). U.S. Government securities are subject to market risk, interest rate risk and credit risk. Securities, such as those issued or guaranteed by Ginnie Mae or the U.S. Treasury, that are backed by the full faith and credit of the United States are guaranteed only as to the timely payment of interest and principal when held to maturity and the market prices for such securities will fluctuate. The income generated by investments may not keep pace with inflation. Actions by governments and central banking authorities could result in changes in interest rates. Periods of higher inflation could cause such authorities to raise interest rates, which may adversely affect the Fund and its investments. Notwithstanding that these securities are backed by the full faith and credit of the United States, circumstances could arise that would prevent the payment of interest or principal. This would result in losses to the Fund. Securities issued or guaranteed by U.S. Government-related organizations, such as Fannie Mae and Freddie Mac, are not backed by the full faith and credit of the U.S. Government and no assurance can be given that the U.S. Government will provide financial support. Therefore, U.S. Government-related organizations may not have the funds to meet their payment obligations in the future. U.S. Government securities include zero coupon securities, which tend to be subject to greater market risk than interest-paying securities of similar maturities.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_WhenIssuedDelayedSettlementandForwardCommitmentTransactionsRiskMember"
      id="x_72d355be-63e1-4ef8-9cad-4f89da556fb8">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;When-Issued, Delayed Settlement and Forward Commitment Transactions Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; The Fund may purchase or sell securities which it is eligible to purchase or sell on a when-issued basis, may purchase and sell such securities for delayed delivery and may make contracts to purchase or sell such securities for a fixed price at a future date beyond normal settlement time (forward commitments). When-issued transactions, delayed delivery purchases and forward commitments involve the risk that the security the Fund buys will lose value prior to its delivery. There also is the risk that the security will not be issued or that the other party to the transaction will not meet its obligation. If this occurs, the Fund loses both the investment opportunity for the assets it set aside to pay for the security and any gain in the security&#x2019;s price.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_TransactionsRiskMember"
      id="x_9539849b-35ae-40d7-8b27-318531fc7599">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Transactions Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; The Fund could experience a loss and its liquidity may be negatively impacted when selling securities to meet redemption requests. The risk of loss increases if the redemption requests are unusually large or frequent or occur in &lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:10pt;"&gt;times of overall market turmoil or declining prices. Similarly, , large purchases of Fund shares may adversely affect the Fund&#x2019;s performance to the extent that the Fund is delayed in investing new cash and is required to maintain a larger cash position than it ordinarily would.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_FloatingandVariableRateSecuritiesRiskMember"
      id="ef555d9c-0cad-4ee5-99fc-28506bb13c9c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Floating and Variable Rate Securities Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; Floating and variable rate securities provide for a periodic adjustment in the interest rate paid on the securities. The rate adjustment intervals may be regular and range from daily up to annually, or may be based on an event, such as a change in the prime rate. Floating and variable rate securities may be subject to greater liquidity risk than other debt securities, meaning that there may be limitations on the Fund&#x2019;s ability to sell the securities at any given time. Such securities also may lose value.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_NetAssetValueRiskMember"
      id="x_586b1605-2b04-4644-ac85-4b0cabffb6bf">&lt;span style="font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Net Asset Value Risk.&lt;/span&gt;&lt;span style="font-family:Arial Narrow;font-size:10pt;"&gt; There is no assurance that the Fund will meet its investment objective of maintaining a NAV of $1.00 per share on a continuous basis. Furthermore, there can be no assurance that the Fund&#x2019;s affiliates will purchase distressed assets from the Fund, make capital infusions, enter into capital support agreements or take other actions to ensure that the Fund maintains a NAV of $1.00 per share. In the event any money market fund fails to maintain a stable NAV, other money market funds, including the Fund, could face a universal risk of increased redemption pressures, potentially jeopardizing the stability of their NAVs. In general, certain other money market funds have in the past failed to maintain stable NAVs and there can be no assurance that such failures and resulting redemption pressures will not occur in the future.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RepurchaseAgreementRiskMember"
      id="x_1205ae97-b63a-43fe-80ec-8bb8d9816333">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Repurchase Agreement Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; There is a risk that the counterparty to a repurchase agreement will default or otherwise become unable to honor a financial obligation and the value of your investment could decline as a result.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RiskAssociatedwiththeFundHoldingCashRiskMember"
      id="b57a132f-a0fd-42d2-b3b3-597e02e7b276">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Risk Associated with the Fund Holding Cash. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The Fund will generally hold a portion of its assets in cash, primarily to meet redemptions. Cash positions may hurt performance and may subject the Fund to additional risks and costs, such as increased exposure to the custodian bank holding the assets and any fees imposed for large cash balances.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_InterfundLendingRiskMember"
      id="b302d585-8cdc-4a2b-8d2d-90d8aa33f881">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Interfund Lending Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; A delay in repayment to the Fund from a borrowing fund could result in lost opportunity costs. Interfund loans are subject to the risk that the borrowing fund could be unable to repay the loan when due. In the case of a default by a borrowing fund and to the extent that the loan is collateralized, the Fund could take possession of collateral that the Fund is not permitted to hold and, therefore, would be required to dispose of such collateral as soon as possible, which could result in a loss to the Fund.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_PrepaymentRiskMember"
      id="cf0776f8-d4b3-45ee-b723-602f760441b7">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;Prepayment Risk. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The issuer of certain securities may repay principal in advance, especially when yields fall. Changes in the rate at which prepayments or redemptions occur can affect the return on investment of these securities. When debt obligations are prepaid or when securities are called, the Fund may have to &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;reinvest in securities with a lower yield. The Fund also may fail to recover additional amounts (i.e., premiums) paid for securities with higher coupons, resulting in an unexpected capital loss.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_StateandLocalTaxationRiskMember"
      id="x_9c6c2ab5-5878-44cc-91bc-2c876ee70395">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;font-style:italic;"&gt;State and Local Taxation Risk.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; The Fund may invest in securities whose interest is subject to state and local income taxes. Consult your tax professional for more information.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:RiskTextBlock
      contextRef="DigitalSharesMember_S000003909_RiskNotInsuredDepositoryInstitutionMember"
      id="c4ce7252-ead6-4c67-936d-11dfc73b33f3">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;line-height:11pt;"&gt;Investments in the Fund are not deposits or obligations of, or guaranteed or endorsed by, any bank and are not insured or guaranteed by the FDIC, the Federal Reserve Board or any other government agency.&lt;/span&gt;</oef:RiskTextBlock>
    <oef:BarChartAndPerformanceTableHeading
      contextRef="DigitalSharesMember_S000003909"
      id="x_9fd4ed66-55de-4a26-bd6f-b4dfd25ece5c">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:11pt;font-weight:bold;"&gt;The Fund&#x2019;s Past Performance&lt;/span&gt;</oef:BarChartAndPerformanceTableHeading>
    <oef:PerformanceNarrativeTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="b064e685-3460-4b84-ad73-9849421f0085">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;This section provides some indication of the risks of investing in the Fund. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The bar chart shows how the performance of the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Fund&#x2019;s Capital Shares (which are not offered in this prospectus) has varied from year to year for the past ten calendar years.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The table shows the average annual total returns over the past one year, five years and ten years. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Returns for Digital Shares &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;would be similar to the returns shown because the Shares are invested in the same portfolio of securities and the returns would differ only to the extent that the classes do not have the same expenses. To obtain current yield information call 1-800-766-7722. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Past performance (before and after taxes) is &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;not necessarily an indication of how any class of the Fund will perform in the future. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Updated performance information is &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;available by visiting &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;www.jpmorganfunds.com&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt; or by calling &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;1-800-766-7722&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;.&lt;/span&gt;</oef:PerformanceNarrativeTextBlock>
    <oef:PerformanceInformationIllustratesVariabilityOfReturns
      contextRef="DigitalSharesMember_S000003909"
      id="c1c7df98-e909-41c2-8eae-7caf3f92589f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The bar chart shows how the performance of the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Fund&#x2019;s Capital Shares (which are not offered in this prospectus) has varied from year to year for the past ten calendar years.&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The table shows the average annual total returns over the past one year, five years and ten years. &lt;/span&gt;</oef:PerformanceInformationIllustratesVariabilityOfReturns>
    <oef:BarChartReturnsForClassNotOfferedInProspectus
      contextRef="DigitalSharesMember_S000003909"
      id="d10338d3-516b-4525-ab83-0e3d41f89e2e">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;The bar chart shows how the performance of the &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Fund&#x2019;s Capital Shares (which are not offered in this prospectus) has varied from year to year for the past ten calendar years.&lt;/span&gt;</oef:BarChartReturnsForClassNotOfferedInProspectus>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="DigitalSharesMember_S000003909"
      id="e905568d-3520-45e3-9161-6c3cc3ff960d">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;Past performance (before and after taxes) is &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;not necessarily an indication of how any class of the Fund will perform in the future. &lt;/span&gt;</oef:PerformancePastDoesNotIndicateFuture>
    <oef:PerformanceAvailabilityWebSiteAddress
      contextRef="DigitalSharesMember_S000003909"
      id="x_6c65f34a-4024-4704-9061-168324419520">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;www.jpmorganfunds.com&lt;/span&gt;</oef:PerformanceAvailabilityWebSiteAddress>
    <oef:PerformanceAvailabilityPhone
      contextRef="DigitalSharesMember_S000003909"
      id="x_3f57dd95-251b-4445-8683-b0a834dffa7f">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:10pt;"&gt;1-800-766-7722&lt;/span&gt;</oef:PerformanceAvailabilityPhone>
    <oef:BarChartHeading
      contextRef="DigitalSharesMember_S000003909"
      id="x_5a1979a6-2c69-416e-9da8-f049ebdf028e">&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:10pt;font-weight:bold;margin-left:0.0pt;"&gt;YEAR-BY-YEAR RETURNS&lt;/span&gt;</oef:BarChartHeading>
    <oef:BarChartClosingTextBlock
      contextRef="DigitalSharesMember_S000003909"
      id="x_067f3ee0-f7fc-4d0c-a7f5-8e3c8b274e36">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;Best Quarter&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;-sec-ix-hidden:b1e002aa-bbf0-4e98-93e9-fe7f0ccf59a4"&gt;4Q, 2023&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;1.32%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;Worst Quarter&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;1Q, 2Q and&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;-sec-ix-hidden:x_08849706-e267-4045-9105-de2ac03719dc"&gt;3Q 2015&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;0.00%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;The Fund&#x2019;s year-to-date total return&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;through&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;6/30/25&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;was&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;2.12%&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;.&lt;/span&gt;</oef:BarChartClosingTextBlock>
    <oef:HighestQuarterlyReturnLabel
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="df852b5a-b06c-4a9b-8101-1cc6d8fd0bf0">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;Best Quarter&lt;/span&gt;</oef:HighestQuarterlyReturnLabel>
    <oef:BarChartHighestQuarterlyReturn
      contextRef="DigitalSharesMember_S000003909_C000010941"
      decimals="4"
      id="c46a4d3b-d4bb-4e35-add0-ea365064ad6f"
      unitRef="pure">0.0132</oef:BarChartHighestQuarterlyReturn>
    <oef:LowestQuarterlyReturnLabel
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="x_2b9a737c-b980-42e1-826c-e07eddcb9aeb">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;font-weight:bold;margin-left:0.0pt;"&gt;Worst Quarter&lt;/span&gt;</oef:LowestQuarterlyReturnLabel>
    <oef:BarChartLowestQuarterlyReturn
      contextRef="DigitalSharesMember_S000003909_C000010941"
      decimals="4"
      id="x_30e32eac-d487-44b2-b889-9c9304420f9d"
      unitRef="pure">0.0000</oef:BarChartLowestQuarterlyReturn>
    <oef:YearToDateReturnLabel
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="x_4ea646e2-7029-4b09-891d-1701be74d659">&lt;span style="color:#000000;font-family:Arial Narrow;font-size:9pt;margin-left:0.0pt;"&gt;The Fund&#x2019;s year-to-date total return&lt;/span&gt;</oef:YearToDateReturnLabel>
    <oef:BarChartYearToDateReturnDate
      contextRef="DigitalSharesMember_S000003909_C000010941"
      id="x_036850ff-5098-4bd3-8ff4-071a777997a5">2025-06-30</oef:BarChartYearToDateReturnDate>
    <oef:BarChartYearToDateReturn
      contextRef="DigitalSharesMember_S000003909_C000010941"
      decimals="4"
      id="x_101de092-0b39-4010-a5f9-ba579f40aa27"
      unitRef="pure">0.0212</oef:BarChartYearToDateReturn>
    <oef:PerformanceTableHeading
      contextRef="DigitalSharesMember_S000003909"
      id="b5eb74f8-17f2-4e69-ad8e-76845c58c8b1">&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:11pt;font-weight:bold;margin-left:0.0pt;"&gt;AVERAGE ANNUAL TOTAL RETURNS&lt;/span&gt;&lt;span style="color:#FFFFFF;font-family:Arial Narrow;font-size:8pt;font-weight:bold;margin-left:0.0pt;"&gt;(For periods ended December 31, 2024)&lt;/span&gt;</oef:PerformanceTableHeading>
    <oef:AvgAnnlRtrPct
      contextRef="DigitalSharesMember_C000010941_01Jan2024_31Dec2024"
      decimals="4"
      id="x_770e44a4-9a07-4898-b5fb-f538d65d9958"
      unitRef="pure">0.0516</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="DigitalSharesMember_C000010941_01Jan2020_31Dec2024"
      decimals="4"
      id="x_0b08027a-9604-47a8-9bd4-f96d18a8374e"
      unitRef="pure">0.0239</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="DigitalSharesMember_C000010941_01Jan2015_31Dec2024"
      decimals="4"
      id="x_94603e86-4229-4ecd-a63d-115fc8c81b92"
      unitRef="pure">0.0168</oef:AvgAnnlRtrPct>
</xbrl>
