2.4.0.8155 - Disclosure - Stock-Based Compensation Expense - Stock-Based Compensation Expense (Detail)truefalsefalse1false
USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$2false
USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20120701_0http://www.sec.gov/CIK0000851205duration2012-04-02T00:00:002012-07-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false
USDfalsefalse$eol_PE5967----1310-Q0005_STD_181_20130630_0http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$4false
USDfalsefalse$eol_PE5967----1310-Q0005_STD_183_20120701_0http://www.sec.gov/CIK0000851205duration2012-01-01T00:00:002012-07-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true
3us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
2false
4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse27810002781000USD$falsetruefalse | 2truefalsefalse19890001989000USD$falsetruefalse | 3truefalsefalse60790006079000USD$falsetruefalse | 4truefalsefalse53030005303000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 14.F)
-URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 14
-Section F
false2
3false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 5false
USDtruefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0_927015x1046578http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseProduct Cost of Revenue [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_ProductCostOfRevenueMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
4true
3us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
5false
4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse177000177000USD$falsefalsefalse | 2truefalsefalse135000135000USD$falsefalsefalse | 3truefalsefalse404000404000USD$falsefalsefalse | 4truefalsefalse375000375000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 14.F)
-URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 14
-Section F
false2
6false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 9false
USDtruefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0_927015x1099717http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseService Cost of Revenue [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_ServiceCostOfRevenueMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
7true
3us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
8false
4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse4700047000USD$falsefalsefalse | 2truefalsefalse4000040000USD$falsefalsefalse | 3truefalsefalse110000110000USD$falsefalsefalse | 4truefalsefalse108000108000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 14.F)
-URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 14
-Section F
false2
9false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 13false
USDtruefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0_927015x928963http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseResearch, Development, and Engineering [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ResearchAndDevelopmentExpenseMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
10true
3us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
11false
4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse650000650000USD$falsefalsefalse | 2truefalsefalse483000483000USD$falsefalsefalse | 3truefalsefalse14630001463000USD$falsefalsefalse | 4truefalsefalse13500001350000USD$falsefalsefalse | xbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 14.F)
-URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 14
-Section F
false2
12false
0truefalsetruefalsefalsefalsefalsefalsefalse| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | 17false
USDtruefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0_927015x1036102http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00falsefalseSelling, General, and Administrative [Member]us-gaap_IncomeStatementLocationAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_SellingGeneralAndAdministrativeMemberus-gaap_IncomeStatementLocationAxisexplicitMemberiso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$nanafalse0
13true
3us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1falsefalsefalse00falsefalsefalse | 2falsefalsefalse00falsefalsefalse | 3falsefalsefalse00falsefalsefalse | 4falsefalsefalse00falsefalsefalse | xbrli:stringItemTypestringfalse0
14false
4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel| 1truefalsefalse19070001907000USD$falsetruefalse | 2truefalsefalse13310001331000USD$falsetruefalse | 3truefalsefalse41020004102000USD$falsetruefalse | 4truefalsefalse34700003470000USD$falsetruefalse | xbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 1
-Subparagraph (b)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901
Reference 2: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section S99
-Paragraph 1
-Subparagraph (SAB TOPIC 14.F)
-URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809
Reference 3: http://www.xbrl.org/2003/role/presentationRef
-Publisher FASB
-Name Accounting Standards Codification
-Topic 718
-SubTopic 10
-Section 50
-Paragraph 2
-Subparagraph (h)(1)(i)
-URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901
Reference 4: http://www.xbrl.org/2003/role/presentationRef
-Publisher SEC
-Name Staff Accounting Bulletin (SAB)
-Number Topic 14
-Section F
false2
falseStock-Based Compensation Expense - Stock-Based Compensation Expense (Detail) (USD $)NoRoundingUnKnownUnKnownUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureStockBasedCompensationExpenseStockBasedCompensationExpense414