<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2026"
  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">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2026/ffd-2026.xsd"
      xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874015</identifier>
        </entity>
        <period>
            <startDate>2026-07-31</startDate>
            <endDate>2026-07-31</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874015</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-31</startDate>
            <endDate>2026-07-31</endDate>
        </period>
    </context>
    <context id="c2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000874015</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-07-31</startDate>
            <endDate>2026-07-31</endDate>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="usdPershares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="usd">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c0" id="ixv-128">S-8</ffd:SubmissnTp>
    <ffd:FormTp contextRef="c0" id="ixv-129">S-8</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-19">Ionis Pharmaceuticals, Inc.</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c1" id="ixv-130">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c1" id="ixv-131">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c1" id="ixv-132">Common Stock, par value $.001 per share issuable under the Amended and Restated 2011 Equity Incentive Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c1" id="ixv-133">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c1"
      decimals="INF"
      id="ixv-134"
      unitRef="shares">9500000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c1"
      decimals="INF"
      id="ixv-135"
      unitRef="usdPershares">53.35</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c1" decimals="INF" id="ixv-136" unitRef="usd">506825000</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c1" decimals="INF" id="ixv-137" unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c1" decimals="2" id="ixv-138" unitRef="usd">69992.53</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c2" id="ixv-139">false</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c2" id="ixv-140">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c2" id="ixv-141">Common Stock, par value $.001 per share issuable under the Amended and Restated 2000 Employee Stock Purchase Plan</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c2" id="ixv-142">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c2"
      decimals="INF"
      id="ixv-143"
      unitRef="shares">750000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c2"
      decimals="INF"
      id="ixv-144"
      unitRef="usdPershares">53.35</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric contextRef="c2" decimals="INF" id="ixv-145" unitRef="usd">40012500</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate contextRef="c2" decimals="INF" id="ixv-146" unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt contextRef="c2" decimals="2" id="ixv-147" unitRef="usd">5525.73</ffd:FeeAmt>
    <ffd:TtlOfferingAmt contextRef="c0" decimals="INF" id="ixv-148" unitRef="usd">546837500</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt contextRef="c0" decimals="2" id="ixv-149" unitRef="usd">75518.26</ffd:TtlFeeAmt>
    <ffd:TtlOffsetAmt contextRef="c0" decimals="0" id="ixv-150" unitRef="usd">0</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt contextRef="c0" decimals="2" id="ixv-151" unitRef="usd">75518.26</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c1" id="ixv-99">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(1)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;In accordance with Rule 416(a) under the Securities Act, this Registration Statement shall be deemed to cover any additional securities that may from time to time be offered or issued by Ionis Pharmaceuticals, Inc. to prevent dilution resulting from stock splits, stock dividends or similar transactions.&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;(2)&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;Estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) and Rule 457(h) of the Securities Act. The price per share and the aggregate offering price are calculated on the basis of $53.35, which is the average of the high and low price per share of Registrant&#x2019;s Common Stock on July 30, 2026, as reported on the Nasdaq Global Market.&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c2" id="ixv-100">&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt; &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt; &lt;td style="padding: 0px 0pt;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;(1)&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt; &lt;div style="margin-bottom: 4pt;"&gt; &lt;span style="font-size: 10.0pt;"&gt;In accordance with Rule 416(a) under the Securities Act, this Registration Statement shall be deemed to cover any additional securities that may from time to time be offered or issued by Ionis Pharmaceuticals, Inc. to prevent dilution resulting from stock splits, stock dividends or similar transactions.&lt;/span&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt;&lt;table style="font-size: 12pt; border-spacing: 0px; border-collapse: collapse; width: 100%;"&gt;
   &lt;tr style="height: 0px; font-size: 0px;"&gt;&lt;td style="width: 1%;"&gt;&#160;&lt;/td&gt;&lt;td style="width: 99%;"&gt;&#160;&lt;/td&gt;&lt;/tr&gt;&lt;tr style="vertical-align: top;"&gt;
    &lt;td style="padding: 0px 0pt;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;(2)&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
    &lt;td style="padding: 0px 5.4pt; text-align: left;"&gt;
     &lt;div style="margin-bottom: 4pt;"&gt;
      &lt;span style="font-size: 10.0pt;"&gt;Estimated solely for the purpose of calculating the amount of the registration fee pursuant to Rule 457(c) and Rule 457(h) of the Securities Act. The price per share and the aggregate offering price are calculated on the basis of $53.35, which is the average of the high and low price per share of Registrant&#x2019;s Common Stock on July 30, 2026, as reported on the Nasdaq Global Market.&lt;/span&gt;
     &lt;/div&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;</ffd:OfferingNote>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-154">0000874015</dei:EntityCentralIndexKey>
    <ffd:FeeExhibitTp contextRef="c0" id="ixv-155">EX-FILING FEES</ffd:FeeExhibitTp>
    <ffd:OffsetTableNa contextRef="c0" id="ixv-156">N/A</ffd:OffsetTableNa>
</xbrl>
