2.2.0.25truefalse0141 - Statement - Consolidated Statements of Shareholders' Equity and Comprehensive Income (Loss) (Parenthetical)truefalseIn Thousandsfalse1falsefalseUSDfalsefalse1/1/2010 - 12/31/2010 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2010http://www.sec.gov/CIK0000851205duration2010-01-01T00:00:002010-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2falsefalseUSDfalsefalse1/1/2009 - 12/31/2009 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2009http://www.sec.gov/CIK0000851205duration2009-01-01T00:00:002009-12-31T00:00:00USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$3falsefalseUSDfalsefalse1/1/2008 - 12/31/2008 USD ($) USD ($) / shares $TwelveMonthsEnded_31Dec2008http://www.sec.gov/CIK0000851205duration2008-01-01T00:00:002008-12-31T00:00:00SharesStandardhttp://www.xbrl.org/2003/instancesharesxbrli0USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDEPSDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instancesharesxbrli0USDUSD$2true0us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse3false0us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse185000185falsetruefalsefalsefalse2truefalsefalse110000110falsetruefalsefalsefalse3truefalsefalse102000102falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the gross appreciation or the gross loss, net of reclassification adjustment, in the change in value of available for sale securities during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse4false0us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse149000149falsefalsefalsefalsefalse2truefalsefalse271000271falsefalsefalsefalsefalse3truefalsefalse649000649falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the adjustment that results from the process of translating subsidiary financial statements and foreign equity investments into functional currency of the reporting entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse5false0natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsehttp://cognex.com/role/statementofshareholdersequityparenthetical1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse4falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Accumulated Other Comprehensive Income (Loss) 1/1/2010 - 12/31/2010 USD ($) $TwelveMonthsEnded_31Dec2010_Accumulated_Other_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseAccumulated Other Comprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Accumulated Other Comprehensive Income (Loss) 1/1/2009 - 12/31/2009 USD ($) $TwelveMonthsEnded_31Dec2009_Accumulated_Other_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2009-01-01T00:00:002009-12-31T00:00:00falsefalseAccumulated Other Comprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$6falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Accumulated Other Comprehensive Income (Loss) 1/1/2008 - 12/31/2008 USD ($) $TwelveMonthsEnded_31Dec2008_Accumulated_Other_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2008-01-01T00:00:002008-12-31T00:00:00falsefalseAccumulated Other Comprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_AccumulatedOtherComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$OthernaNo definition available.No authoritative reference available.falsefalse6true0us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse7false0us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse185000185falsefalsefalsefalsefalse2truefalsefalse110000110falsefalsefalsefalsefalse3truefalsefalse102000102falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the gross appreciation or the gross loss, net of reclassification adjustment, in the change in value of available for sale securities during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse8false0us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse149000149falsefalsefalsefalsefalse2truefalsefalse271000271falsefalsefalsefalsefalse3truefalsefalse649000649falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the adjustment that results from the process of translating subsidiary financial statements and foreign equity investments into functional currency of the reporting entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse9false0natruenanaNo definition available.falsetruefalsefalsefalsefalsefalsefalsefalsefalsehttp://cognex.com/role/statementofshareholdersequityparenthetical1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalse7falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Comprehensive Income (Loss) 1/1/2010 - 12/31/2010 USD ($) $TwelveMonthsEnded_31Dec2010_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2010-01-01T00:00:002010-12-31T00:00:00falsefalseComprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$8falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Comprehensive Income (Loss) 1/1/2009 - 12/31/2009 USD ($) $TwelveMonthsEnded_31Dec2009_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2009-01-01T00:00:002009-12-31T00:00:00falsefalseComprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$9falsefalseUSDtruefalse{us-gaap_StatementEquityComponentsAxis} : Comprehensive Income (Loss) 1/1/2008 - 12/31/2008 USD ($) $TwelveMonthsEnded_31Dec2008_Comprehensive_Income_Memberhttp://www.sec.gov/CIK0000851205duration2008-01-01T00:00:002008-12-31T00:00:00falsefalseComprehensive Income (Loss)us-gaap_StatementEquityComponentsAxisxbrldihttp://xbrl.org/2006/xbrldius-gaap_ComprehensiveIncomeMemberus-gaap_StatementEquityComponentsAxisexplicitMemberUSDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$OthernaNo definition available.No authoritative reference available.falsefalse10true0us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstractus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1falsefalsefalse00falsefalsefalsefalsefalse2falsefalsefalse00falsefalsefalsefalsefalse3falsefalsefalse00falsefalsefalsefalsefalseOtherxbrli:stringItemTypestringNo definition available.falsefalse11false0us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse185000185falsefalsefalsefalsefalse2truefalsefalse110000110falsefalsefalsefalsefalse3truefalsefalse102000102falsefalsefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the gross appreciation or the gross loss, net of reclassification adjustment, in the change in value of available for sale securities during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse12false0us-gaap_OtherComprehensiveIncomeForeignCurrencyTranslationAdjustmentTaxus-gaaptruenadurationNo definition available.falsefalsefalsefalsefalsefalsefalsefalsefalsefalseverboselabel1truefalsefalse149000149falsetruefalsefalsefalse2truefalsefalse271000271falsetruefalsefalsefalse3truefalsefalse649000649falsetruefalsefalsefalseMonetaryxbrli:monetaryItemTypemonetaryTax effect of the adjustment that results from the process of translating subsidiary financial statements and foreign equity investments into functional currency of the reporting entity.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher AICPA -Name Accounting Research Bulletin (ARB) -Number 51 -Paragraph 38 -Subparagraph c(3) Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Statement of Financial Accounting Standard (FAS) -Number 130 -Paragraph 25 falsefalse311Consolidated Statements of Shareholders' Equity and Comprehensive Income (Loss) (Parenthetical) (USD $)ThousandsUnKnownUnKnownUnKnownfalsetrue