<?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-20241030.xsd" xlink:type="simple"/>
    <context id="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2024-10-30</startDate>
            <endDate>2024-10-30</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_tPhhhpRMtU6rLpLYKSy0fA_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_us02rxzP-USKTTfNs8XybA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_SHxTEiOqE0291tIbjHa3Yg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_R2QEuWjNAkeyChhMvcNQmA">2024-10-30</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_JR3Ktv5gyU-kFRBtJsStbw">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_vK9YSXXsCkiy5MryjyQroQ_0_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_smnbIuXYS0OgyRG8LYgcPg_0_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_YE9sJTjHJ0-KI5aEk7XryA_0_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_2eKhu53UakCwT_VGsQU2cQ">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_NaJa4o3OGkqv_z22zjXRHQ">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_aWHpb8JXokWS_sCGnSanEQ">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_65uwCWW8R0GrnDkzcUMlzQ_0_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_7lqJOTML_Eam3EPuA6CKBQ">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_J2NSUYY2NkyeDl6JepEHwA">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_N4TmffzOeUilYiMZRXY3OQ">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_U-QnAKfWeUib3waqnIyEPw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_bSYj_TtBxUmuW7kBw8o9Kw">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_rg7l8Ef8LU6xK_3nfohBeg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Narr_Vh-6xYZZukmdxh-7LZfoNg">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_Cw53ejlhJkOX788Q_7IhwQ_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_ekzUnMMuRkiIinJxYdiPpw_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_10_30_2024_To_10_30_2024_8eAb9CPbVU6hUXjAjB9RpQ"
      id="Tc_oEWUKeGQzkqciGtahcK5rg_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
