2.4.0.8150 - Disclosure - Derivative Instruments - Information Regarding Fair Value of Forward Contracts Outstanding (Detail)truefalseIn Thousands, unless otherwise specifiedfalse1falseUSDfalsefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_929665x929612_930023x1120045http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2falseUSDfalsefalse$eol_PE5967----1310-Q0005_STD_0_20121231_0_929665x929612_930023x1120045http://www.sec.gov/CIK0000851205instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse1falseUSDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_929665x929612_930023x1120045http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalseAccrued expenses [Member]us-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_AccruedExpensesMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCurrency Forward Contracts [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForwardContractsMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse02true3us-gaap_DerivativesFairValueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse03false4us-gaap_DerivativeFairValueOfDerivativeLiabilityus-gaap_truecreditinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1100011USD$falsetruefalse2truefalsefalse1400014USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 55
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4B
-Subparagraph (a),(c)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959
false24false0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falseUSDtruefalse$eol_PE5967----1310-Q0005_STD_0_20130630_0_929665x929612_930023x923955http://www.sec.gov/CIK0000851205instant2013-06-30T00:00:000001-01-01T00:00:00falsefalsePrepaid Expenses and Other Current Assets [Member]us-gaap_BalanceSheetLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_PrepaidExpensesAndOtherCurrentAssetsMemberus-gaap_BalanceSheetLocationAxisexplicitMemberfalsefalseCurrency Forward Contracts [Member]us-gaap_DerivativeInstrumentRiskAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ForwardContractsMemberus-gaap_DerivativeInstrumentRiskAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse05true3us-gaap_DerivativesFairValueLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse06false4us-gaap_DerivativeFairValueOfDerivativeAssetus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse6100061USD$falsetruefalse2truefalsefalse4400044USD$falsetruefalsexbrli:monetaryItemTypemonetaryFair value before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 55
-Paragraph 7
-URI http://asc.fasb.org/extlink&oid=28370219&loc=SL20226000-175313
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 210
-SubTopic 20
-Section 50
-Paragraph 3
-Subparagraph (a)
-URI http://asc.fasb.org/extlink&oid=20225523&loc=SL20225862-175312
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 815
-SubTopic 10
-Section 50
-Paragraph 4B
-Subparagraph (a),(c)
-URI http://asc.fasb.org/extlink&oid=7476318&loc=SL5624163-113959
false2falseDerivative Instruments - Information Regarding Fair Value of Forward Contracts Outstanding (Detail) (Currency Forward Contracts [Member], USD $)ThousandsUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureDerivativeInstrumentsInformationRegardingFairValueOfForwardContractsOutstanding26