<?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="tmb-20260812.xsd" xlink:type="simple"/>
    <context id="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001070081</identifier>
        </entity>
        <period>
            <startDate>2026-08-12</startDate>
            <endDate>2026-08-12</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_erzBpZ5H_EyF8EphvY1QUQ_2_1">0001070081</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_O_9zbH-1BUWtLSLFKoMzPA_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_0hiX2UXQ90K5tosDPBqJOg">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_Q5_f0yeD_0yIwKJ5IRApdQ">2026-08-12</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_DZC7EOqYHU27BGxpe_D-0g">PTC THERAPEUTICS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_MXybJn7JtUKaZzNi4uPHnA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_Gt6HBGY19USywTXUouA9VQ_1_2">001-35969</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_vh434r_e7U-bk3fwXlEALQ_1_4">04-3416587</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_3m_rwYSNS0W7OTfM7FPKCw_1_0">500 Warren Corporate Center Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_p0NNQfy5RECb4L9G2ImIew">Warren</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_6IhLjYCBcU2nngPjRvQtJw">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_JV0SBll9e0-cRq1Vui0Wig_2_3">07059</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_NwHD59CgI0G9VC7ZHnU_YQ">908</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_wF_maOs3eE2jsjS1zrlRQQ">222-7000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_h0WcxIrP706rTph1aTviUA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_mu87B3MgHka5IuUH49E_-w">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_jWGQeBPD2kifcFtSpcRlBg">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_fpshGaqKmU6jQ-exh8Mw5w">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_4GcKqYg-TEiKDf8VEr50Xw_2_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_qgDMP6F9RUu8Qo_QuiXQ5w_2_2">PTCT</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Tc_4lCoB2cBXUWVOTsaUB2EYg_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_8_12_2026_To_8_12_2026_6hzNS9O6z0ypDiiNLWUUJg"
      id="Narr_VUCUeFMUc0WZz7W7jTi91Q">false</dei:EntityEmergingGrowthCompany>
</xbrl>
