<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019fa92f-fcee-716a-86a7-8564f58c8c95,g:31e6e85d-7f1c-45df-b07a-47f8f6a6ba69-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.cognex.com/role/Cover" xlink:type="simple" xlink:href="cgnx-20260805.xsd#Cover"/>
  <link:presentationLink xlink:role="http://www.cognex.com/role/Cover" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_019fa92f-fcee-7fdd-9289-4b3343525c42" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityRegistrantName"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityRegistrantName_019fa92f-fcee-7fdd-9289-4b3343525c42" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_019fa92f-fcee-7dff-9b33-291070e13869" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentType"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_DocumentType_019fa92f-fcee-7dff-9b33-291070e13869" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_019fa92f-fcee-7dec-9c80-7b59f6329016" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentPeriodEndDate"/>
    <link:presentationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_DocumentPeriodEndDate_019fa92f-fcee-7dec-9c80-7b59f6329016" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_019fa92f-fcee-787c-9e21-2e47fd7b654e" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressStateOrProvince"/>
    <link:presentationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityAddressStateOrProvince_019fa92f-fcee-787c-9e21-2e47fd7b654e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_019fa92f-fcee-799d-a55e-6a6956997145" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressPostalZipCode"/>
    <link:presentationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityAddressPostalZipCode_019fa92f-fcee-799d-a55e-6a6956997145" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_019fa92f-fcee-74fc-baf6-fabf58dfd664" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressAddressLine1"/>
    <link:presentationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityAddressAddressLine1_019fa92f-fcee-74fc-baf6-fabf58dfd664" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_019fa92f-fcee-7a3a-b336-892f914b1ca1" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityAddressCityOrTown"/>
    <link:presentationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityAddressCityOrTown_019fa92f-fcee-7a3a-b336-892f914b1ca1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_019fa92f-fcee-7ad2-b236-e31dc8c9be0e" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CityAreaCode"/>
    <link:presentationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_CityAreaCode_019fa92f-fcee-7ad2-b236-e31dc8c9be0e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_019fa92f-fcee-75a2-b84f-e69dcb052392" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_LocalPhoneNumber"/>
    <link:presentationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_LocalPhoneNumber_019fa92f-fcee-75a2-b84f-e69dcb052392" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_019fa92f-fcee-7ae8-9efc-7ce3c3ed6453" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:presentationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityIncorporationStateCountryCode_019fa92f-fcee-7ae8-9efc-7ce3c3ed6453" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_019fa92f-fcee-7e97-9731-0304f442adc3" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityFileNumber"/>
    <link:presentationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityFileNumber_019fa92f-fcee-7e97-9731-0304f442adc3" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_019fa92f-fcee-70c6-a013-6dbd41355868" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:presentationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityTaxIdentificationNumber_019fa92f-fcee-70c6-a013-6dbd41355868" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_WrittenCommunications_019fa92f-fcee-7cc2-96b4-0d5bc475b273" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_WrittenCommunications"/>
    <link:presentationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_WrittenCommunications_019fa92f-fcee-7cc2-96b4-0d5bc475b273" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SolicitingMaterial_019fa92f-fcee-7818-8703-91f881839d97" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SolicitingMaterial"/>
    <link:presentationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_SolicitingMaterial_019fa92f-fcee-7818-8703-91f881839d97" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementTenderOffer_019fa92f-fcee-7496-adb1-a91917e7155c" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_PreCommencementTenderOffer"/>
    <link:presentationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_PreCommencementTenderOffer_019fa92f-fcee-7496-adb1-a91917e7155c" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementIssuerTenderOffer_019fa92f-fcee-75dd-ac45-3b49a58e73dc" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_PreCommencementIssuerTenderOffer"/>
    <link:presentationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_PreCommencementIssuerTenderOffer_019fa92f-fcee-75dd-ac45-3b49a58e73dc" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_019fa92f-fcee-7098-bca4-d290672a5071" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_Security12bTitle"/>
    <link:presentationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_Security12bTitle_019fa92f-fcee-7098-bca4-d290672a5071" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_019fa92f-fcee-7f53-a46f-9e773cbf0dba" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_TradingSymbol"/>
    <link:presentationArc order="18" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_TradingSymbol_019fa92f-fcee-7f53-a46f-9e773cbf0dba" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_019fa92f-fcee-71b5-a481-fb51ffecbb89" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_SecurityExchangeName"/>
    <link:presentationArc order="19" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_SecurityExchangeName_019fa92f-fcee-71b5-a481-fb51ffecbb89" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_019fa92f-fcee-7d89-817f-1e2365112f27" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:presentationArc order="20" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-706e-8cfe-f0808dfe018e" xlink:to="loc_dei_EntityEmergingGrowthCompany_019fa92f-fcee-7d89-817f-1e2365112f27" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
  <link:roleRef roleURI="http://www.cognex.com/role/DocumentandEntityInformation" xlink:type="simple" xlink:href="cgnx-20260805.xsd#DocumentandEntityInformation"/>
  <link:presentationLink xlink:role="http://www.cognex.com/role/DocumentandEntityInformation" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_dei_CoverAbstract_019fa92f-fcee-7fa3-b8a9-ed7b1eea399a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_019fa92f-fcee-7ace-96cc-c717b75edda8" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentInformationTable"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_CoverAbstract_019fa92f-fcee-7fa3-b8a9-ed7b1eea399a" xlink:to="loc_dei_DocumentInformationTable_019fa92f-fcee-7ace-96cc-c717b75edda8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationDocumentAxis_019fa92f-fcee-7c53-a715-80081e06e397" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentInformationDocumentAxis"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationTable_019fa92f-fcee-7ace-96cc-c717b75edda8" xlink:to="loc_dei_DocumentInformationDocumentAxis_019fa92f-fcee-7c53-a715-80081e06e397" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentDomain_019fa92f-fcee-7f9c-935b-3b2a4eb59727" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentDomain"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationDocumentAxis_019fa92f-fcee-7c53-a715-80081e06e397" xlink:to="loc_dei_DocumentDomain_019fa92f-fcee-7f9c-935b-3b2a4eb59727" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_019fa92f-fcee-7142-ab6b-20a6cf1a6d9b" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_DocumentInformationLineItems"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationTable_019fa92f-fcee-7ace-96cc-c717b75edda8" xlink:to="loc_dei_DocumentInformationLineItems_019fa92f-fcee-7142-ab6b-20a6cf1a6d9b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_019fa92f-fcee-7e31-bcbb-d9a63ccc123a" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_EntityCentralIndexKey"/>
    <link:presentationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_019fa92f-fcee-7142-ab6b-20a6cf1a6d9b" xlink:to="loc_dei_EntityCentralIndexKey_019fa92f-fcee-7e31-bcbb-d9a63ccc123a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_019fa92f-fcee-7a30-83fc-3774d4192858" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_AmendmentFlag"/>
    <link:presentationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/parent-child" xlink:from="loc_dei_DocumentInformationLineItems_019fa92f-fcee-7142-ab6b-20a6cf1a6d9b" xlink:to="loc_dei_AmendmentFlag_019fa92f-fcee-7a30-83fc-3774d4192858" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
</link:linkbase>
