<?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:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="insm-20260806.xsd" xlink:type="simple"/>
    <context id="c20260806to20260806">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001104506</identifier>
        </entity>
        <period>
            <startDate>2026-08-06</startDate>
            <endDate>2026-08-06</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20260806to20260806"
      id="Fact_912cfcd1cad44ae68f7f84bc884a863a">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20260806to20260806"
      id="Fact_5edffbd6f1e04b18a21f98dc5a3f4acc">0001104506</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20260806to20260806"
      id="Fact_fa5a2c5fc6444121bb2ca082ed4afef6">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20260806to20260806"
      id="Fact_f2573bb51c5a4303b765f333b27421f2">2026-08-06</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20260806to20260806"
      id="Fact_1a57920d7f3e4574a3895b566063cd6b">INSMED INCORPORATED</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20260806to20260806"
      id="Fact_f7b1b573986643b7854fe2090ad2d727">VA</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20260806to20260806"
      id="Fact_b011095da1904bc4b0108e7a0f83988c">000-30739</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20260806to20260806"
      id="Fact_ea43f9ea8edc4436ad212fa376d71383">54-1972729</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20260806to20260806"
      id="Fact_1ae719170d904a1e889a62854e0f65b8">700 US Highway 202/206</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20260806to20260806"
      id="Fact_f508f21f4c924d45b9a9e8f04dd51bc4">Bridgewater</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20260806to20260806"
      id="Fact_2736dfd8d13d40338db7d15bed3b5b38">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20260806to20260806"
      id="Fact_9cda123da344480e877dae3f266e1bba">08807</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20260806to20260806"
      id="Fact_8f8119890f79405781a19979df34f90a">908</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20260806to20260806"
      id="Fact_0e8d4d3904c741db97b1c0d964eacdfa">977-9900</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20260806to20260806"
      id="Fact_90b2a3780a894ad388e6569199a651ef">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20260806to20260806"
      id="Fact_c4d8fb4948bf4b9e972730851e3320a4">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20260806to20260806"
      id="Fact_92022de67c4e49048860ad5f4efc2689">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20260806to20260806"
      id="Fact_ad61c2741c534b64a4731571773be569">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20260806to20260806"
      id="Fact_43b08f43914442d3a28f76636eec7d26">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20260806to20260806"
      id="Fact_15cc55d172264fada7aa059e23a8d4a7">INSM</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20260806to20260806"
      id="Fact_f8657cb646334583a29136329dfccc06">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20260806to20260806"
      id="Fact_f2aad1649de34cb9a40e5437b2537231">false</dei:EntityEmergingGrowthCompany>
</xbrl>
