<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2024"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bpmc-20250618.xsd" xlink:type="simple"/>
    <context id="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2025-06-18</startDate>
            <endDate>2025-06-18</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_9JHuTv3suEaU4283gKWg_Q_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_7gHXNsPM7ECojM_k8VnEPw_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_zNGhPVieJ0e_uPKZi6pGOw">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_cs64qxsmL02y2dRo2Li5jQ">2025-06-18</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_JZxu7DBAU0CNjQcA0pyHHQ">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_XKYcaOh7GkGG-T7T6Id0mw_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_BUL_uqFGWkqlCR7npvKnlQ_1_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_InUKKWc8CkGNjcDi6eQiTw_1_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_5zN0EuUSI0ClPVLFUNVaWg">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_dtxbB48hjUKlVmXPqK732g">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_X1EbDgBMD0iStX9WZMfg2w">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_UlQitfmp4EedfXL8XyKv2g_1_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_PVff44EqLU-sJsyfjE1lXQ">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_QZrfTKPYpU6dojUvNFAVGA">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_xH_RJoWlwEmDoTnhTBxjnw">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_t__SFBzCSk-J-BW_P9_iJA">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_yZ5R43N6u0-AMOPUvjRZxg">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_ujxXF5gI30a5zY_1_eqhww">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Narr_WbKumuWeL0Cs2zNoDFivtg">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_YQuIruYiyUCDWeJcUXQ0bg_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_qpHRXQX420mR8QX9FMyq8A_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_6_18_2025_To_6_18_2025_xFERpCPwPUGLw6LG0HhL5A"
      id="Tc_nrpnxfb-x0CQjtrXOWHRKg_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
