<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="bpmc-20200108.xsd" xlink:type="simple"/>
    <context id="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001597264</identifier>
        </entity>
        <period>
            <startDate>2020-01-08</startDate>
            <endDate>2020-01-08</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_8Ehn_xOgnUCcdMW-4YaD2A_2_1">0001597264</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_2g8SSGLieU2Rxfl2Niav6w_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_7FZEyROG-06DnbQWU7RxqQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_P_cibfZuqEu9PKjlkpuiKw">2020-01-08</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_pCyI7CC-nUuU3ZnlCHceIw">Blueprint Medicines Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_cGv8RkS0jUm9ApQNcme1UA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_KZIyrQUHq0u4EfneEDz4lA_1_2">001-37359</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_I8Y51MqkNk2Y6Z5gNde2qQ_1_4">26-3632015</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_9wrokMuLwk6_VuEwRMAo7Q">45 Sidney Street</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_1LueN3gBFUWK4jglMxz66A">Cambridge</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_gvDkUx7I3EKQFG1fVuBTRw">MA</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_s-2FGhb2hUOmZ1g9FfNBDQ_1_2">02139</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_lbkf_XzWs0ek6v-yLI2jww">617</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_7tA6DPion0iAzR4oDC1lAw">374-7580</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_A2b-AjJpG0q5gWxEqTdc-w">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_1e5FgaOrhUyDHVa4vLzX8w">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_-Xl9t2eyUEyhA8RBXIjYGg">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_hbu60oRUUU2tvSoFT8su7Q">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Narr_3kBrT3ZhvUK9vyrlNh057Q">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_lLrZaKmRh06rP6L0K5hhPA_2_0">Common stock, par value $0.001 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_XQkBIIGzx0y4UNZfczJ3LQ_2_1">BPMC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_1_8_2020_To_1_8_2020_F1m6hgR5D0mT6-dR83MOHg"
      id="Tc_epe0FD-knUOMfMhaNf4TaQ_2_2">NASDAQ</dei:SecurityExchangeName>
</xbrl>
