2.2.0.7trueMarketable Securities (Details) (USD $)4040 - Disclosure - Marketable Securities (Details)truefalseIn Thousands, unless otherwise specifiedfalsefalse1USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false2USDfalsefalseUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDPerShareDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0$22vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false32vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1truetruefalsefalse12029320001202932falsefalsefalse2truetruefalsefalse12849490001284949falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false42vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse8600086falsefalsefalse2falsetruefalsefalse8900089falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false52vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-7000-7falsefalsefalse2falsetruefalsefalse-125000-125falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false62vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse12030110001203011falsefalsefalse2falsetruefalsefalse12849130001284913falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false72us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false82us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse5378300053783falsefalsefalse2falsetruefalsefalse340362000340362falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false92us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsetruefalsefalse-5000-5falsefalsefalse2falsetruefalsefalse-117000-117falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false102us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse5378300053783falsefalsefalse2falsetruefalsefalse340362000340362falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false112us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsetruefalsefalse-5000-5falsefalsefalse2falsetruefalsefalse-117000-117falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false140natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse3USDtruefalsefalsefalseTotal cash and cash equivalentsvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashAndCashEquivalentsMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false4USDtruefalsefalsefalseTotal cash and cash equivalentsvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_CashAndCashEquivalentsMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false152vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false162vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse569903000569903falsefalsefalse2falsetruefalsefalse446658000446658falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false172vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse80008falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false182vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-2000-2falsefalsefalse2falsetruefalsefalse-8000-8falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false192vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse569901000569901falsefalsefalse2falsetruefalsefalse446658000446658falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false270natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse5USDtruefalsefalsefalseCash and money market fundsvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_CashAndMoneyMarketFundsMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false6USDtruefalsefalsefalseCash and money market fundsvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_CashAndMoneyMarketFundsMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false282vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false292vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse506520000506520falsefalsefalse2falsetruefalsefalse251005000251005falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false322vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse506520000506520falsefalsefalse2falsetruefalsefalse251005000251005falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false400natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse7USDtruefalsefalsefalseU.S. Treasury securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_USTreasurySecuritiesCashEquivalentMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false8USDtruefalsefalsefalseU.S. Treasury securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_USTreasurySecuritiesCashEquivalentMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false412vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false422vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse6048300060483falsefalsefalse2falsetruefalsefalse2019800020198falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false442vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-2000-2falsefalsefalse2falsetruefalsefalse-5000-5falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false452vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse6048100060481falsefalsefalse2falsetruefalsefalse2019300020193falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false530natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse9USDtruefalsefalsefalseGovernment-sponsored enterprise securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_USGovernmentSponsoredEnterprisesDebtSecuritiesCashEquivalentMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false10USDtruefalsefalsefalseGovernment-sponsored enterprise securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldivrtx_USGovernmentSponsoredEnterprisesDebtSecuritiesCashEquivalentMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false542vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false552vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse29000002900falsefalsefalse2falsetruefalsefalse175455000175455falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false562vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse80008falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false572vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-3000-3falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false582vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse29000002900falsefalsefalse2falsetruefalsefalse175460000175460falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false660natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse11USDtruefalsefalsefalseTotal marketable securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AvailableforsaleSecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false12USDtruefalsefalsefalseTotal marketable securitiesvrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AvailableforsaleSecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false672vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false682vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse633029000633029falsefalsefalse2falsetruefalsefalse838291000838291falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false692vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse8600086falsefalsefalse2falsetruefalsefalse8100081falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false702vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-5000-5falsefalsefalse2falsetruefalsefalse-117000-117falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false712vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse633110000633110falsefalsefalse2falsetruefalsefalse838255000838255falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false790natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse13USDtruefalsefalsefalseU.S. Treasury securities (due within 1 year)vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USTreasurySecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$false14USDtruefalsefalsefalseU.S. Treasury securities (due within 1 year)vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USTreasurySecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false802vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false812vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse2809400028094falsefalsefalse2falsetruefalsefalse223422000223422falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false822vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse30003falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false832vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-99000-99falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false842vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse2809700028097falsefalsefalse2falsetruefalsefalse223323000223323falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false852us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false862us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse221412000221412falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false872us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-99000-99falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false882us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse221412000221412falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false892us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsefalsefalsefalse00falsefalsefalse2falsetruefalsefalse-99000-99falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false920natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsefalsehttp://www.vrtx.com/role/disclosuremarketablesecuritiesdetailsfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsefalse15USDtruefalsefalsefalseGovernment-sponsored enterprise securities (due within 1 year)vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170PureStandardhttp://www.xbrl.org/2003/instancepurexbrli0$false16USDtruefalsefalsefalseGovernment-sponsored enterprise securities (due within 1 year)vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMembervrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesTypesOfFinancialInstrumentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170$naNo definition available.No authoritative reference available.false932vrtx_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItemsvrtxfalsenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false942vrtx_CashCashEquivalentsAvailableForSaleSecuritiesAmortizedCostvrtxfalsedebitinstantThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse604935000604935falsefalsefalse2falsetruefalsefalse614869000614869falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the cost of cash and cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any.No authoritative reference available.false952vrtx_CashCashEquivalentsAvailableForSaleSecuritiesGrossUnrealizedGainvrtxfalsedebitinstantThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse8300083falsefalsefalse2falsetruefalsefalse8100081falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized gains for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized gains are the excess of the fair value over the carrying value as of the reporting date.No authoritative reference available.false962vrtx_CashCashEquivalentsAvailableForSaleSecuritiesUnrealizedLossGrossvrtxfalsecreditinstantThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse-5000-5falsefalsefalse2falsetruefalsefalse-18000-18falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the gross unrealized losses for cash, cash equivalents and securities which are categorized neither as held-to-maturity nor trading securities. Such gross unrealized losses are the excess of the carrying value over the fair value as of the reporting date.No authoritative reference available.false972vrtx_CashCashEquivalentsAndAvailableForSaleSecuritiesFairValuevrtxfalsedebitinstantThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither...falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse605013000605013falsefalsefalse2falsetruefalsefalse614932000614932falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of cash, cash equivalents and debt and equity securities, which are categorized neither as held-to-maturity nor trading.No authoritative reference available.false982us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false992us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse5378300053783falsefalsefalse2falsetruefalsefalse118950000118950falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false1002us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1falsetruefalsefalse-5000-5falsefalsefalse2falsetruefalsefalse-18000-18falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities that have been in a loss position for less than twelve months for those securities which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false1012us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueus-gaaptruedebitinstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse5378300053783falsefalsefalse2falsetruefalsefalse118950000118950falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the fair value of securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false1022us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesus-gaaptruedebitdurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsetruenegatedfalse1truetruefalsefalse-5000-5falsefalsefalse2truetruefalsefalse-18000-18falsefalsefalsexbrli:monetaryItemTypemonetaryThis item represents the excess of [amortized] cost over fair value of securities in a loss position and which are categorized neither as held-to-maturity nor trading securities.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph a(2)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph a(1)
false1032us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsetruefalsefalsefalsefalsefalseterselabelfalse1falsefalsefalsefalse00falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:stringItemTypestringNo definition available.false1042us-gaap_AvailableForSaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsus-gaaptruenainstantNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalsefalseterselabelfalse1falsetruefalsefalse55falsefalsefalse2falsefalsefalsefalse00falsefalsefalsexbrli:decimalItemTypedecimalDisclosure regarding factors used to determine that the impairment of securities not categorized as either held-to-maturity securities or trading securities (hence equal to available for sale securities) where cost exceeds fair value is not an other than temporary impairment. This item contains disclosure of the number of investment positions in the available-for-sale investments determined to be temporarily impaired.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Emerging Issues Task Force (EITF)
-Number 03-1
-Paragraph 21
-Subparagraph b(3)
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name FASB Staff Position (FSP)
-Number FAS115-1/124-1
-Paragraph 17
-Subparagraph b(3)
false261falseThousandsUnKnownUnKnowntruetrue