<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="rc">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <context id="offrl_8">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001610520</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>8</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-01-05</startDate>
            <endDate>2026-01-05</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <ffd:FormTp contextRef="rc" id="ixv-509">F-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-510">F-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-511">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-512">0001610520</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-513">UBS Group AG</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="rc" id="ixv-604">F-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-605">UBS Group AG</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="offrl_1" id="ixv-606">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-607">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-608">4.875% Senior Notes due 2045 of UBS Group AG</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_1" id="ixv-609">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_1"
      decimals="2"
      id="ixv-610"
      unitRef="Shares">104502677.88</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_1"
      decimals="2"
      id="ixv-611"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_1"
      decimals="2"
      id="ixv-612"
      unitRef="USD">104502677.88</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="7"
      id="ixv-613"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_1"
      decimals="2"
      id="ixv-614"
      unitRef="USD">14431.82</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_2" id="ixv-615">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-616">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-617">4.550% Senior Notes due 2026 of UBS Group AG</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_2" id="ixv-618">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_2"
      decimals="2"
      id="ixv-619"
      unitRef="Shares">395800850.32</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_2"
      decimals="2"
      id="ixv-620"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_2"
      decimals="2"
      id="ixv-621"
      unitRef="USD">395800850.32</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="7"
      id="ixv-622"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_2"
      decimals="2"
      id="ixv-623"
      unitRef="USD">54660.10</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_3" id="ixv-624">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-625">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-626">3.750% Senior Notes due 2025 of UBS Group AG</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_3" id="ixv-627">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_3"
      decimals="2"
      id="ixv-628"
      unitRef="Shares">400623852.57</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_3"
      decimals="2"
      id="ixv-629"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_3"
      decimals="2"
      id="ixv-630"
      unitRef="USD">400623852.57</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="7"
      id="ixv-631"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_3"
      decimals="2"
      id="ixv-632"
      unitRef="USD">55326.15</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_4" id="ixv-633">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-634">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-635">3.800% Senior Notes due 2023 of UBS Group AG</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_4" id="ixv-636">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_4"
      decimals="1"
      id="ixv-637"
      unitRef="Shares">175079315.5</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_4"
      decimals="2"
      id="ixv-638"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_4"
      decimals="2"
      id="ixv-639"
      unitRef="USD">175079315.50</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="7"
      id="ixv-640"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_4"
      decimals="2"
      id="ixv-641"
      unitRef="USD">24178.45</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_5" id="ixv-642">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-643">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-644">3.800% Senior Notes due 2022 of Credit Suisse Group Funding (Guernsey) Limited</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_5" id="ixv-645">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_5"
      decimals="2"
      id="ixv-646"
      unitRef="Shares">13856732.28</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_5"
      decimals="2"
      id="ixv-647"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_5"
      decimals="2"
      id="ixv-648"
      unitRef="USD">13856732.28</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="7"
      id="ixv-649"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_5"
      decimals="2"
      id="ixv-650"
      unitRef="USD">1913.61</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_6" id="ixv-651">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-652">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-653">7 1/8% Notes due July 15, 2032</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_6" id="ixv-654">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="offrl_6"
      decimals="0"
      id="ixv-655"
      unitRef="Shares">4232000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="offrl_6"
      decimals="2"
      id="ixv-656"
      unitRef="USD">1.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_6"
      decimals="2"
      id="ixv-657"
      unitRef="USD">4232000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="7"
      id="ixv-658"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_6"
      decimals="2"
      id="ixv-659"
      unitRef="USD">584.44</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_7" id="ixv-660">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_7" id="ixv-661">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_7" id="ixv-662">Guarantees of UBS AG in connection with the 7 1/8% Notes due July 15, 2032 of Credit Suisse (USA) LLC</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_7" id="ixv-663">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="offrl_7"
      decimals="7"
      id="ixv-664"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_7"
      decimals="2"
      id="ixv-665"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="offrl_8" id="ixv-666">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_8" id="ixv-667">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_8" id="ixv-668">Subordinated Guarantees of UBS Group AG in connection with the 7 1/8% Notes due July 15, 2032 of Credit Suisse (USA) LLC</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="offrl_8" id="ixv-669">true</ffd:FeesOthrRuleFlg>
    <ffd:FeeRate
      contextRef="offrl_8"
      decimals="7"
      id="ixv-670"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_8"
      decimals="2"
      id="ixv-671"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="2" id="ixv-672" unitRef="USD">1094095428.55</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="2" id="ixv-673" unitRef="USD">151094.57</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="2" id="ixv-674" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="2" id="ixv-675" unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="2" id="ixv-676" unitRef="USD">151094.57</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_1" id="ixv-677">(1) These securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act of 1933, as amended (the "Securities Act"), the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. In addition to the rescission offer, the issuer of these securities or its affiliates may reoffer or resell these securities on an ongoing basis in market-making transactions. Pursuant to Rule 457(q) under the Securities Act, no separate registration fee is payable with respect to any such market-making transactions. The aggregate principal amount of the 4.875% Senior Notes due 2045 of UBS Group AG currently outstanding is $1,924,666,000.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_2" id="ixv-678">(2) These securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act, the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. In addition to the rescission offer, the issuer of these securities or its affiliates may reoffer or resell these securities on an ongoing basis in market-making transactions. Pursuant to Rule 457(q) under the Securities Act, no separate registration fee is payable with respect to any such market-making transactions. The aggregate principal amount of the 4.550% Senior Notes due 2026 of UBS Group AG currently outstanding is $1,982,535,000.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_3" id="ixv-679">(3) These securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act, the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. These securities have matured and are no longer outstanding.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_4" id="ixv-680">(3) These securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act, the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. These securities have matured and are no longer outstanding.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_5" id="ixv-681">(3) These securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act, the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. These securities have matured and are no longer outstanding. (4) The 3.800% Senior Notes due 2022 of Credit Suisse Group Funding (Guernsey) Limited were guaranteed by Credit Suisse Group AG. As these securities have matured and are no longer outstanding, such guarantees are note being registered under this Registration Statement.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_6" id="ixv-682">(5) Certain of these securities were sold prior to the registration of such sales and are subsequently registered for the purpose of making an offer of rescission of such sales. In accordance with Rule 475(j) under the Securities Act, the registration fee is to be calculated on the basis of the amount at which such securities were sold. To determine such price, the issuer has excluded any accrued interest, fees, selling concessions or other additional amounts. In addition to the rescission offer, the issuer of these securities or its affiliates may reoffer or resell these securities on an ongoing basis in market-making transactions. Pursuant to Rule 457(q) under the Securities Act, no separate registration fee is payable with respect to any such market-making transactions. The aggregate principal amount of the 7 1/8% Notes due July 15, 2032 of Credit Suisse (USA) LLC currently outstanding is $742,344,000.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_7" id="ixv-683">(6) No separate consideration will be received for the subordinated guarantees of UBS Group AG and the guarantees of UBS AG in connection with the 7 1/8% Notes due July 15, 2032 of Credit Suisse (USA) LLC. Pursuant to Rule 475(n) under the Securities Act, no registration fee is payable with respect to the subordinated guarantees of UBS Group AG and guarantees of UBS AG being registered.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="offrl_8" id="ixv-684">(6) No separate consideration will be received for the subordinated guarantees of UBS Group AG and the guarantees of UBS AG in connection with the 7 1/8% Notes due July 15, 2032 of Credit Suisse (USA) LLC. Pursuant to Rule 475(n) under the Securities Act, no registration fee is payable with respect to the subordinated guarantees of UBS Group AG and guarantees of UBS AG being registered.</ffd:OfferingNote>
</xbrl>
