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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:01a187e0-32d3-7d0a-9c08-34d304d6dfe2,g:cc80ea83-b5b8-4a27-a11e-d58967ca2f9e-->
<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-20261104.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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_01a187e0-32d4-729e-aa2b-c6dc3d3c9670" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityRegistrantName_01a187e0-32d4-729e-aa2b-c6dc3d3c9670" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_01a187e0-32d4-7aa6-af81-07bc243d3e28" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_DocumentType_01a187e0-32d4-7aa6-af81-07bc243d3e28" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_01a187e0-32d4-7530-afaf-744d0229353a" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_DocumentPeriodEndDate_01a187e0-32d4-7530-afaf-744d0229353a" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_01a187e0-32d4-7e30-9245-8e3587b39cb9" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityAddressStateOrProvince_01a187e0-32d4-7e30-9245-8e3587b39cb9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_01a187e0-32d4-725f-85a1-8468500d4f1e" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityAddressPostalZipCode_01a187e0-32d4-725f-85a1-8468500d4f1e" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_01a187e0-32d4-7610-a0b7-142126e77f88" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityAddressAddressLine1_01a187e0-32d4-7610-a0b7-142126e77f88" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_01a187e0-32d4-7610-96c1-88712ee1fa13" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityAddressCityOrTown_01a187e0-32d4-7610-96c1-88712ee1fa13" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_01a187e0-32d4-78a9-93be-3365f12070bd" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_CityAreaCode_01a187e0-32d4-78a9-93be-3365f12070bd" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_01a187e0-32d4-7e83-9597-c7bf43835ab9" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_LocalPhoneNumber_01a187e0-32d4-7e83-9597-c7bf43835ab9" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_01a187e0-32d4-7ab0-b473-0e24839b0111" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityIncorporationStateCountryCode_01a187e0-32d4-7ab0-b473-0e24839b0111" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_01a187e0-32d4-70a0-880a-c886c5067d3b" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityFileNumber_01a187e0-32d4-70a0-880a-c886c5067d3b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_01a187e0-32d4-795e-be3c-ba7d42e576f1" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityTaxIdentificationNumber_01a187e0-32d4-795e-be3c-ba7d42e576f1" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_WrittenCommunications_01a187e0-32d4-784a-9cf3-79fda3c96a9b" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_WrittenCommunications_01a187e0-32d4-784a-9cf3-79fda3c96a9b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SolicitingMaterial_01a187e0-32d4-7007-b9b7-4fe45ec25bb0" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_SolicitingMaterial_01a187e0-32d4-7007-b9b7-4fe45ec25bb0" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementTenderOffer_01a187e0-32d4-753f-8207-95a3772b8f08" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_PreCommencementTenderOffer_01a187e0-32d4-753f-8207-95a3772b8f08" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_PreCommencementIssuerTenderOffer_01a187e0-32d4-7767-8ac7-d84c5f8a21fb" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_PreCommencementIssuerTenderOffer_01a187e0-32d4-7767-8ac7-d84c5f8a21fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_01a187e0-32d4-76a6-9da2-b8e825021798" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_Security12bTitle_01a187e0-32d4-76a6-9da2-b8e825021798" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_01a187e0-32d4-73c4-a45c-299acb66d7fb" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_TradingSymbol_01a187e0-32d4-73c4-a45c-299acb66d7fb" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_01a187e0-32d4-7a57-acbb-27c163391bb8" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_SecurityExchangeName_01a187e0-32d4-7a57-acbb-27c163391bb8" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_01a187e0-32d4-7347-ae64-773af19104f3" 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_01a187e0-32d4-7d32-9a0f-ba8052919ab3" xlink:to="loc_dei_EntityEmergingGrowthCompany_01a187e0-32d4-7347-ae64-773af19104f3" 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-20261104.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_01a187e0-32d4-7d9d-9d2d-16e46c92aed1" xlink:href="https://xbrl.sec.gov/dei/2026/dei-2026.xsd#dei_CoverAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable_01a187e0-32d4-756f-9ece-9fa82b3a1e40" 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_01a187e0-32d4-7d9d-9d2d-16e46c92aed1" xlink:to="loc_dei_DocumentInformationTable_01a187e0-32d4-756f-9ece-9fa82b3a1e40" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationDocumentAxis_01a187e0-32d4-76dd-8be9-2f674fd66e9b" 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_01a187e0-32d4-756f-9ece-9fa82b3a1e40" xlink:to="loc_dei_DocumentInformationDocumentAxis_01a187e0-32d4-76dd-8be9-2f674fd66e9b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentDomain_01a187e0-32d4-7a17-8429-0477d148f69b" 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_01a187e0-32d4-76dd-8be9-2f674fd66e9b" xlink:to="loc_dei_DocumentDomain_01a187e0-32d4-7a17-8429-0477d148f69b" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems_01a187e0-32d4-754f-b05c-a801666670c4" 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_01a187e0-32d4-756f-9ece-9fa82b3a1e40" xlink:to="loc_dei_DocumentInformationLineItems_01a187e0-32d4-754f-b05c-a801666670c4" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_01a187e0-32d4-77b5-9fe7-115ba3f3c518" 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_01a187e0-32d4-754f-b05c-a801666670c4" xlink:to="loc_dei_EntityCentralIndexKey_01a187e0-32d4-77b5-9fe7-115ba3f3c518" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_01a187e0-32d4-7f2c-8a04-6dc2fb0a9995" 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_01a187e0-32d4-754f-b05c-a801666670c4" xlink:to="loc_dei_AmendmentFlag_01a187e0-32d4-7f2c-8a04-6dc2fb0a9995" xlink:type="arc" preferredLabel="http://www.xbrl.org/2003/role/terseLabel"/>
  </link:presentationLink>
</link:linkbase>
