<?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">0001590877</identifier>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_5">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>5</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_6">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>6</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="offrl_7">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>7</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="ofst_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</endDate>
        </period>
    </context>
    <context id="ofst_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001590877</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OffsetAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-11-26</startDate>
            <endDate>2025-11-26</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-465">S-3</ffd:FormTp>
    <ffd:SubmissnTp contextRef="rc" id="ixv-466">S-3</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="rc" id="ixv-467">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="rc" id="ixv-468">0001590877</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-469">REGENXBIO Inc.</dei:EntityRegistrantName>
    <ffd:OfferingTableNa contextRef="rc" id="hiddenrcOfferingTableNa" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="rc" id="hiddenrcOffsetTableNa" xsi:nil="true"/>
    <ffd:CombinedProspectusTableNa contextRef="rc" id="hiddenrcCombinedProspectusTableNa">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FeeRate
      contextRef="offrl_1"
      decimals="INF"
      id="ixv-473"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_2"
      decimals="INF"
      id="ixv-474"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_3"
      decimals="INF"
      id="ixv-475"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_4"
      decimals="INF"
      id="ixv-476"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_5"
      decimals="INF"
      id="ixv-477"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeRate
      contextRef="offrl_6"
      decimals="INF"
      id="ixv-478"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:OffsetClmdInd contextRef="ofst_1" id="ixv-479">true</ffd:OffsetClmdInd>
    <ffd:OffsetClmdInd contextRef="ofst_2" id="ixv-480">false</ffd:OffsetClmdInd>
    <ffd:FormTp contextRef="rc" id="ixv-577">S-3</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="rc" id="ixv-578">REGENXBIO Inc.</dei:EntityRegistrantName>
    <ffd:OfferingSctyTp contextRef="offrl_1" id="ixv-579">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_1" id="ixv-580">Common Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_1" id="ixv-581">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_2" id="ixv-582">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_2" id="ixv-583">Preferred Stock, par value $0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_2" id="ixv-584">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_3" id="ixv-585">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_3" id="ixv-586">Warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_3" id="ixv-587">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_4" id="ixv-588">Debt</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_4" id="ixv-589">Debt Securities</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_4" id="ixv-590">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_5" id="ixv-591">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_5" id="ixv-592">Rights</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_5" id="ixv-593">true</ffd:Rule457oFlg>
    <ffd:OfferingSctyTp contextRef="offrl_6" id="ixv-594">Other</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="offrl_6" id="ixv-595">Units</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="offrl_6" id="ixv-596">true</ffd:Rule457oFlg>
    <ffd:PrevslyPdFlg contextRef="offrl_7" id="ixv-597">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="offrl_7" id="ixv-598">Unallocated (Universal) Shelf</ffd:OfferingSctyTp>
    <ffd:Rule457oFlg contextRef="offrl_7" id="ixv-599">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-600"
      unitRef="USD">300000000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-601"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="offrl_7"
      decimals="INF"
      id="ixv-602"
      unitRef="USD">41430.00</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="rc" decimals="INF" id="ixv-603" unitRef="USD">300000000.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="rc" decimals="INF" id="ixv-604" unitRef="USD">41430.00</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt contextRef="rc" decimals="INF" id="ixv-605" unitRef="USD">0.00</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt contextRef="rc" decimals="INF" id="ixv-606" unitRef="USD">41430.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="rc" decimals="INF" id="ixv-607" unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="offrl_7" id="ixv-608">(1) An indeterminate aggregate initial offering price or number or amount of securities of each identified class are being registered as may from time to time be offered at indeterminate prices, including an indeterminate number or amount of securities that may be issued upon the exercise, settlement, exchange or conversion of securities offered hereunder, which together shall have an aggregate initial offering price not to exceed $300,000,000. Separate consideration may or may not be received for securities that are issuable upon conversion of, or in exchange for, or upon exercise of, convertible or exchangeable securities. In addition, pursuant to Rule 416 under the Securities Act of 1933 (the "Securities Act"), the securities being registered hereunder includes such indeterminate number of additional securities as may be issuable as a result of stock splits, stock dividends or similar transactions. (2) Each unit will represent an interest in two or more other securities registered hereunder, which may or may not be separable from one another. </ffd:OfferingNote>
    <ffd:Rule457pOffsetFlg contextRef="ofst_1" id="ixv-609">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_1" id="ixv-610">REGENXBIO Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_1" id="ixv-611">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_1" id="ixv-612">333-269086</ffd:OffsetPrrFileNb>
    <ffd:OffsetClmInitlFilgDt contextRef="ofst_1" id="ixv-613">2025-03-13</ffd:OffsetClmInitlFilgDt>
    <ffd:OffsetClmdAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-614"
      unitRef="USD">41430.00</ffd:OffsetClmdAmt>
    <ffd:OffsetPrrSctyTp contextRef="ofst_1" id="ixv-615">Unallocated (Universal) Shelf</ffd:OffsetPrrSctyTp>
    <ffd:OffsetPrrUnsoldOfferingAmt
      contextRef="ofst_1"
      decimals="INF"
      id="ixv-616"
      unitRef="USD">300000000.00</ffd:OffsetPrrUnsoldOfferingAmt>
    <ffd:Rule457pOffsetFlg contextRef="ofst_2" id="ixv-617">true</ffd:Rule457pOffsetFlg>
    <ffd:OffsetPrrFilerNm contextRef="ofst_2" id="ixv-618">REGENXBIO Inc.</ffd:OffsetPrrFilerNm>
    <ffd:OffsetPrrFormTp contextRef="ofst_2" id="ixv-619">S-3</ffd:OffsetPrrFormTp>
    <ffd:OffsetPrrFileNb contextRef="ofst_2" id="ixv-620">333-269086</ffd:OffsetPrrFileNb>
    <ffd:OffsetSrcFilgDt contextRef="ofst_2" id="ixv-621">2025-03-13</ffd:OffsetSrcFilgDt>
    <ffd:OffsetPrrFeeAmt
      contextRef="ofst_2"
      decimals="INF"
      id="ixv-622"
      unitRef="USD">41430.00</ffd:OffsetPrrFeeAmt>
    <ffd:TermntnCmpltnWdrwl contextRef="ofst_1" id="ixv-623">The registrant has terminated or completed any offerings that included the unsold securities under the Prior Registration Statement.</ffd:TermntnCmpltnWdrwl>
    <ffd:OffsetNote contextRef="ofst_1" id="ixv-624">The registrant previously paid a registration fee of $45,930.00 with respect to Post-Effective Amendment No. 1 to the registrant's Registration Statement on Form S-3 (File No. 333-269086), which was filed by the registrant on March 13, 2025 (the "Prior Registration Statement") pertaining to the registration of an indeterminant aggregate initial offering price or number or amount of securities with an aggregate initial offering price not to exceed $300,000,000, all of which remained unsold. Pursuant to Rule 457(p) under the Securities Act, the registrant is entitled to offset the full registration fee of $45,930.00 with respect to unsold securities registered under the Prior Registration Statement.</ffd:OffsetNote>
</xbrl>
