2.2.0.7 false Contractual Maturities of Investments in Debt Securities Available For Sale (Detail) (USD $) 130 - Disclosure - Contractual Maturities of Investments in Debt Securities Available For Sale (Detail) true false In Thousands false false 1 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ 5 3 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract us-gaap true na duration No definition available. false false false false false true false false false false false verboselabel false 1 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 6 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 true true false false 26978000 26978 false false false xbrli:monetaryItemType monetary This item represents debt securities, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph a false 7 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 274659000 274659 false false false xbrli:monetaryItemType monetary This item represents debt securities, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are expected to mature after one year and through five years from the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph b false 8 4 ctsh_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsAmortizedCost ctsh false debit instant This item represents debt securities, at cost, net of adjustments made for accretion, amortization, other-than-temporary... false false false false false false false false false false false verboselabel false 1 false true false false 17380000 17380 false false false xbrli:monetaryItemType monetary This item represents debt securities, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are expected to mature after five years from the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 9 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 28542000 28542 false false false xbrli:monetaryItemType monetary This item represents debt securities, categorized neither as held-to-maturity nor trading securities, which do not have a single maturity date and which the Company has decided to disclose separately rather than allocating such cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, over several maturity groupings. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 false 10 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCost us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 false true false false 347559000 347559 false false false xbrli:monetaryItemType monetary This item represents the total of all debt securities grouped by maturity dates, at cost, net of adjustments made for accretion, amortization, other-than-temporary impairments, and hedging, if any, which are classified neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name FASB Staff Position (FSP) -Number FAS115-1/124-1 -Paragraph 7 -Footnote 2 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 true 11 3 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract us-gaap true na duration No definition available. false false false false false true false false false false false false 1 false false false false 0 0 false false false xbrli:stringItemType string No definition available. false 12 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 27052000 27052 false false false xbrli:monetaryItemType monetary This item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph a false 13 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 277777000 277777 false false false xbrli:monetaryItemType monetary This item represents the fair value of debt securities which are expected to mature after one year and through five years from the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 -Subparagraph b false 14 4 ctsh_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveYearsFairValue ctsh false debit instant This item represents the fair value of debt securities which are expected to mature after five years from the balance sheet... false false false false false false false false false false false verboselabel false 1 false true false false 17373000 17373 false false false xbrli:monetaryItemType monetary This item represents the fair value of debt securities which are expected to mature after five years from the balance sheet date which are categorized neither as held-to-maturity nor trading securities. No authoritative reference available. false 15 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false verboselabel false 1 false true false false 28528000 28528 false false false xbrli:monetaryItemType monetary This item represents the fair value of debt securities, categorized neither as held-to-maturity nor trading securities, which do not have a single maturity date and which the Company has decided to disclose separately, rather than allocating such cost over several maturity groupings. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 false 16 4 us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValue us-gaap true debit instant No definition available. false false false false false false false false false false false totallabel false 1 true true false false 350730000 350730 false false false xbrli:monetaryItemType monetary This item represents the total of all debt securities grouped by maturity dates, at fair value, which are categorized neither as held-to-maturity nor trading securities. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 115 -Paragraph 20 true 1 12 false Thousands UnKnown UnKnown false true