<?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="tmb-20260219.xsd" xlink:type="simple"/>
    <context id="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001070081</identifier>
        </entity>
        <period>
            <startDate>2026-02-19</startDate>
            <endDate>2026-02-19</endDate>
        </period>
    </context>
    <dei:EntityCentralIndexKey
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_3UOmrk7z3kKpnAG_jcOrXg_2_1">0001070081</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_WAr_yTZtLECvvOCnnTZbzg_3_1">false</dei:AmendmentFlag>
    <dei:DocumentType
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_wF2r8JiHy0yMbXar4ya8tQ">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_wik5VbiO10mAOo-3DLYcsg">2026-02-19</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_7U5VLbh4Z0ueqr5in6u5PA">PTC THERAPEUTICS, INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_VT-rig_P306zVXPTjk7bZg_1_0">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_dgC3GPf-QUqmzZoaTD7usg_1_2">001-35969</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_il7i0flzwUGzWZurnIKa_A_1_4">04-3416587</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_cHplF1IFeU2pYT26oZwSCw_1_0">500 Warren Corporate Center Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_yovLGXkZ3EW47BPJaJWQRA">Warren</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_vXuwEt9tLUODMtkQBJVFsA">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc__B_Kvm1Y0E6cv6v06BhVfA_2_3">07059</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_UPU9fmlIxE6kMyeZS1vmxA">908</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_y7K_WbVCekO84QlMwpXzMA">222-7000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_HLSRwviBxUOfb09M8PQLrA">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_nNa2sBF69EaF9PH2IlUnew">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_Ihl_rRYWYUChPrbyS2QY2g">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_KRBT82gz1EuRUO0gyWKdtg">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_JG_X7FWvd0KQ6tBJ8XvV2g_2_0">Common Stock, $0.001 par value per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_-aM0e1A2lEyhcPVMOD2d3g_2_2">PTCT</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Tc_VETdZckC00a2oPCQIygVAQ_2_4">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="Duration_2_19_2026_To_2_19_2026_GIQO4DJ1k0uTzLsYvP9bHw"
      id="Narr_u_1qdXvTkk6RLr66SCkBIw">false</dei:EntityEmergingGrowthCompany>
</xbrl>
