<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:ck0001008003="http://www.prudential.com/20261005"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:vip="http://xbrl.sec.gov/vip/2026"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="ck0001008003-20261005.xsd" xlink:type="simple"/>
    <context id="c-1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001008003</identifier>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</endDate>
        </period>
    </context>
    <context id="c-2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001008003</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:PortfolioCompanyAxis">ck0001008003:C000026478Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-01</startDate>
            <endDate>2026-05-01</endDate>
        </period>
    </context>
    <unit id="number">
        <measure>pure</measure>
    </unit>
    <dei:DocumentType contextRef="c-1" id="f-12">N-6</dei:DocumentType>
    <dei:EntityCentralIndexKey contextRef="c-1" id="f-13">0001008003</dei:EntityCentralIndexKey>
    <dei:EntityInvCompanyType contextRef="c-1" id="f-14">N-6</dei:EntityInvCompanyType>
    <dei:AmendmentFlag contextRef="c-1" id="f-15">false</dei:AmendmentFlag>
    <dei:EntityRegistrantName contextRef="c-1" id="f-1">The Prudential Variable Contract Account GI-2</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate contextRef="c-1" id="f-2">2026-10-05</dei:DocumentPeriodEndDate>
    <vip:PortfolioCompanyObjectiveTextBlock contextRef="c-2" id="f-3">&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:10pt;font-weight:400;line-height:105%"&gt;Tactical Allocation&lt;/span&gt;</vip:PortfolioCompanyObjectiveTextBlock>
    <vip:PortfolioCompanyNameTextBlock contextRef="c-2" id="f-4">&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:10pt;font-weight:700;line-height:105%"&gt;PIMCO All Asset Portfolio&lt;/span&gt; (Administrative Class)</vip:PortfolioCompanyNameTextBlock>
    <vip:PortfolioCompanyAdviserTextBlock contextRef="c-2" id="f-5">Pacific Investment Management Company LLC</vip:PortfolioCompanyAdviserTextBlock>
    <vip:PortfolioCompanySubadviserTextBlock contextRef="c-2" id="f-6">&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:10pt;font-style:italic;font-weight:400;line-height:105%"&gt;Syzygy Asset Management&lt;/span&gt;</vip:PortfolioCompanySubadviserTextBlock>
    <vip:CurrentExpensesPercent contextRef="c-2" decimals="4" id="f-7" unitRef="number">0.0208</vip:CurrentExpensesPercent>
    <vip:AverageAnnualTotalReturns1YearPercent contextRef="c-2" decimals="4" id="f-8" unitRef="number">0.1420</vip:AverageAnnualTotalReturns1YearPercent>
    <vip:AverageAnnualTotalReturns5YearsPercent contextRef="c-2" decimals="4" id="f-9" unitRef="number">0.0560</vip:AverageAnnualTotalReturns5YearsPercent>
    <vip:AverageAnnualTotalReturns10YearsPercent contextRef="c-2" decimals="4" id="f-10" unitRef="number">0.0677</vip:AverageAnnualTotalReturns10YearsPercent>
    <vip:PortfolioCompaniesTableTextBlock contextRef="c-1" id="f-11">&lt;div&gt;&lt;span style="color:#000000;font-family:'Calibri',sans-serif;font-size:10pt;font-weight:400;line-height:110%"&gt;&#x5e; The Fund&#x2019;s annual current expense reflects temporary fee reductions&lt;/span&gt;&lt;/div&gt;</vip:PortfolioCompaniesTableTextBlock>
</xbrl>
