<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:nationwide="http://www.nationwide.com/20260701"
  xmlns:vip="http://xbrl.sec.gov/vip/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="nationwide-20260701.xsd" xlink:type="simple"/>
    <context id="D_10Jul2026_10Jul2026">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005336</identifier>
        </entity>
        <period>
            <startDate>2026-07-10</startDate>
            <endDate>2026-07-10</endDate>
        </period>
    </context>
    <context id="C000014324_VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005336</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nationwide:C000014324Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="vip:PortfolioCompanyAxis">nationwide:VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-10</startDate>
            <endDate>2026-07-10</endDate>
        </period>
    </context>
    <context id="C000220422_VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005336</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nationwide:C000220422Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="vip:PortfolioCompanyAxis">nationwide:VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-10</startDate>
            <endDate>2026-07-10</endDate>
        </period>
    </context>
    <context id="C000014324">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005336</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nationwide:C000014324Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-10</startDate>
            <endDate>2026-07-10</endDate>
        </period>
    </context>
    <context id="C000220422">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001005336</identifier>
            <segment>
                <xbrldi:explicitMember dimension="vip:ContractAxis">nationwide:C000220422Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-10</startDate>
            <endDate>2026-07-10</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="D_10Jul2026_10Jul2026" id="apid_1">JEFFERSON NATIONAL LIFE ANNUITY ACCOUNT G</dei:EntityRegistrantName>
    <dei:EntityCentralIndexKey contextRef="D_10Jul2026_10Jul2026" id="apid_2">0001005336</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="D_10Jul2026_10Jul2026" id="apid_3">false</dei:AmendmentFlag>
    <dei:EntityInvCompanyType contextRef="D_10Jul2026_10Jul2026" id="apid_7">N-4</dei:EntityInvCompanyType>
    <dei:DocumentType contextRef="D_10Jul2026_10Jul2026" id="apid_8">N-4</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="D_10Jul2026_10Jul2026"
      id="apid_19467e52-7ba5-46cb-a9b0-a625a67e88bd">2026-07-10</dei:DocumentPeriodEndDate>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000014324"
      id="x_004e171d-9d79-41bf-b548-788b4cb62860">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The following underlying mutual fund is offered as an investment option under the contract or policy. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Effective July 29, 2026, the name of the investment option is updated as indicated below:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:1pt;line-height:1pt;"&gt;&#x2003;&lt;/span&gt; 
&lt;table cellpadding="0" cellspacing="0" style="border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:0.5pt solid #000000;border-top:0.5pt solid #000000;empty-cells:show;width:541pt;"&gt; 
&lt;tr style="height:17.5pt;"&gt; 
&lt;td style="border-bottom:0.5pt solid #000000;border-right:0.5pt solid #000000;padding-bottom:3.125pt;padding-top:3.125pt;vertical-align:Bottom;width:270.5pt;"&gt; &lt;div style="line-height:11.0pt;text-align:left;"&gt; &lt;div style="margin-left:3pt;margin-right:5.75pt;text-align:Center;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8pt;font-weight:bold;"&gt;CURRENT NAME&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt; 
&lt;td style="border-bottom:0.5pt solid #000000;padding-bottom:3.125pt;padding-top:3.125pt;vertical-align:Bottom;width:270.5pt;"&gt; &lt;div style="line-height:11.0pt;text-align:left;"&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Center;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8pt;font-weight:bold;"&gt;UPDATED NAME&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt; 
&lt;tr style="height:25.5pt;"&gt; 
&lt;td style="border-right:0.5pt solid #000000;padding-bottom:1.5pt;padding-top:3.125pt;vertical-align:Top;width:270.5pt;"&gt; &lt;div style="line-height:11pt;text-align:left;"&gt; &lt;div style="margin-left:3pt;margin-right:5.75pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Mid-Cap Index Portfolio&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt; 
&lt;td style="padding-bottom:1.5pt;padding-top:3.125pt;vertical-align:Top;width:270.5pt;"&gt; &lt;div style="line-height:11pt;text-align:left;"&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Morningstar Mid-Cap Index &lt;/span&gt;&lt;/div&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Portfolio&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:InvestmentOptionsN4TextBlock
      contextRef="C000220422"
      id="ixg004e171d-9d79-41bf-b548-788b4cb62860_1">&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;The following underlying mutual fund is offered as an investment option under the contract or policy. &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:10pt;"&gt;Effective July 29, 2026, the name of the investment option is updated as indicated below:&lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:1pt;line-height:1pt;"&gt;&#x2003;&lt;/span&gt; 
&lt;table cellpadding="0" cellspacing="0" style="border-bottom:0.5pt solid #000000;border-left:0.5pt solid #000000;border-right:0.5pt solid #000000;border-top:0.5pt solid #000000;empty-cells:show;width:541pt;"&gt; 
&lt;tr style="height:17.5pt;"&gt; 
&lt;td style="border-bottom:0.5pt solid #000000;border-right:0.5pt solid #000000;padding-bottom:3.125pt;padding-top:3.125pt;vertical-align:Bottom;width:270.5pt;"&gt; &lt;div style="line-height:11.0pt;text-align:left;"&gt; &lt;div style="margin-left:3pt;margin-right:5.75pt;text-align:Center;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8pt;font-weight:bold;"&gt;CURRENT NAME&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt; 
&lt;td style="border-bottom:0.5pt solid #000000;padding-bottom:3.125pt;padding-top:3.125pt;vertical-align:Bottom;width:270.5pt;"&gt; &lt;div style="line-height:11.0pt;text-align:left;"&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Center;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:8pt;font-weight:bold;"&gt;UPDATED NAME&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt; 
&lt;tr style="height:25.5pt;"&gt; 
&lt;td style="border-right:0.5pt solid #000000;padding-bottom:1.5pt;padding-top:3.125pt;vertical-align:Top;width:270.5pt;"&gt; &lt;div style="line-height:11pt;text-align:left;"&gt; &lt;div style="margin-left:3pt;margin-right:5.75pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Mid-Cap Index Portfolio&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt; 
&lt;td style="padding-bottom:1.5pt;padding-top:3.125pt;vertical-align:Top;width:270.5pt;"&gt; &lt;div style="line-height:11pt;text-align:left;"&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Morningstar Mid-Cap Index &lt;/span&gt;&lt;/div&gt; &lt;div style="margin-left:5.75pt;margin-right:3pt;text-align:Left;white-space:nowrap;"&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Portfolio&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</vip:InvestmentOptionsN4TextBlock>
    <vip:PortfolioCompanyNameTextBlock
      contextRef="C000220422_VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember"
      id="ixg56bc3e56-5a5c-4b84-a2a6-21110d71f552_1">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Morningstar Mid-Cap Index &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Portfolio&lt;/span&gt;</vip:PortfolioCompanyNameTextBlock>
    <vip:PortfolioCompanyNameTextBlock
      contextRef="C000014324_VanguardVariableInsuranceFundMorningstarMidCapIndexPortfolioMember"
      id="x_56bc3e56-5a5c-4b84-a2a6-21110d71f552">&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Vanguard Variable Insurance Fund - Morningstar Mid-Cap Index &lt;/span&gt;&lt;span style="color:#000000;font-family:Arial;font-size:9pt;margin-left:0.0pt;"&gt;Portfolio&lt;/span&gt;</vip:PortfolioCompanyNameTextBlock>
</xbrl>
