<?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-20261103.xsd" xlink:type="simple"/>
    <context id="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001070081</identifier>
        </entity>
        <period>
            <startDate>2026-11-03</startDate>
            <endDate>2026-11-03</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_xZKTUpAJGEmVzyuzHeH7-w_2_1">0001070081</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_y8tFeyzs6kKFfg2zQvnrcw_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_0qpvM1d4DUmXL8TP7BpAqQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_VhoeXuBhok2o7rZgsu27Mg">2026-11-03</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_r49KlmHfs0qWXw28mnBd9Q">PTC THERAPEUTICS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_c8h6qK8vkka-6WUlJJj-FA_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_qB9ylMAGc0uXzhQvByzx-Q_1_2">001-35969</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_HA8azOeTwUKvHJhvNxX_Pw_1_4">04-3416587</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_9JVxYt6vPE69rLbZHGY8-Q_1_0">500 Warren Corporate Center Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_azUEI1jACEyTCcfSfYlWFQ">Warren</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_BLRm8VtusEGdbDMJsFH2Zg">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_-OGzVSxk2U2O_eqyGi3O8A_2_3">07059</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_8pB7xmN_FEGs9Bb7kBDyZQ">908</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_UKB9WTLw_UGwKe937fqkRg">222-7000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_D2XWMQYMnke2niU9wdgcaA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_sWJO5m5krEqX02G8GRKHGw">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_SPIeO5q-eEeSqTeVVR41LA">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_zGSIWvDJfUaMYDHvlxxjAw">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_mXyOVnvwpUm6IGoI2T-Kfw_2_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_b5b1NyZXO0y8Qpf_7xA9Fg_2_2">PTCT</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Tc_c91VDFp4eEyiEcIs99_G9g_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_11_3_2026_To_11_3_2026_GX6WIeTjoESwf6Dyq5unMg"
      id="Narr_9E86eEd5g0CO5MLGoNyxzg">false</dei:EntityEmergingGrowthCompany>
</xbrl>
