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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:6128ddfe-0092-414e-bb2a-f3dbb2bc9208,g:6a35f243-2462-480d-9aac-3acf30ab1345-->
<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" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://cactuswellhead.com/role/Cover" xlink:type="simple" xlink:href="whd-20211231.xsd#Cover"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/Cover" xlink:type="extended" id="ia3db13cdab424b1d86fd4029eeec1f67_Cover">
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType_2c3db4a5-a3d8-41db-94b3-fe01fea49fbe" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentType"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentType_2c3db4a5-a3d8-41db-94b3-fe01fea49fbe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport_f66075f1-61fc-485a-a186-98e1de43addf" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentAnnualReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentAnnualReport_f66075f1-61fc-485a-a186-98e1de43addf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate_20226a92-e889-40d6-a2ab-6b63ded038f7" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_CurrentFiscalYearEndDate_20226a92-e889-40d6-a2ab-6b63ded038f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate_5c19b5b8-a863-482b-b5ed-ae57255bfffb" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentPeriodEndDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentPeriodEndDate_5c19b5b8-a863-482b-b5ed-ae57255bfffb" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport_bf26d048-0c96-4702-a425-f64c4e706bcf" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentTransitionReport"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentTransitionReport_bf26d048-0c96-4702-a425-f64c4e706bcf" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber_4d99b095-06e7-4211-830c-a2dcad715369" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityFileNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityFileNumber_4d99b095-06e7-4211-830c-a2dcad715369" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName_f60e4816-ef40-4da7-8a3e-c1bc3eba6641" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityRegistrantName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityRegistrantName_f60e4816-ef40-4da7-8a3e-c1bc3eba6641" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode_5e015ecb-bc6c-45f0-b080-8aa4bfb92b9a" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityIncorporationStateCountryCode_5e015ecb-bc6c-45f0-b080-8aa4bfb92b9a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber_d8baff1f-56a3-4540-8337-268c7ae44c02" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityTaxIdentificationNumber_d8baff1f-56a3-4540-8337-268c7ae44c02" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1_f68eb124-7f02-4fc7-bb13-33b3262b4c57" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityAddressAddressLine1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityAddressAddressLine1_f68eb124-7f02-4fc7-bb13-33b3262b4c57" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine2_e53e4abf-599c-468b-8578-4bdedb3ccbc3" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityAddressAddressLine2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityAddressAddressLine2_e53e4abf-599c-468b-8578-4bdedb3ccbc3" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown_c042bf04-82e6-4283-95c2-160635f9b622" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityAddressCityOrTown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityAddressCityOrTown_c042bf04-82e6-4283-95c2-160635f9b622" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince_698f35e7-dc65-4dcb-a3d0-ad596468cd48" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityAddressStateOrProvince"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityAddressStateOrProvince_698f35e7-dc65-4dcb-a3d0-ad596468cd48" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode_74213fe4-2dc6-4034-9a0f-44c37faa225b" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityAddressPostalZipCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityAddressPostalZipCode_74213fe4-2dc6-4034-9a0f-44c37faa225b" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode_046f8911-3185-4d7b-bc5a-aa7e43d9f684" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_CityAreaCode"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_CityAreaCode_046f8911-3185-4d7b-bc5a-aa7e43d9f684" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber_c2aaadc1-034e-439a-aaa9-9aa26e8abb04" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_LocalPhoneNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_LocalPhoneNumber_c2aaadc1-034e-439a-aaa9-9aa26e8abb04" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12bTitle_0bc43e18-a3f7-43f6-b088-3272de4a005d" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_Security12bTitle"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_Security12bTitle_0bc43e18-a3f7-43f6-b088-3272de4a005d" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_TradingSymbol_f4d7b0a9-dba0-4d5a-94c0-2e6985c26d33" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_TradingSymbol"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_TradingSymbol_f4d7b0a9-dba0-4d5a-94c0-2e6985c26d33" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_SecurityExchangeName_6763e914-0f14-41bb-bfa3-191077e60db7" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_SecurityExchangeName"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_SecurityExchangeName_6763e914-0f14-41bb-bfa3-191077e60db7" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_b9222fe4-85ea-44a3-b991-e8b27813e160" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_b9222fe4-85ea-44a3-b991-e8b27813e160" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers_1aa0ade5-302a-4af5-84bb-0fbdd79ec214" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityVoluntaryFilers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityVoluntaryFilers_1aa0ade5-302a-4af5-84bb-0fbdd79ec214" xlink:type="arc" order="20"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus_f0a96af1-4c42-41fb-a379-33829e14f09a" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityCurrentReportingStatus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityCurrentReportingStatus_f0a96af1-4c42-41fb-a379-33829e14f09a" xlink:type="arc" order="21"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent_a4e5395c-c4fb-4912-8b2b-b059342d125e" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityInteractiveDataCurrent_a4e5395c-c4fb-4912-8b2b-b059342d125e" xlink:type="arc" order="22"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory_5e773b02-f350-432f-bea5-15b7152dc005" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityFilerCategory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityFilerCategory_5e773b02-f350-432f-bea5-15b7152dc005" xlink:type="arc" order="23"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness_4e95699c-0865-44eb-b48d-62da997b5852" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntitySmallBusiness"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntitySmallBusiness_4e95699c-0865-44eb-b48d-62da997b5852" xlink:type="arc" order="24"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany_2579b704-b79a-4a42-928b-c21fb488a31d" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityEmergingGrowthCompany_2579b704-b79a-4a42-928b-c21fb488a31d" xlink:type="arc" order="25"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag_2d64622b-17b2-4dc1-b162-e7500361534d" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_IcfrAuditorAttestationFlag_2d64622b-17b2-4dc1-b162-e7500361534d" xlink:type="arc" order="26"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany_61f9b63c-ab88-4ef4-8e4c-453780ab6152" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityShellCompany"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityShellCompany_61f9b63c-ab88-4ef4-8e4c-453780ab6152" xlink:type="arc" order="27"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat_6f2802ad-ed3a-4bad-9cbb-0d9a0a581585" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityPublicFloat"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityPublicFloat_6f2802ad-ed3a-4bad-9cbb-0d9a0a581585" xlink:type="arc" order="28"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_4551c8ae-5bb8-4fb0-af90-f7981a0903c7" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_4551c8ae-5bb8-4fb0-af90-f7981a0903c7" xlink:type="arc" order="29"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentsIncorporatedByReferenceTextBlock_ef87b4aa-b67b-4daf-b6c1-5931e958f43f" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentsIncorporatedByReferenceTextBlock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentsIncorporatedByReferenceTextBlock_ef87b4aa-b67b-4daf-b6c1-5931e958f43f" xlink:type="arc" order="30"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey_bad6b940-c6ee-4cb6-8a1f-2be5ff99f9ae" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntityCentralIndexKey"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntityCentralIndexKey_bad6b940-c6ee-4cb6-8a1f-2be5ff99f9ae" xlink:type="arc" order="31"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus_38adfefd-fbb1-4ebf-be19-a0b9a2872201" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentFiscalYearFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentFiscalYearFocus_38adfefd-fbb1-4ebf-be19-a0b9a2872201" xlink:type="arc" order="32"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus_64099bba-a1fe-4e3e-b841-93cedb148948" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_DocumentFiscalPeriodFocus_64099bba-a1fe-4e3e-b841-93cedb148948" xlink:type="arc" order="33"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag_21e53ad2-18c7-4532-8e6f-9fadbd5f1ab6" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_AmendmentFlag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_AmendmentFlag_21e53ad2-18c7-4532-8e6f-9fadbd5f1ab6" xlink:type="arc" order="34"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitiesTable_1a55800e-146c-496d-964a-67616fd7ee1e" xlink:href="https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd#dei_EntitiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_05a8b534-be8f-4f55-a527-38140985501e" xlink:to="loc_dei_EntitiesTable_1a55800e-146c-496d-964a-67616fd7ee1e" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6c970a93-f2c3-4cb8-a2b6-552d6265930e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_1a55800e-146c-496d-964a-67616fd7ee1e" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6c970a93-f2c3-4cb8-a2b6-552d6265930e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_6c970a93-f2c3-4cb8-a2b6-552d6265930e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6c970a93-f2c3-4cb8-a2b6-552d6265930e" xlink:to="loc_us-gaap_ClassOfStockDomain_6c970a93-f2c3-4cb8-a2b6-552d6265930e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_256831d9-7f13-4dc7-b8eb-c2b1001e07d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6c970a93-f2c3-4cb8-a2b6-552d6265930e" xlink:to="loc_us-gaap_ClassOfStockDomain_256831d9-7f13-4dc7-b8eb-c2b1001e07d7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_d3298dc2-1491-4e72-8011-d17674f80d3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_256831d9-7f13-4dc7-b8eb-c2b1001e07d7" xlink:to="loc_us-gaap_CommonClassAMember_d3298dc2-1491-4e72-8011-d17674f80d3d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_4820f629-41e6-463d-a80d-25667c36111e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_256831d9-7f13-4dc7-b8eb-c2b1001e07d7" xlink:to="loc_us-gaap_CommonClassBMember_4820f629-41e6-463d-a80d-25667c36111e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="whd-20211231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="ia87fa47697ef42ea8ecfa53c4e3ad078_CONSOLIDATEDBALANCESHEETS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_b14a7065-7fa4-4eb0-8449-52e1451b5adf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:to="loc_us-gaap_AssetsAbstract_b14a7065-7fa4-4eb0-8449-52e1451b5adf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_b14a7065-7fa4-4eb0-8449-52e1451b5adf" xlink:to="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d4f7e180-9f57-4549-ab0f-4ada85c3e5b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d4f7e180-9f57-4549-ab0f-4ada85c3e5b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_2931e408-38c0-4166-8f1d-9147bc676627" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_2931e408-38c0-4166-8f1d-9147bc676627" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryGross_5653e3ee-4012-476b-842e-a549ae4349dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_InventoryGross_5653e3ee-4012-476b-842e-a549ae4349dd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_c8023c0e-9069-4141-9cc8-0488ecdfb4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_c8023c0e-9069-4141-9cc8-0488ecdfb4b3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_4c9e5b3d-2f31-4903-a1f7-1da9e20ea68b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_AssetsCurrent_4c9e5b3d-2f31-4903-a1f7-1da9e20ea68b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_994645c1-f6df-4cbb-aeb1-768e9ab6504d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_994645c1-f6df-4cbb-aeb1-768e9ab6504d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_f69f9633-d47e-4c93-b3f9-a9e0b2a3b162" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_f69f9633-d47e-4c93-b3f9-a9e0b2a3b162" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_0b8961f1-133e-49df-a746-b60782756c5e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_Goodwill_0b8961f1-133e-49df-a746-b60782756c5e" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_abb381eb-5432-4fd5-8778-ae8717fc2fb9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_abb381eb-5432-4fd5-8778-ae8717fc2fb9" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_d8be525f-d2fe-4a70-8ffd-9f5abd4e730b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_d8be525f-d2fe-4a70-8ffd-9f5abd4e730b" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_8af487d4-e4d8-4d53-bfd7-916a48becb5d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_be7521fe-ba1e-4aa2-8fca-2bd2455f9cf6" xlink:to="loc_us-gaap_Assets_8af487d4-e4d8-4d53-bfd7-916a48becb5d" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_5119a590-d774-43e0-8c93-d2bc860acd6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_us-gaap_AccountsPayableCurrent_5119a590-d774-43e0-8c93-d2bc860acd6e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_521e5a36-9e21-4eee-8d6a-5cdc6b75c14b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_521e5a36-9e21-4eee-8d6a-5cdc6b75c14b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_TaxReceivableAgreementLiabilityCurrent_8f2ae6bd-daa2-4a22-aa0e-caeb4a13fc58" xlink:href="whd-20211231.xsd#whd_TaxReceivableAgreementLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_whd_TaxReceivableAgreementLiabilityCurrent_8f2ae6bd-daa2-4a22-aa0e-caeb4a13fc58" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_aa669d09-074e-4735-808f-ca75e629254c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_aa669d09-074e-4735-808f-ca75e629254c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_ea2601d9-171f-4241-9a35-99cf3c56558b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_ea2601d9-171f-4241-9a35-99cf3c56558b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_114c4e9b-2655-4c61-ad01-d982bc1ee041" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_ea6383a5-6c0f-4e6c-a4dc-ebc5bcbf77e8" xlink:to="loc_us-gaap_LiabilitiesCurrent_114c4e9b-2655-4c61-ad01-d982bc1ee041" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_56b3764a-a94b-41e2-a0da-c818bb0d2e22" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_56b3764a-a94b-41e2-a0da-c818bb0d2e22" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_TaxReceivableAgreementLiabilityNonCurrent_5ca2233a-152e-4dca-b17f-99e93330151f" xlink:href="whd-20211231.xsd#whd_TaxReceivableAgreementLiabilityNonCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_whd_TaxReceivableAgreementLiabilityNonCurrent_5ca2233a-152e-4dca-b17f-99e93330151f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_f836ba2c-5bf1-4db8-8f0c-538df82e747f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_f836ba2c-5bf1-4db8-8f0c-538df82e747f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3a0e5861-8188-4fbd-962c-3c9e24cbbcff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_3a0e5861-8188-4fbd-962c-3c9e24cbbcff" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_b3d0efb2-9726-4910-91be-28046804f2a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_9c92fc91-4d87-4651-ab84-eca67f784316" xlink:to="loc_us-gaap_Liabilities_b3d0efb2-9726-4910-91be-28046804f2a1" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_d75d3e36-8f66-4270-a9d7-d6bd2647c09c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:to="loc_us-gaap_CommitmentsAndContingencies_d75d3e36-8f66-4270-a9d7-d6bd2647c09c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:to="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_fa33d00e-aed8-43c8-8e29-f0f0671c127b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_PreferredStockValue_fa33d00e-aed8-43c8-8e29-f0f0671c127b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_0e459e74-c548-4de5-9132-489e0d57b5e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_CommonStockValue_0e459e74-c548-4de5-9132-489e0d57b5e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_e27133b1-353a-4866-bd66-27a1e8d9b2cd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_AdditionalPaidInCapital_e27133b1-353a-4866-bd66-27a1e8d9b2cd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1f0349c4-0772-468b-88f9-29b4b693cc40" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1f0349c4-0772-468b-88f9-29b4b693cc40" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_1052388f-c679-4710-b54f-fc382d57e731" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_1052388f-c679-4710-b54f-fc382d57e731" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_2e3343a0-0752-4e75-b4b6-86321610cf3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_StockholdersEquity_2e3343a0-0752-4e75-b4b6-86321610cf3d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_1adf78dd-cdcc-4094-9e3d-48f96657d2f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_MinorityInterest_1adf78dd-cdcc-4094-9e3d-48f96657d2f5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_7fa1366f-6857-4db1-8745-98d17ad79ac6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_7fa1366f-6857-4db1-8745-98d17ad79ac6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_780d0809-0e74-46eb-a59c-e7f2bf5a0987" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_29075d66-433b-438c-8ff7-abebf75d2147" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_780d0809-0e74-46eb-a59c-e7f2bf5a0987" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_a39e156f-c1a5-4318-adb0-5544b85dbde5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0c34f0e1-59e0-4f0c-8ee6-3c7a55164acf" xlink:to="loc_us-gaap_StatementTable_a39e156f-c1a5-4318-adb0-5544b85dbde5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_308b7c54-7b75-416e-97f9-eca1078d67f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_a39e156f-c1a5-4318-adb0-5544b85dbde5" xlink:to="loc_us-gaap_StatementClassOfStockAxis_308b7c54-7b75-416e-97f9-eca1078d67f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_308b7c54-7b75-416e-97f9-eca1078d67f9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_308b7c54-7b75-416e-97f9-eca1078d67f9" xlink:to="loc_us-gaap_ClassOfStockDomain_308b7c54-7b75-416e-97f9-eca1078d67f9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_76e09fc7-34e5-47f2-92cc-5463d6ddd508" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_308b7c54-7b75-416e-97f9-eca1078d67f9" xlink:to="loc_us-gaap_ClassOfStockDomain_76e09fc7-34e5-47f2-92cc-5463d6ddd508" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_8bb211b5-4afa-49cf-ac46-3b41310ee5a8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_76e09fc7-34e5-47f2-92cc-5463d6ddd508" xlink:to="loc_us-gaap_CommonClassAMember_8bb211b5-4afa-49cf-ac46-3b41310ee5a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_1b671cc9-11e5-4d02-9eeb-4e4647737f32" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_76e09fc7-34e5-47f2-92cc-5463d6ddd508" xlink:to="loc_us-gaap_CommonClassBMember_1b671cc9-11e5-4d02-9eeb-4e4647737f32" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="whd-20211231.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="i83e8c8341456445da43d64700054e4da_CONSOLIDATEDBALANCESHEETSParenthetical">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_a632057a-5d71-40a7-948d-2157df6831fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_a632057a-5d71-40a7-948d-2157df6831fd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_653cfdb5-a53a-45f8-9758-1f71358a3d23" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_653cfdb5-a53a-45f8-9758-1f71358a3d23" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_b42c1c33-cf5f-46b9-bb2b-2f8c7dbb6c94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_b42c1c33-cf5f-46b9-bb2b-2f8c7dbb6c94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued_ea6de8ae-fc7a-45ef-9b80-98081214e2db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_PreferredStockSharesIssued_ea6de8ae-fc7a-45ef-9b80-98081214e2db" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_3460d293-8c8f-4100-8543-a6fd1794515e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_3460d293-8c8f-4100-8543-a6fd1794515e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_8812739a-9438-4a83-b6e1-9245ad128421" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_8812739a-9438-4a83-b6e1-9245ad128421" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_f7dec472-fe3d-4393-b6ae-1c6ac33f39f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_f7dec472-fe3d-4393-b6ae-1c6ac33f39f8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued_0acb2ac7-6673-46b9-bc43-ff8d213e5f98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_CommonStockSharesIssued_0acb2ac7-6673-46b9-bc43-ff8d213e5f98" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_6baed35b-b573-4451-9203-763755935c62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_6baed35b-b573-4451-9203-763755935c62" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_222a302d-6654-4dbc-881e-c574e5174277" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_679be1d8-e7cc-437a-8874-1b9d99879280" xlink:to="loc_us-gaap_StatementTable_222a302d-6654-4dbc-881e-c574e5174277" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1be5e31c-3760-4a70-84bf-af80f3d6a1f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_222a302d-6654-4dbc-881e-c574e5174277" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1be5e31c-3760-4a70-84bf-af80f3d6a1f5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1be5e31c-3760-4a70-84bf-af80f3d6a1f5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1be5e31c-3760-4a70-84bf-af80f3d6a1f5" xlink:to="loc_us-gaap_ClassOfStockDomain_1be5e31c-3760-4a70-84bf-af80f3d6a1f5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_07b279c7-5107-4ee1-ac2a-cd032fd9794b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1be5e31c-3760-4a70-84bf-af80f3d6a1f5" xlink:to="loc_us-gaap_ClassOfStockDomain_07b279c7-5107-4ee1-ac2a-cd032fd9794b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_329a8562-15e8-4073-a7d6-b63efd516d28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_07b279c7-5107-4ee1-ac2a-cd032fd9794b" xlink:to="loc_us-gaap_CommonClassAMember_329a8562-15e8-4073-a7d6-b63efd516d28" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_77fc91d1-e304-4734-991a-c6456cba73ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_07b279c7-5107-4ee1-ac2a-cd032fd9794b" xlink:to="loc_us-gaap_CommonClassBMember_77fc91d1-e304-4734-991a-c6456cba73ff" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="simple" xlink:href="whd-20211231.xsd#CONSOLIDATEDSTATEMENTSOFINCOME"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFINCOME" xlink:type="extended" id="i6f5a2cda7f134f5f95c22b6e98c2147e_CONSOLIDATEDSTATEMENTSOFINCOME">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_61d8ae01-6306-44b2-83ac-e3be64de8658" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_RevenuesAbstract_61d8ae01-6306-44b2-83ac-e3be64de8658" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_c451ad3f-a28c-4fa1-a250-0e8ee865be80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_61d8ae01-6306-44b2-83ac-e3be64de8658" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_c451ad3f-a28c-4fa1-a250-0e8ee865be80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSoldAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_f14d9025-fa23-492c-ab0e-ba448b0d9425" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_f14d9025-fa23-492c-ab0e-ba448b0d9425" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_aa2a547f-ca86-44d8-a568-793cf629a464" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_aa2a547f-ca86-44d8-a568-793cf629a464" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeveranceCosts1_9c413b65-4483-4594-93aa-d8d7c7d8fb0b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SeveranceCosts1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:to="loc_us-gaap_SeveranceCosts1_9c413b65-4483-4594-93aa-d8d7c7d8fb0b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_fca783d4-0843-4494-a6d8-6460f329b9cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostOfGoodsAndServicesSoldAbstract_957d5abc-6ff1-4f11-bc5c-98cd26cbbbbe" xlink:to="loc_us-gaap_OperatingExpenses_fca783d4-0843-4494-a6d8-6460f329b9cc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_3aaa848c-3f0c-4153-94e3-ba68397baf25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_OperatingIncomeLoss_3aaa848c-3f0c-4153-94e3-ba68397baf25" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_fa01a051-5164-45b1-8714-c4b4730e67f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestIncomeExpenseNonoperatingNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_InterestIncomeExpenseNonoperatingNet_fa01a051-5164-45b1-8714-c4b4730e67f9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_c58baf65-c523-4b2a-a651-c4ba0a054013" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_c58baf65-c523-4b2a-a651-c4ba0a054013" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e8cd6b12-7c1e-4c0d-b5dc-8e5441867956" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_e8cd6b12-7c1e-4c0d-b5dc-8e5441867956" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_20dfa142-b602-4ef7-9006-376c77df77bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_20dfa142-b602-4ef7-9006-376c77df77bd" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_16676513-091f-430e-98dc-c01375398cc7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_ProfitLoss_16676513-091f-430e-98dc-c01375398cc7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_62539fcb-facc-4489-be91-13efbc33ad41" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_62539fcb-facc-4489-be91-13efbc33ad41" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_214aac44-2e95-4fe3-b978-325b056ed870" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_NetIncomeLoss_214aac44-2e95-4fe3-b978-325b056ed870" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_c4bb358f-0163-4f68-bec6-15d6b9f3f61d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_EarningsPerShareBasic_c4bb358f-0163-4f68-bec6-15d6b9f3f61d" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_05e718ca-0187-4e1d-abbf-34a8dca1bbff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_EarningsPerShareDiluted_05e718ca-0187-4e1d-abbf-34a8dca1bbff" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6862c9b4-1aad-4625-ac17-a3b2c185d2dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_6862c9b4-1aad-4625-ac17-a3b2c185d2dc" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_3197210a-2240-4fd8-8cf3-6a3ff4995597" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_3197210a-2240-4fd8-8cf3-6a3ff4995597" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3ced19f0-4c30-443a-9868-9ab518119fc1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_052821b9-aa2c-4938-bde9-36375ab079f3" xlink:to="loc_us-gaap_StatementTable_3ced19f0-4c30-443a-9868-9ab518119fc1" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_f7c80b11-c9db-4d1d-bfe1-324f568c4037" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3ced19f0-4c30-443a-9868-9ab518119fc1" xlink:to="loc_srt_ProductOrServiceAxis_f7c80b11-c9db-4d1d-bfe1-324f568c4037" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_f7c80b11-c9db-4d1d-bfe1-324f568c4037_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_f7c80b11-c9db-4d1d-bfe1-324f568c4037" xlink:to="loc_srt_ProductsAndServicesDomain_f7c80b11-c9db-4d1d-bfe1-324f568c4037_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_04c278dd-e737-45d0-8906-106ea4e90805" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_f7c80b11-c9db-4d1d-bfe1-324f568c4037" xlink:to="loc_srt_ProductsAndServicesDomain_04c278dd-e737-45d0-8906-106ea4e90805" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_2d50815e-abc1-42be-870f-1b5b18cfa401" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_04c278dd-e737-45d0-8906-106ea4e90805" xlink:to="loc_us-gaap_ProductMember_2d50815e-abc1-42be-870f-1b5b18cfa401" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RentalRevenueMember_38ee44b5-4a21-409e-baff-e152a1210ae3" xlink:href="whd-20211231.xsd#whd_RentalRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_04c278dd-e737-45d0-8906-106ea4e90805" xlink:to="loc_whd_RentalRevenueMember_38ee44b5-4a21-409e-baff-e152a1210ae3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_eae41c26-b2d5-48bb-9fa3-06388c5e5273" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_04c278dd-e737-45d0-8906-106ea4e90805" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_eae41c26-b2d5-48bb-9fa3-06388c5e5273" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_93062d29-148b-464b-a9e3-54dff984c01f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3ced19f0-4c30-443a-9868-9ab518119fc1" xlink:to="loc_us-gaap_StatementClassOfStockAxis_93062d29-148b-464b-a9e3-54dff984c01f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_93062d29-148b-464b-a9e3-54dff984c01f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_93062d29-148b-464b-a9e3-54dff984c01f" xlink:to="loc_us-gaap_ClassOfStockDomain_93062d29-148b-464b-a9e3-54dff984c01f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7ac91dea-25c3-4299-a4e4-fc04cd7e215c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_93062d29-148b-464b-a9e3-54dff984c01f" xlink:to="loc_us-gaap_ClassOfStockDomain_7ac91dea-25c3-4299-a4e4-fc04cd7e215c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_d28bab4f-8943-4f69-ab2a-9d595c5ad858" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7ac91dea-25c3-4299-a4e4-fc04cd7e215c" xlink:to="loc_us-gaap_CommonClassAMember_d28bab4f-8943-4f69-ab2a-9d595c5ad858" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="whd-20211231.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended" id="i731caa9b6b9f4985b3b03d6290df1a8c_CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_6f07c9d7-339b-43ed-935f-d5334ea46121" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_6f07c9d7-339b-43ed-935f-d5334ea46121" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_8837ecd2-aa73-46b1-a37d-b6fcbb3cdc70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_SharesOutstanding_8837ecd2-aa73-46b1-a37d-b6fcbb3cdc70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01b5bd84-8878-417f-b97c-e9098c0aa6df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_01b5bd84-8878-417f-b97c-e9098c0aa6df" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PriorPeriodReclassificationAdjustment_aae5726a-1fa4-438f-b28c-c76b0dfdd423" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PriorPeriodReclassificationAdjustment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_PriorPeriodReclassificationAdjustment_aae5726a-1fa4-438f-b28c-c76b0dfdd423" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_be38f904-7cdd-4670-8a0e-3455fa84979c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_be38f904-7cdd-4670-8a0e-3455fa84979c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_2cd76aee-2c51-4000-b73e-df31e2b44b24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesConversionOfUnits_2cd76aee-2c51-4000-b73e-df31e2b44b24" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfUnits_a1747204-6a67-49fc-a66b-f2df6e9313fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfUnits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueConversionOfUnits_a1747204-6a67-49fc-a66b-f2df6e9313fe" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_AdjustmentToAdditionalPaidInCapitalDeferredTaxAsset_c7c18741-7003-4e30-b7a7-cdd8087e7dca" xlink:href="whd-20211231.xsd#whd_AdjustmentToAdditionalPaidInCapitalDeferredTaxAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_whd_AdjustmentToAdditionalPaidInCapitalDeferredTaxAsset_c7c18741-7003-4e30-b7a7-cdd8087e7dca" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_6e6c47b2-95a2-4224-b504-1174716219e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_6e6c47b2-95a2-4224-b504-1174716219e5" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_19f34312-2832-48f6-8a3a-a8b23f2f2842" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_19f34312-2832-48f6-8a3a-a8b23f2f2842" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_8df9f220-81bb-47b4-83cd-d4e90e78f7d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeOtherNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_8df9f220-81bb-47b4-83cd-d4e90e78f7d5" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_88f7f109-cdc8-41e0-9957-c231acbb78c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_88f7f109-cdc8-41e0-9957-c231acbb78c2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCash_08bc4027-2c15-4fc0-908a-a7d6eaf33788" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_DividendsCash_08bc4027-2c15-4fc0-908a-a7d6eaf33788" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_f860d2f4-1be7-4f05-b303-a0656b6be9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_cb4dbf7d-46f0-4683-8306-1ddf677d80a0" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_f860d2f4-1be7-4f05-b303-a0656b6be9eb" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_4a640ccd-d331-4b19-a34a-315ed3e6029b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_7001a7ed-3bb6-42d8-a6c7-59dad41549af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_8bdd00ce-1002-42be-8aba-a94b33bb3605" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_6f07c9d7-339b-43ed-935f-d5334ea46121" xlink:to="loc_us-gaap_StatementTable_8bdd00ce-1002-42be-8aba-a94b33bb3605" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1d68129b-5716-4ba0-a876-ad18b875de3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8bdd00ce-1002-42be-8aba-a94b33bb3605" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1d68129b-5716-4ba0-a876-ad18b875de3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1d68129b-5716-4ba0-a876-ad18b875de3c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1d68129b-5716-4ba0-a876-ad18b875de3c" xlink:to="loc_us-gaap_ClassOfStockDomain_1d68129b-5716-4ba0-a876-ad18b875de3c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_b70f7814-ba1b-47b0-8e8f-3fda23b18a0a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1d68129b-5716-4ba0-a876-ad18b875de3c" xlink:to="loc_us-gaap_ClassOfStockDomain_b70f7814-ba1b-47b0-8e8f-3fda23b18a0a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_64461ca2-1301-4fef-bc13-95d6ad318752" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b70f7814-ba1b-47b0-8e8f-3fda23b18a0a" xlink:to="loc_us-gaap_CommonClassAMember_64461ca2-1301-4fef-bc13-95d6ad318752" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_7d7d4d1d-f13b-4c80-8c08-11cf0cc46303" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_b70f7814-ba1b-47b0-8e8f-3fda23b18a0a" xlink:to="loc_us-gaap_CommonClassBMember_7d7d4d1d-f13b-4c80-8c08-11cf0cc46303" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_88a5d630-d9f0-498a-bcd9-7aafe406cd12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8bdd00ce-1002-42be-8aba-a94b33bb3605" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_88a5d630-d9f0-498a-bcd9-7aafe406cd12" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_88a5d630-d9f0-498a-bcd9-7aafe406cd12_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_88a5d630-d9f0-498a-bcd9-7aafe406cd12" xlink:to="loc_us-gaap_EquityComponentDomain_88a5d630-d9f0-498a-bcd9-7aafe406cd12_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_88a5d630-d9f0-498a-bcd9-7aafe406cd12" xlink:to="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_4fa94132-019e-4473-9aff-828b4b6ef72b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:to="loc_us-gaap_CommonStockMember_4fa94132-019e-4473-9aff-828b4b6ef72b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_b07b0c64-a359-4fcf-a0ef-e3b0c22899be" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_b07b0c64-a359-4fcf-a0ef-e3b0c22899be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_50e593bd-74bf-4f14-abf8-53f96e74543a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:to="loc_us-gaap_RetainedEarningsMember_50e593bd-74bf-4f14-abf8-53f96e74543a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_daa33e48-9b50-46a1-ab23-aded38d04c25" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_daa33e48-9b50-46a1-ab23-aded38d04c25" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncontrollingInterestMember_e77c93af-4a34-4bec-8d0f-78291c8d1353" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncontrollingInterestMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_bd84e6c1-1283-4366-b83d-39c22d8b72da" xlink:to="loc_us-gaap_NoncontrollingInterestMember_e77c93af-4a34-4bec-8d0f-78291c8d1353" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/OrganizationandNatureofOperationsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#OrganizationandNatureofOperationsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/OrganizationandNatureofOperationsDetails" xlink:type="extended" id="i7a848fedd0df4ff8a0788bec2d558d82_OrganizationandNatureofOperationsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_f64e29b8-6c88-4e81-9191-ddd963319478" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_f64e29b8-6c88-4e81-9191-ddd963319478" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_6552bbf2-8c0f-4ba7-b350-0f986d4c63a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_6552bbf2-8c0f-4ba7-b350-0f986d4c63a3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_439f8a2f-6bd2-44d6-a5b2-eba4ba7a649d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_439f8a2f-6bd2-44d6-a5b2-eba4ba7a649d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CommoStockVotingRightsPercentage_eed4dec7-9037-487c-9914-b3a30fd0ac65" xlink:href="whd-20211231.xsd#whd_CommoStockVotingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:to="loc_whd_CommoStockVotingRightsPercentage_eed4dec7-9037-487c-9914-b3a30fd0ac65" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_e6805d00-8096-44e2-b1dd-6f0e320946fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_cada854b-74ea-4e04-93f7-3277b44489b9" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_e6805d00-8096-44e2-b1dd-6f0e320946fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_07db16ee-46d4-438e-b2ae-3e02be631b98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_e6805d00-8096-44e2-b1dd-6f0e320946fd" xlink:to="loc_us-gaap_StatementClassOfStockAxis_07db16ee-46d4-438e-b2ae-3e02be631b98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_07db16ee-46d4-438e-b2ae-3e02be631b98_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_07db16ee-46d4-438e-b2ae-3e02be631b98" xlink:to="loc_us-gaap_ClassOfStockDomain_07db16ee-46d4-438e-b2ae-3e02be631b98_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_c5275e83-4dda-4c9b-89dd-8f481d97a776" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_07db16ee-46d4-438e-b2ae-3e02be631b98" xlink:to="loc_us-gaap_ClassOfStockDomain_c5275e83-4dda-4c9b-89dd-8f481d97a776" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_9f8fa943-23d0-43b4-b340-371ce5d6ccbd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_c5275e83-4dda-4c9b-89dd-8f481d97a776" xlink:to="loc_us-gaap_CommonClassAMember_9f8fa943-23d0-43b4-b340-371ce5d6ccbd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_11b276c8-448d-46eb-8e52-de745a1e666f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_c5275e83-4dda-4c9b-89dd-8f481d97a776" xlink:to="loc_us-gaap_CommonClassBMember_11b276c8-448d-46eb-8e52-de745a1e666f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_35db13b2-8be7-4742-b8a6-6720b26c66b5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_e6805d00-8096-44e2-b1dd-6f0e320946fd" xlink:to="loc_srt_OwnershipAxis_35db13b2-8be7-4742-b8a6-6720b26c66b5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_35db13b2-8be7-4742-b8a6-6720b26c66b5_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_35db13b2-8be7-4742-b8a6-6720b26c66b5" xlink:to="loc_srt_OwnershipDomain_35db13b2-8be7-4742-b8a6-6720b26c66b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_7390f39f-8954-4059-8901-7369dacc3f49" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_35db13b2-8be7-4742-b8a6-6720b26c66b5" xlink:to="loc_srt_OwnershipDomain_7390f39f-8954-4059-8901-7369dacc3f49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CactusLlcMember_cabd31ff-7d9e-4ec9-ae08-80d15fe82673" xlink:href="whd-20211231.xsd#whd_CactusLlcMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_7390f39f-8954-4059-8901-7369dacc3f49" xlink:to="loc_whd_CactusLlcMember_cabd31ff-7d9e-4ec9-ae08-80d15fe82673" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsSignificantCustomersandConcentrationofCreditRiskDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#SummaryofSignificantAccountingPoliciesandOtherItemsSignificantCustomersandConcentrationofCreditRiskDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsSignificantCustomersandConcentrationofCreditRiskDetails" xlink:type="extended" id="i97bb1bb4a1654803a08bb85e61a5f1ab_SummaryofSignificantAccountingPoliciesandOtherItemsSignificantCustomersandConcentrationofCreditRiskDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems_48394854-b89c-495b-aa11-613517743c0e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_3fa1b831-be5d-4d7e-867b-0dc3ef177cb4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_48394854-b89c-495b-aa11-613517743c0e" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_3fa1b831-be5d-4d7e-867b-0dc3ef177cb4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_815d33e0-72a3-4c26-bbed-051eca1ef510" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_48394854-b89c-495b-aa11-613517743c0e" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_815d33e0-72a3-4c26-bbed-051eca1ef510" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_36e22e55-57e6-4c77-8cd9-3b8dea7801d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_48394854-b89c-495b-aa11-613517743c0e" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_36e22e55-57e6-4c77-8cd9-3b8dea7801d1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ConcentrationRiskLineItems_48394854-b89c-495b-aa11-613517743c0e" xlink:to="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:to="loc_srt_MajorCustomersAxis_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37" xlink:to="loc_srt_NameOfMajorCustomerDomain_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_f2b31f39-4ba4-44e2-9c00-067f77341e45" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_81fd2c0e-e44d-4dbc-ab13-cb2391d15f37" xlink:to="loc_srt_NameOfMajorCustomerDomain_f2b31f39-4ba4-44e2-9c00-067f77341e45" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_OneCustomerMember_c842dcc4-01bb-44a6-a29e-8aad989f0997" xlink:href="whd-20211231.xsd#whd_OneCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_f2b31f39-4ba4-44e2-9c00-067f77341e45" xlink:to="loc_whd_OneCustomerMember_c842dcc4-01bb-44a6-a29e-8aad989f0997" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_09b89128-ce76-4376-897b-1e6d109a3da6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_09b89128-ce76-4376-897b-1e6d109a3da6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_09b89128-ce76-4376-897b-1e6d109a3da6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_09b89128-ce76-4376-897b-1e6d109a3da6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_09b89128-ce76-4376-897b-1e6d109a3da6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44fb8fb1-416d-47ed-9ad3-f491ace77c05" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_09b89128-ce76-4376-897b-1e6d109a3da6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44fb8fb1-416d-47ed-9ad3-f491ace77c05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_b91b0ecd-c3e4-47d9-ae3a-9043d5755c48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44fb8fb1-416d-47ed-9ad3-f491ace77c05" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_b91b0ecd-c3e4-47d9-ae3a-9043d5755c48" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsProductLineMember_d84cd8c9-60bc-4a7b-8626-8001a292bda2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsProductLineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_44fb8fb1-416d-47ed-9ad3-f491ace77c05" xlink:to="loc_us-gaap_CostOfGoodsProductLineMember_d84cd8c9-60bc-4a7b-8626-8001a292bda2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_6c762259-1343-487c-93c1-7a462334935a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_6c762259-1343-487c-93c1-7a462334935a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_6c762259-1343-487c-93c1-7a462334935a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_6c762259-1343-487c-93c1-7a462334935a" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_6c762259-1343-487c-93c1-7a462334935a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_1563c231-ee44-4740-a596-307efb31fe49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_6c762259-1343-487c-93c1-7a462334935a" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_1563c231-ee44-4740-a596-307efb31fe49" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_3bdf0931-eaf3-47a3-969b-e5e348726723" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_1563c231-ee44-4740-a596-307efb31fe49" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_3bdf0931-eaf3-47a3-969b-e5e348726723" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SupplierConcentrationRiskMember_86a66dab-7071-4ca1-a6ca-053b7c380cc9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SupplierConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_1563c231-ee44-4740-a596-307efb31fe49" xlink:to="loc_us-gaap_SupplierConcentrationRiskMember_86a66dab-7071-4ca1-a6ca-053b7c380cc9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_d4418dc9-9cc7-49b2-8d80-6130367f88ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ConcentrationRiskTable_e210439f-061b-4d80-9b24-b60c60dd61fd" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_d4418dc9-9cc7-49b2-8d80-6130367f88ea" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_d4418dc9-9cc7-49b2-8d80-6130367f88ea_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_d4418dc9-9cc7-49b2-8d80-6130367f88ea" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_d4418dc9-9cc7-49b2-8d80-6130367f88ea_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_5a2cbfa3-2b71-4213-a3a8-b0c1db85fee4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionBySupplierAxis_d4418dc9-9cc7-49b2-8d80-6130367f88ea" xlink:to="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_5a2cbfa3-2b71-4213-a3a8-b0c1db85fee4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_SupplierOneMember_3e8ec1b9-f0aa-468c-ad1d-cfcf0ae0d206" xlink:href="whd-20211231.xsd#whd_SupplierOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_5a2cbfa3-2b71-4213-a3a8-b0c1db85fee4" xlink:to="loc_whd_SupplierOneMember_3e8ec1b9-f0aa-468c-ad1d-cfcf0ae0d206" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_SupplierTwoMember_5b3dee00-cc71-4638-b55f-f5d003188e2d" xlink:href="whd-20211231.xsd#whd_SupplierTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedGoodsAndNonemployeeServicesTransactionSupplierDomain_5a2cbfa3-2b71-4213-a3a8-b0c1db85fee4" xlink:to="loc_whd_SupplierTwoMember_5b3dee00-cc71-4638-b55f-f5d003188e2d" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDerivativeFinancialInstrumentsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#SummaryofSignificantAccountingPoliciesandOtherItemsDerivativeFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDerivativeFinancialInstrumentsDetails" xlink:type="extended" id="i894646c81fec403b8e0d9e36a8167af1_SummaryofSignificantAccountingPoliciesandOtherItemsDerivativeFinancialInstrumentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_ca90ac5a-d2c2-4cd9-9789-3568b6bb476a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_a4b8e9fb-ae2c-40c3-b191-e68e098225f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_ca90ac5a-d2c2-4cd9-9789-3568b6bb476a" xlink:to="loc_us-gaap_DerivativeLiabilities_a4b8e9fb-ae2c-40c3-b191-e68e098225f8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_6269611c-afc1-42f5-bbd2-ae53ce1a1a12" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_ca90ac5a-d2c2-4cd9-9789-3568b6bb476a" xlink:to="loc_us-gaap_DerivativeTable_6269611c-afc1-42f5-bbd2-ae53ce1a1a12" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_6269611c-afc1-42f5-bbd2-ae53ce1a1a12" xlink:to="loc_us-gaap_FinancialInstrumentAxis_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4b707df9-db80-4560-8e4a-26cea015a754" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_60ba3f51-8b2e-41d6-8b11-6aec64dd38f8" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4b707df9-db80-4560-8e4a-26cea015a754" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForwardContractsMember_f0f8c5f4-153a-49e2-80fc-faf2cb50da8e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ForwardContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_4b707df9-db80-4560-8e4a-26cea015a754" xlink:to="loc_us-gaap_ForwardContractsMember_f0f8c5f4-153a-49e2-80fc-faf2cb50da8e" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsPropertyandEquipmentDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#SummaryofSignificantAccountingPoliciesandOtherItemsPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsPropertyandEquipmentDetails" xlink:type="extended" id="i5e87902119854a74be88c408f5c1ee7b_SummaryofSignificantAccountingPoliciesandOtherItemsPropertyandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1fd7f320-30fc-477f-ba0f-8cb7d602077d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_a93c3272-7a79-4a01-8f70-0fe8e1973d70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1fd7f320-30fc-477f-ba0f-8cb7d602077d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_a93c3272-7a79-4a01-8f70-0fe8e1973d70" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1fd7f320-30fc-477f-ba0f-8cb7d602077d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_d3877e9b-e615-4afd-b4da-48351bfdc261" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_d3877e9b-e615-4afd-b4da-48351bfdc261" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_af28989b-e28d-4faa-89eb-6ee93b0301c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAssetBeforeAccumulatedAmortization_af28989b-e28d-4faa-89eb-6ee93b0301c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_583f07b2-3240-40dc-b84f-b16733699d0f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_583f07b2-3240-40dc-b84f-b16733699d0f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_6725596a-b7d2-4ba1-916c-d76ac3b38d86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_6725596a-b7d2-4ba1-916c-d76ac3b38d86" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortizationBeforeConstructionInProgress_afbe7d6b-da05-4aa1-ad5c-775ddad0d2c0" xlink:href="whd-20211231.xsd#whd_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortizationBeforeConstructionInProgress"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_whd_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortizationBeforeConstructionInProgress_afbe7d6b-da05-4aa1-ad5c-775ddad0d2c0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_9efc891a-fcbe-4755-9e04-9510d8e0daaf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNetByTypeAbstract_c553231e-6aa6-4b08-841b-3a0f67c0dd71" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_9efc891a-fcbe-4755-9e04-9510d8e0daaf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_539be880-82e6-470b-ac39-89669e34756c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_1fd7f320-30fc-477f-ba0f-8cb7d602077d" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_539be880-82e6-470b-ac39-89669e34756c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7a6c3bda-ac5f-4ef1-8814-77f31623187a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_539be880-82e6-470b-ac39-89669e34756c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7a6c3bda-ac5f-4ef1-8814-77f31623187a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7a6c3bda-ac5f-4ef1-8814-77f31623187a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7a6c3bda-ac5f-4ef1-8814-77f31623187a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_7a6c3bda-ac5f-4ef1-8814-77f31623187a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_7a6c3bda-ac5f-4ef1-8814-77f31623187a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_b437ee13-bcc7-4906-9ee8-1135dcdf1043" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_us-gaap_LandMember_b437ee13-bcc7-4906-9ee8-1135dcdf1043" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingAndBuildingImprovementsMember_218ebe71-e2e3-4a89-bd13-0c49a62b13f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingAndBuildingImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_us-gaap_BuildingAndBuildingImprovementsMember_218ebe71-e2e3-4a89-bd13-0c49a62b13f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_c37e2390-0dd3-448a-a1b1-c2800e242d32" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_c37e2390-0dd3-448a-a1b1-c2800e242d32" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_VehiclesUnderFinanceLeaseMember_2f32347f-276d-447e-812c-ce9bc1867304" xlink:href="whd-20211231.xsd#whd_VehiclesUnderFinanceLeaseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_whd_VehiclesUnderFinanceLeaseMember_2f32347f-276d-447e-812c-ce9bc1867304" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RentalEquipmentMember_5a6e1c18-9073-4abc-b479-3f44447b171b" xlink:href="whd-20211231.xsd#whd_RentalEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_whd_RentalEquipmentMember_5a6e1c18-9073-4abc-b479-3f44447b171b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_d61c8268-88a8-4b50-807f-deefc59907ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_d61c8268-88a8-4b50-807f-deefc59907ba" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ComputerAndSoftwareMember_eff26876-b4cc-4697-873c-2592c2f6ee70" xlink:href="whd-20211231.xsd#whd_ComputerAndSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_whd_ComputerAndSoftwareMember_eff26876-b4cc-4697-873c-2592c2f6ee70" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConstructionInProgressMember_032ebb9d-7c40-4863-b723-0b0177e9c83d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConstructionInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_644f27d6-d3ce-4d3d-9289-821443bf7b73" xlink:to="loc_us-gaap_ConstructionInProgressMember_032ebb9d-7c40-4863-b723-0b0177e9c83d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_c8b62921-be94-4f3c-8728-ad5e7acf0790" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_539be880-82e6-470b-ac39-89669e34756c" xlink:to="loc_srt_RangeAxis_c8b62921-be94-4f3c-8728-ad5e7acf0790" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c8b62921-be94-4f3c-8728-ad5e7acf0790_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_c8b62921-be94-4f3c-8728-ad5e7acf0790" xlink:to="loc_srt_RangeMember_c8b62921-be94-4f3c-8728-ad5e7acf0790_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_a3b400ac-3454-4952-8a94-7b1bcbc85543" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_c8b62921-be94-4f3c-8728-ad5e7acf0790" xlink:to="loc_srt_RangeMember_a3b400ac-3454-4952-8a94-7b1bcbc85543" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_b4274a0d-c35f-4a3c-b1fd-5e82be44deb1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a3b400ac-3454-4952-8a94-7b1bcbc85543" xlink:to="loc_srt_MinimumMember_b4274a0d-c35f-4a3c-b1fd-5e82be44deb1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_5b5183dd-e9bf-43d5-9fae-5c94a7c813fa" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_a3b400ac-3454-4952-8a94-7b1bcbc85543" xlink:to="loc_srt_MaximumMember_5b5183dd-e9bf-43d5-9fae-5c94a7c813fa" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDepreciationDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#SummaryofSignificantAccountingPoliciesandOtherItemsDepreciationDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/SummaryofSignificantAccountingPoliciesandOtherItemsDepreciationDetails" xlink:type="extended" id="ia4ca03637fcd4eae8ea375a0f36a6981_SummaryofSignificantAccountingPoliciesandOtherItemsDepreciationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e5ba9f13-6f62-4c62-9867-28abeb126a64" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAbstract_934bc4b1-3f83-43b7-a734-7fb64da69667" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e5ba9f13-6f62-4c62-9867-28abeb126a64" xlink:to="loc_us-gaap_DepreciationAbstract_934bc4b1-3f83-43b7-a734-7fb64da69667" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciation_23f57e2c-729c-469d-90c4-d9c10f030096" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSoldDepreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepreciationAbstract_934bc4b1-3f83-43b7-a734-7fb64da69667" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSoldDepreciation_23f57e2c-729c-469d-90c4-d9c10f030096" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_24b341d7-980a-4623-a524-623913e8a54d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationNonproduction"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepreciationAbstract_934bc4b1-3f83-43b7-a734-7fb64da69667" xlink:to="loc_us-gaap_DepreciationNonproduction_24b341d7-980a-4623-a524-623913e8a54d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_83b189f0-92c4-4834-beae-b87f33043ae2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DepreciationAbstract_934bc4b1-3f83-43b7-a734-7fb64da69667" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_83b189f0-92c4-4834-beae-b87f33043ae2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_681e6cb7-57a2-4151-bf95-c0c9b940a683" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e5ba9f13-6f62-4c62-9867-28abeb126a64" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_681e6cb7-57a2-4151-bf95-c0c9b940a683" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_11168d8b-3432-417f-9756-904c95a153c5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_681e6cb7-57a2-4151-bf95-c0c9b940a683" xlink:to="loc_srt_ProductOrServiceAxis_11168d8b-3432-417f-9756-904c95a153c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_11168d8b-3432-417f-9756-904c95a153c5_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_11168d8b-3432-417f-9756-904c95a153c5" xlink:to="loc_srt_ProductsAndServicesDomain_11168d8b-3432-417f-9756-904c95a153c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5e73fcc7-1bbf-4dc6-882e-699c2d3d42e0" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_11168d8b-3432-417f-9756-904c95a153c5" xlink:to="loc_srt_ProductsAndServicesDomain_5e73fcc7-1bbf-4dc6-882e-699c2d3d42e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_e8399a68-8c13-44bb-9e0c-477974fc5777" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e73fcc7-1bbf-4dc6-882e-699c2d3d42e0" xlink:to="loc_us-gaap_ProductMember_e8399a68-8c13-44bb-9e0c-477974fc5777" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RentalRevenueMember_9c77b002-2f3b-4673-a3ba-a87cc4b3eb83" xlink:href="whd-20211231.xsd#whd_RentalRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e73fcc7-1bbf-4dc6-882e-699c2d3d42e0" xlink:to="loc_whd_RentalRevenueMember_9c77b002-2f3b-4673-a3ba-a87cc4b3eb83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_f615b7de-cb50-45c9-977c-9f3b0cd7732c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5e73fcc7-1bbf-4dc6-882e-699c2d3d42e0" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_f615b7de-cb50-45c9-977c-9f3b0cd7732c" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/DebtCreditAgreementDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#DebtCreditAgreementDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/DebtCreditAgreementDetails" xlink:type="extended" id="i80f705eb33a441d197a3777584353425_DebtCreditAgreementDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_6003e17d-7889-4623-bbba-99ddf2af6619" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_LongTermDebt_6003e17d-7889-4623-bbba-99ddf2af6619" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_94995e7e-a15f-44bb-a7ba-6e3d917663c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_DebtInstrumentTerm_94995e7e-a15f-44bb-a7ba-6e3d917663c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8b7cda46-0078-4298-af49-3fcb06ccc2dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_8b7cda46-0078-4298-af49-3fcb06ccc2dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_89ff1912-ed54-4ae9-aca7-f3749dc14f3b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_89ff1912-ed54-4ae9-aca7-f3749dc14f3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_a776d86e-4574-44e2-bdd6-581dcdf17110" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_a776d86e-4574-44e2-bdd6-581dcdf17110" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DebtInstrumentFixedChargeCoverageRatio_5eeb8de4-8a4c-415a-8999-e90e1568f498" xlink:href="whd-20211231.xsd#whd_DebtInstrumentFixedChargeCoverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_whd_DebtInstrumentFixedChargeCoverageRatio_5eeb8de4-8a4c-415a-8999-e90e1568f498" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ecfab14d-0380-4924-a266-6c02da6ef420" xlink:to="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_ede87721-47f4-44af-a8ad-2d5e03d3e858" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:to="loc_srt_ConsolidatedEntitiesAxis_ede87721-47f4-44af-a8ad-2d5e03d3e858" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_ede87721-47f4-44af-a8ad-2d5e03d3e858_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ede87721-47f4-44af-a8ad-2d5e03d3e858" xlink:to="loc_srt_ConsolidatedEntitiesDomain_ede87721-47f4-44af-a8ad-2d5e03d3e858_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_4ef9011e-893d-47ea-828f-75b7f2668759" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_ede87721-47f4-44af-a8ad-2d5e03d3e858" xlink:to="loc_srt_ConsolidatedEntitiesDomain_4ef9011e-893d-47ea-828f-75b7f2668759" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_7d9ba3a1-6ec5-408d-9f8e-7a75bc83e672" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_4ef9011e-893d-47ea-828f-75b7f2668759" xlink:to="loc_srt_SubsidiariesMember_7d9ba3a1-6ec5-408d-9f8e-7a75bc83e672" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_076a31ea-559b-4b1c-bed4-9d5e403d7dbc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:to="loc_us-gaap_CreditFacilityAxis_076a31ea-559b-4b1c-bed4-9d5e403d7dbc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_076a31ea-559b-4b1c-bed4-9d5e403d7dbc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_076a31ea-559b-4b1c-bed4-9d5e403d7dbc" xlink:to="loc_us-gaap_CreditFacilityDomain_076a31ea-559b-4b1c-bed4-9d5e403d7dbc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_b06c75aa-8797-4cdb-85ab-b86bd59f5992" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_076a31ea-559b-4b1c-bed4-9d5e403d7dbc" xlink:to="loc_us-gaap_CreditFacilityDomain_b06c75aa-8797-4cdb-85ab-b86bd59f5992" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_32aaf899-7645-495d-8d8a-d04ccf4d3db6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_b06c75aa-8797-4cdb-85ab-b86bd59f5992" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_32aaf899-7645-495d-8d8a-d04ccf4d3db6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_764d7ef4-4722-4a21-ab34-82018bc89ebb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_b06c75aa-8797-4cdb-85ab-b86bd59f5992" xlink:to="loc_us-gaap_LetterOfCreditMember_764d7ef4-4722-4a21-ab34-82018bc89ebb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:to="loc_srt_RangeAxis_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d" xlink:to="loc_srt_RangeMember_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_f26c0e26-ee95-47ff-88c3-befbca8d2239" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_ed0c2ef7-e049-4ee7-a808-a87edb04bc7d" xlink:to="loc_srt_RangeMember_f26c0e26-ee95-47ff-88c3-befbca8d2239" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_c9f65158-e7ef-4f06-beb1-4285c9caa524" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_f26c0e26-ee95-47ff-88c3-befbca8d2239" xlink:to="loc_srt_MinimumMember_c9f65158-e7ef-4f06-beb1-4285c9caa524" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_80e79cca-7da3-4531-b81e-ce85f8d8f07f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_f26c0e26-ee95-47ff-88c3-befbca8d2239" xlink:to="loc_srt_MaximumMember_80e79cca-7da3-4531-b81e-ce85f8d8f07f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_fa45f524-74d3-45bb-af24-da40dc0191cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_00b09aeb-06d2-433d-8059-ac0b7f9101b9" xlink:to="loc_us-gaap_VariableRateAxis_fa45f524-74d3-45bb-af24-da40dc0191cc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_fa45f524-74d3-45bb-af24-da40dc0191cc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_fa45f524-74d3-45bb-af24-da40dc0191cc" xlink:to="loc_us-gaap_VariableRateDomain_fa45f524-74d3-45bb-af24-da40dc0191cc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_fa45f524-74d3-45bb-af24-da40dc0191cc" xlink:to="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_7a0e90b9-07e3-4c06-b828-f83e34e21748" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:to="loc_us-gaap_BaseRateMember_7a0e90b9-07e3-4c06-b828-f83e34e21748" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2a2d293e-7b61-47f2-806e-e34a10dc6a38" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2a2d293e-7b61-47f2-806e-e34a10dc6a38" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_LondonInterbankOfferedRateOneMonthMember_4c4a0062-0b47-4e62-9a3a-f234dd2fdb0e" xlink:href="whd-20211231.xsd#whd_LondonInterbankOfferedRateOneMonthMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:to="loc_whd_LondonInterbankOfferedRateOneMonthMember_4c4a0062-0b47-4e62-9a3a-f234dd2fdb0e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_LondonInterbankOfferedRateThreeMonthMember_c027e7ea-dee5-4139-a360-c04ebad90a11" xlink:href="whd-20211231.xsd#whd_LondonInterbankOfferedRateThreeMonthMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_0e5a6420-1792-40c3-a158-c1e59b557243" xlink:to="loc_whd_LondonInterbankOfferedRateThreeMonthMember_c027e7ea-dee5-4139-a360-c04ebad90a11" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" id="ib0f411fab2b942768bdc69c88079a68e_IncomeTaxesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_41077e34-f0f5-4889-bc99-d190ac169fe3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_41077e34-f0f5-4889-bc99-d190ac169fe3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_TaxReceivableAgreementLiability_a02d3466-3997-477a-b41f-d2b4654acffa" xlink:href="whd-20211231.xsd#whd_TaxReceivableAgreementLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_whd_TaxReceivableAgreementLiability_a02d3466-3997-477a-b41f-d2b4654acffa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_TaxSavingsPayableToTraHoldersAsPercent_74ef2937-9950-4c6e-a0be-bc4b9ac3a4dc" xlink:href="whd-20211231.xsd#whd_TaxSavingsPayableToTraHoldersAsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_whd_TaxSavingsPayableToTraHoldersAsPercent_74ef2937-9950-4c6e-a0be-bc4b9ac3a4dc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_aa554d97-dbaf-4aaf-aa8d-5f03332f0f92" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_aa554d97-dbaf-4aaf-aa8d-5f03332f0f92" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_919fd91a-e68d-460f-a782-b08b1c730763" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_919fd91a-e68d-460f-a782-b08b1c730763" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_a58f88cf-4061-46e8-a7e1-db090acaf62e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_a58f88cf-4061-46e8-a7e1-db090acaf62e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c00cceb0-92ab-4aef-a80d-ddf32b075135" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c00cceb0-92ab-4aef-a80d-ddf32b075135" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwards_4ab97416-0f03-4dda-abe3-02b5e93c3e60" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLossCarryforwards"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_OperatingLossCarryforwards_4ab97416-0f03-4dda-abe3-02b5e93c3e60" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecognizedTaxBenefits_c10e681e-38fd-4830-afb3-26ab8774bada" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_UnrecognizedTaxBenefits"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_UnrecognizedTaxBenefits_c10e681e-38fd-4830-afb3-26ab8774bada" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_e1cec968-e163-417f-abe4-52b906e154b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_0cf31d84-5344-4ed0-9b13-088dc99454dc" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_e1cec968-e163-417f-abe4-52b906e154b0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_67a8423e-ce79-4e51-84a1-e44becdd5cac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_e1cec968-e163-417f-abe4-52b906e154b0" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_67a8423e-ce79-4e51-84a1-e44becdd5cac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_67a8423e-ce79-4e51-84a1-e44becdd5cac_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_67a8423e-ce79-4e51-84a1-e44becdd5cac" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_67a8423e-ce79-4e51-84a1-e44becdd5cac_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_29d42434-ad2c-4500-a803-efeb751a95e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_67a8423e-ce79-4e51-84a1-e44becdd5cac" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_29d42434-ad2c-4500-a803-efeb751a95e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DeferredTaxAssetInvestmentInSubsidiaryMember_9a48acc0-f6c7-431d-aa78-7bf1d2568c83" xlink:href="whd-20211231.xsd#whd_DeferredTaxAssetInvestmentInSubsidiaryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_29d42434-ad2c-4500-a803-efeb751a95e8" xlink:to="loc_whd_DeferredTaxAssetInvestmentInSubsidiaryMember_9a48acc0-f6c7-431d-aa78-7bf1d2568c83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DeferredTaxAssetAccruedForeignTaxesAndStateCreditsMember_29d446e7-1090-407e-a27c-90ea79f93c2b" xlink:href="whd-20211231.xsd#whd_DeferredTaxAssetAccruedForeignTaxesAndStateCreditsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_29d42434-ad2c-4500-a803-efeb751a95e8" xlink:to="loc_whd_DeferredTaxAssetAccruedForeignTaxesAndStateCreditsMember_29d446e7-1090-407e-a27c-90ea79f93c2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_54b3a085-622e-40b6-b8e3-e1a142cf7b85" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_e1cec968-e163-417f-abe4-52b906e154b0" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_54b3a085-622e-40b6-b8e3-e1a142cf7b85" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_54b3a085-622e-40b6-b8e3-e1a142cf7b85_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_54b3a085-622e-40b6-b8e3-e1a142cf7b85" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_54b3a085-622e-40b6-b8e3-e1a142cf7b85_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_069af21c-ef88-4373-84a0-0e420eed7254" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_54b3a085-622e-40b6-b8e3-e1a142cf7b85" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_069af21c-ef88-4373-84a0-0e420eed7254" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DomesticCountryMember_80a1c358-33f0-4f88-ad7a-46b19e1b7c7c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DomesticCountryMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_069af21c-ef88-4373-84a0-0e420eed7254" xlink:to="loc_us-gaap_DomesticCountryMember_80a1c358-33f0-4f88-ad7a-46b19e1b7c7c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_6916d71b-ef6c-42cf-af9a-67f81d77944e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_069af21c-ef88-4373-84a0-0e420eed7254" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_6916d71b-ef6c-42cf-af9a-67f81d77944e" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/StockBasedCompensationSummaryofRestrictedStockUnitsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#StockBasedCompensationSummaryofRestrictedStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/StockBasedCompensationSummaryofRestrictedStockUnitsDetails" xlink:type="extended" id="ie00fa565913e4f56a78afeee4eca1203_StockBasedCompensationSummaryofRestrictedStockUnitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_278523c6-61ea-4cf6-8347-aa490387c95d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_278523c6-61ea-4cf6-8347-aa490387c95d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_14705386-b60b-4665-b488-b5d868cfc811" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_14705386-b60b-4665-b488-b5d868cfc811" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5c233f01-9724-4b47-b1e5-a755ef6cae03" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_5c233f01-9724-4b47-b1e5-a755ef6cae03" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_85bfb4a5-591a-46bc-9979-1a91de2778ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_85bfb4a5-591a-46bc-9979-1a91de2778ba" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7e09b18b-e30f-4e5d-940d-d4fbebd46137" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_85f9ce4b-343e-4367-816a-3e94bf590b99" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_7e09b18b-e30f-4e5d-940d-d4fbebd46137" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4c49d28f-5d20-407b-a40b-e0bbd82e263c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_278523c6-61ea-4cf6-8347-aa490387c95d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b8b84b4a-2f99-4c5a-ae64-f2552e76c696" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_b8b84b4a-2f99-4c5a-ae64-f2552e76c696" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_6a0e39f0-c251-4f93-9532-734b6b5bf485" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_6a0e39f0-c251-4f93-9532-734b6b5bf485" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_8cc466d6-257f-4978-99c0-907ae97bdc91" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_8cc466d6-257f-4978-99c0-907ae97bdc91" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_b4a291a2-1ef5-489f-a7a9-15338fe51e4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_5cf6b96c-e0a2-4983-99f5-de452b0a5661" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_b4a291a2-1ef5-489f-a7a9-15338fe51e4d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_bbcc057f-e46f-403a-889e-8fb2db3be16d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f4987d04-c40b-4a19-91a8-a68a7dd17d77" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_278523c6-61ea-4cf6-8347-aa490387c95d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f4987d04-c40b-4a19-91a8-a68a7dd17d77" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_6d262651-d128-40f9-9aec-11a8aef69ec0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_f4987d04-c40b-4a19-91a8-a68a7dd17d77" xlink:to="loc_us-gaap_AwardTypeAxis_6d262651-d128-40f9-9aec-11a8aef69ec0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6d262651-d128-40f9-9aec-11a8aef69ec0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_6d262651-d128-40f9-9aec-11a8aef69ec0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_6d262651-d128-40f9-9aec-11a8aef69ec0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1d90680c-b70d-4a50-9234-303598e1e390" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_6d262651-d128-40f9-9aec-11a8aef69ec0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1d90680c-b70d-4a50-9234-303598e1e390" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_5b120332-d4ac-46dd-bd39-663039f75a20" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_1d90680c-b70d-4a50-9234-303598e1e390" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_5b120332-d4ac-46dd-bd39-663039f75a20" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/StockBasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#StockBasedCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended" id="i63aad527c62045779cb2293ad09e5b76_StockBasedCompensationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0d26a79d-f00c-4978-b3eb-baec009c80c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0d26a79d-f00c-4978-b3eb-baec009c80c3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_bbc797f4-153e-4e13-b9fa-4806a71f6dac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_bbc797f4-153e-4e13-b9fa-4806a71f6dac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_a604e20f-9645-4d03-8b54-005a475c86b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_a604e20f-9645-4d03-8b54-005a475c86b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_b03bae5d-a8c0-41e3-b160-72c71488ab6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_b03bae5d-a8c0-41e3-b160-72c71488ab6c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6355c1e9-9be9-424a-95b1-9021371174f1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_6355c1e9-9be9-424a-95b1-9021371174f1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_92cdd1bf-b40b-4b0b-a2b1-021baf8e0e57" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_92cdd1bf-b40b-4b0b-a2b1-021baf8e0e57" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_830f1673-6c1a-48bd-856e-bd41a63e3ea4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_830f1673-6c1a-48bd-856e-bd41a63e3ea4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod_ad44b1f6-bf8e-407b-b00d-72f89f895778" xlink:href="whd-20211231.xsd#whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPerformancePeriod_ad44b1f6-bf8e-407b-b00d-72f89f895778" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage_e7dea15c-1c3a-4d76-92dc-b225f972b0b0" xlink:href="whd-20211231.xsd#whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentage_e7dea15c-1c3a-4d76-92dc-b225f972b0b0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentageActual_31652e2a-a81c-4990-b8ac-30fa4a156b2d" xlink:href="whd-20211231.xsd#whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentageActual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_whd_ShareBasedCompensationArrangementByShareBasedPaymentAwardPayoutPercentageActual_31652e2a-a81c-4990-b8ac-30fa4a156b2d" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_50cb9e85-f901-4244-bb36-33a1051a0e87" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_c7b75cad-5a4c-44b1-a525-fa82e290b791" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_50cb9e85-f901-4244-bb36-33a1051a0e87" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_50cb9e85-f901-4244-bb36-33a1051a0e87" xlink:to="loc_us-gaap_AwardTypeAxis_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0fcdee2-ae29-4e3d-8f8d-37f8d774cbfb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_3677c8a4-d21a-4ad1-bcbb-5ceab8cbae62" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0fcdee2-ae29-4e3d-8f8d-37f8d774cbfb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_bcab27bd-476d-41cc-8818-e5450a62c1b4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0fcdee2-ae29-4e3d-8f8d-37f8d774cbfb" xlink:to="loc_us-gaap_EmployeeStockMember_bcab27bd-476d-41cc-8818-e5450a62c1b4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_25296593-f909-4965-8b14-a0f12979e846" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0fcdee2-ae29-4e3d-8f8d-37f8d774cbfb" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_25296593-f909-4965-8b14-a0f12979e846" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_b622aa34-0cb8-499a-84a5-09d765f71374" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0fcdee2-ae29-4e3d-8f8d-37f8d774cbfb" xlink:to="loc_us-gaap_PerformanceSharesMember_b622aa34-0cb8-499a-84a5-09d765f71374" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_12b2f0b5-adb7-43b1-95b8-d52583f4540a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_50cb9e85-f901-4244-bb36-33a1051a0e87" xlink:to="loc_us-gaap_PlanNameAxis_12b2f0b5-adb7-43b1-95b8-d52583f4540a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_12b2f0b5-adb7-43b1-95b8-d52583f4540a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_12b2f0b5-adb7-43b1-95b8-d52583f4540a" xlink:to="loc_us-gaap_PlanNameDomain_12b2f0b5-adb7-43b1-95b8-d52583f4540a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_26d92e93-d5f1-4887-a1ef-29ed8e65f5bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_12b2f0b5-adb7-43b1-95b8-d52583f4540a" xlink:to="loc_us-gaap_PlanNameDomain_26d92e93-d5f1-4887-a1ef-29ed8e65f5bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_LongTermIncentivePlanMember_f41f83ac-aa26-4115-9797-0066cbb85b05" xlink:href="whd-20211231.xsd#whd_LongTermIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_26d92e93-d5f1-4887-a1ef-29ed8e65f5bf" xlink:to="loc_whd_LongTermIncentivePlanMember_f41f83ac-aa26-4115-9797-0066cbb85b05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_50cb9e85-f901-4244-bb36-33a1051a0e87" xlink:to="loc_srt_RangeAxis_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5" xlink:to="loc_srt_RangeMember_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_6dd8b917-e6df-4288-918d-323eef8d093d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_bd31ef5a-934b-4ef7-bc87-ea58f3c9efc5" xlink:to="loc_srt_RangeMember_6dd8b917-e6df-4288-918d-323eef8d093d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_338d924b-1022-48a5-b437-030577d17e6c" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6dd8b917-e6df-4288-918d-323eef8d093d" xlink:to="loc_srt_MinimumMember_338d924b-1022-48a5-b437-030577d17e6c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_bc28783d-2570-4ae1-acca-57046076039a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_6dd8b917-e6df-4288-918d-323eef8d093d" xlink:to="loc_srt_MaximumMember_bc28783d-2570-4ae1-acca-57046076039a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/StockBasedCompensationSummaryofPerformanceStockUnitsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#StockBasedCompensationSummaryofPerformanceStockUnitsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/StockBasedCompensationSummaryofPerformanceStockUnitsDetails" xlink:type="extended" id="i1e48e1f8d3a64eaebbb32cf0c40f91ba_StockBasedCompensationSummaryofPerformanceStockUnitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e8d04d2d-72f9-4e4b-83a1-62b5f7803a71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e8d04d2d-72f9-4e4b-83a1-62b5f7803a71" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_df008c8a-c403-447a-a585-3c073436dbff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_df008c8a-c403-447a-a585-3c073436dbff" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8b506514-ec54-423d-a230-791e17f372f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8b506514-ec54-423d-a230-791e17f372f2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_312ccf1d-bdb8-427a-ad1d-725759dc4471" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_312ccf1d-bdb8-427a-ad1d-725759dc4471" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_6a416f96-bc67-4dd3-bbc3-51cd4f3977b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_26972ebb-ad5f-46b1-aa73-c1d5205c6969" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_6a416f96-bc67-4dd3-bbc3-51cd4f3977b2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_4ad04550-9255-483b-bd41-18cb610cbff8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e8d04d2d-72f9-4e4b-83a1-62b5f7803a71" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_8b538b18-22ef-43bf-9fc9-11552c3c7710" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_8b538b18-22ef-43bf-9fc9-11552c3c7710" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7854b29c-80f3-4b6a-8fc2-edf3a9a9be28" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_7854b29c-80f3-4b6a-8fc2-edf3a9a9be28" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_2be82c9d-fcb7-4420-9549-7fdf0201c339" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_2be82c9d-fcb7-4420-9549-7fdf0201c339" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_a974af3a-58e7-43d3-8c35-6d4750d244c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_8de598f6-561d-4700-8a49-bd5d4cea5b9e" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_a974af3a-58e7-43d3-8c35-6d4750d244c1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_0aaac14b-8f78-4a9b-80ff-9183ecca06d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_fa4f529e-0d85-46e5-9ad4-10fd77f6c95a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_e8d04d2d-72f9-4e4b-83a1-62b5f7803a71" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_fa4f529e-0d85-46e5-9ad4-10fd77f6c95a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_f568844f-d606-405f-a424-f8d56f44e0fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_fa4f529e-0d85-46e5-9ad4-10fd77f6c95a" xlink:to="loc_us-gaap_AwardTypeAxis_f568844f-d606-405f-a424-f8d56f44e0fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f568844f-d606-405f-a424-f8d56f44e0fa_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_f568844f-d606-405f-a424-f8d56f44e0fa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f568844f-d606-405f-a424-f8d56f44e0fa_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4b1dc578-b1fc-4e18-a3de-9ff63aee6c24" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_f568844f-d606-405f-a424-f8d56f44e0fa" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4b1dc578-b1fc-4e18-a3de-9ff63aee6c24" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_1944f264-d80c-441e-9cc5-405d4bf67b00" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4b1dc578-b1fc-4e18-a3de-9ff63aee6c24" xlink:to="loc_us-gaap_PerformanceSharesMember_1944f264-d80c-441e-9cc5-405d4bf67b00" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/RevenueNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#RevenueNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/RevenueNarrativeDetails" xlink:type="extended" id="ie91ffa4d8c294bdb86d4fa34d9caf6b1_RevenueNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_0ca0a18a-e06a-43f3-b98f-182efe543f9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_PercentageOfRevenues_41430f99-ae13-422c-b732-cd4b5178ee79" xlink:href="whd-20211231.xsd#whd_PercentageOfRevenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0ca0a18a-e06a-43f3-b98f-182efe543f9f" xlink:to="loc_whd_PercentageOfRevenues_41430f99-ae13-422c-b732-cd4b5178ee79" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e90e79dc-f294-4c33-b4fa-325cd609c1c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0ca0a18a-e06a-43f3-b98f-182efe543f9f" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_e90e79dc-f294-4c33-b4fa-325cd609c1c5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_7a2d9201-2a91-40ca-8366-0c23c9567510" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_0ca0a18a-e06a-43f3-b98f-182efe543f9f" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_7a2d9201-2a91-40ca-8366-0c23c9567510" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_8f773ab1-d618-415d-aae3-a50686741fe2" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_7a2d9201-2a91-40ca-8366-0c23c9567510" xlink:to="loc_srt_ProductOrServiceAxis_8f773ab1-d618-415d-aae3-a50686741fe2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_8f773ab1-d618-415d-aae3-a50686741fe2_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_8f773ab1-d618-415d-aae3-a50686741fe2" xlink:to="loc_srt_ProductsAndServicesDomain_8f773ab1-d618-415d-aae3-a50686741fe2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_d78aa204-fc63-4a63-93ea-049cf655aaa1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_8f773ab1-d618-415d-aae3-a50686741fe2" xlink:to="loc_srt_ProductsAndServicesDomain_d78aa204-fc63-4a63-93ea-049cf655aaa1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_a0057485-fdf1-4752-a0ed-42359808fbec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d78aa204-fc63-4a63-93ea-049cf655aaa1" xlink:to="loc_us-gaap_ProductMember_a0057485-fdf1-4752-a0ed-42359808fbec" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RentalRevenueMember_f49b21a0-5202-4e63-a0eb-0b1795205003" xlink:href="whd-20211231.xsd#whd_RentalRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d78aa204-fc63-4a63-93ea-049cf655aaa1" xlink:to="loc_whd_RentalRevenueMember_f49b21a0-5202-4e63-a0eb-0b1795205003" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_b627c8da-662c-47bc-82c4-468a96c59cac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_d78aa204-fc63-4a63-93ea-049cf655aaa1" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_b627c8da-662c-47bc-82c4-468a96c59cac" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/RevenueDisaggregatedbyCategoryDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#RevenueDisaggregatedbyCategoryDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/RevenueDisaggregatedbyCategoryDetails" xlink:type="extended" id="i75abb1653adf4c25bc750bf9937300b0_RevenueDisaggregatedbyCategoryDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_e978dd7e-b761-4ce1-87e2-0cf50a220b85" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2bb2f425-6357-4038-9f75-f54a06feaaaa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e978dd7e-b761-4ce1-87e2-0cf50a220b85" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2bb2f425-6357-4038-9f75-f54a06feaaaa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_92c425bb-f0b5-4085-83a2-f75808cb8d8f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_e978dd7e-b761-4ce1-87e2-0cf50a220b85" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_92c425bb-f0b5-4085-83a2-f75808cb8d8f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_ac1b83f4-16c6-4d4f-93af-b92a52cc1583" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_92c425bb-f0b5-4085-83a2-f75808cb8d8f" xlink:to="loc_srt_ProductOrServiceAxis_ac1b83f4-16c6-4d4f-93af-b92a52cc1583" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_ac1b83f4-16c6-4d4f-93af-b92a52cc1583_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_ac1b83f4-16c6-4d4f-93af-b92a52cc1583" xlink:to="loc_srt_ProductsAndServicesDomain_ac1b83f4-16c6-4d4f-93af-b92a52cc1583_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_9ebf4621-f0b9-49d8-9b3a-11c73375d804" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_ac1b83f4-16c6-4d4f-93af-b92a52cc1583" xlink:to="loc_srt_ProductsAndServicesDomain_9ebf4621-f0b9-49d8-9b3a-11c73375d804" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductMember_2dd89d9d-f063-4d89-adf5-8d0e83993c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9ebf4621-f0b9-49d8-9b3a-11c73375d804" xlink:to="loc_us-gaap_ProductMember_2dd89d9d-f063-4d89-adf5-8d0e83993c3c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RentalRevenueMember_490191d7-2e39-4f17-9e96-612dc5fe842c" xlink:href="whd-20211231.xsd#whd_RentalRevenueMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9ebf4621-f0b9-49d8-9b3a-11c73375d804" xlink:to="loc_whd_RentalRevenueMember_490191d7-2e39-4f17-9e96-612dc5fe842c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_7c2bbfb9-51ce-48f6-b7ac-ec341b5bc03f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_9ebf4621-f0b9-49d8-9b3a-11c73375d804" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_7c2bbfb9-51ce-48f6-b7ac-ec341b5bc03f" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/LeasesNarrativeDetails" xlink:type="extended" id="i0d6fab7a50514074922275b37bc17308_LeasesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_5e9ef43d-7111-46b3-afd5-371751828a94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_LesseeOperatingLeaseTermOfContractPotentialExtensionPeriod_56a82755-5e20-4a06-9b07-29e7f1a3ce01" xlink:href="whd-20211231.xsd#whd_LesseeOperatingLeaseTermOfContractPotentialExtensionPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5e9ef43d-7111-46b3-afd5-371751828a94" xlink:to="loc_whd_LesseeOperatingLeaseTermOfContractPotentialExtensionPeriod_56a82755-5e20-4a06-9b07-29e7f1a3ce01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_4845b611-9612-478e-8437-a215b5bc709c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5e9ef43d-7111-46b3-afd5-371751828a94" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_4845b611-9612-478e-8437-a215b5bc709c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_13117d7d-eff4-4c04-8519-58897687c4b3" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_4845b611-9612-478e-8437-a215b5bc709c" xlink:to="loc_srt_RangeAxis_13117d7d-eff4-4c04-8519-58897687c4b3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_13117d7d-eff4-4c04-8519-58897687c4b3_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_13117d7d-eff4-4c04-8519-58897687c4b3" xlink:to="loc_srt_RangeMember_13117d7d-eff4-4c04-8519-58897687c4b3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fbbbf3f7-515a-4f1a-9234-815c329bb416" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_13117d7d-eff4-4c04-8519-58897687c4b3" xlink:to="loc_srt_RangeMember_fbbbf3f7-515a-4f1a-9234-815c329bb416" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_2c6b4463-f780-4c71-8510-3ba34ced07e4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbbbf3f7-515a-4f1a-9234-815c329bb416" xlink:to="loc_srt_MinimumMember_2c6b4463-f780-4c71-8510-3ba34ced07e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_90826544-e410-4e99-80af-1d49997088ec" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_fbbbf3f7-515a-4f1a-9234-815c329bb416" xlink:to="loc_srt_MaximumMember_90826544-e410-4e99-80af-1d49997088ec" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/LeasesLessorDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#LeasesLessorDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/LeasesLessorDetails" xlink:type="extended" id="i84d6e530776c4098b00c87546737e4be_LeasesLessorDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorLeaseDescriptionLineItems_1ccf844d-f490-4d72-85f0-1c434d657bd2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_LessorOperatingLeaseRentalPeriod_7a7eb93b-d9e0-4215-a886-ce7789e4370e" xlink:href="whd-20211231.xsd#whd_LessorOperatingLeaseRentalPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1ccf844d-f490-4d72-85f0-1c434d657bd2" xlink:to="loc_whd_LessorOperatingLeaseRentalPeriod_7a7eb93b-d9e0-4215-a886-ce7789e4370e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseTermOfContract_72bd7673-7282-4a01-9bfb-0222126d38af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1ccf844d-f490-4d72-85f0-1c434d657bd2" xlink:to="loc_us-gaap_LessorOperatingLeaseTermOfContract_72bd7673-7282-4a01-9bfb-0222126d38af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorLeaseDescriptionTable_0bc20e50-c96e-4501-8172-81a868a1ca67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LessorLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LessorLeaseDescriptionLineItems_1ccf844d-f490-4d72-85f0-1c434d657bd2" xlink:to="loc_us-gaap_LessorLeaseDescriptionTable_0bc20e50-c96e-4501-8172-81a868a1ca67" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_ef9e3ebb-8e9c-469b-ad24-fb6580568d01" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LessorLeaseDescriptionTable_0bc20e50-c96e-4501-8172-81a868a1ca67" xlink:to="loc_srt_RangeAxis_ef9e3ebb-8e9c-469b-ad24-fb6580568d01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ef9e3ebb-8e9c-469b-ad24-fb6580568d01_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_ef9e3ebb-8e9c-469b-ad24-fb6580568d01" xlink:to="loc_srt_RangeMember_ef9e3ebb-8e9c-469b-ad24-fb6580568d01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_cf00bff0-af93-403d-ab02-b827e4ec4373" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_ef9e3ebb-8e9c-469b-ad24-fb6580568d01" xlink:to="loc_srt_RangeMember_cf00bff0-af93-403d-ab02-b827e4ec4373" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8c6d1218-8c8d-4742-869f-9ce6f9a72797" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_cf00bff0-af93-403d-ab02-b827e4ec4373" xlink:to="loc_srt_MinimumMember_8c6d1218-8c8d-4742-869f-9ce6f9a72797" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d0b26ff9-fcbd-4f68-b0ce-74eda25dabd8" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_cf00bff0-af93-403d-ab02-b827e4ec4373" xlink:to="loc_srt_MaximumMember_d0b26ff9-fcbd-4f68-b0ce-74eda25dabd8" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/EquityNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#EquityNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/EquityNarrativeDetails" xlink:type="extended" id="ia8629b3c540847edbd06b19031d23dcb_EquityNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiarySaleOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight_9dfcb757-37d7-44d2-8d2e-ffe1c4064d2e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByEachWarrantOrRight_9dfcb757-37d7-44d2-8d2e-ffe1c4064d2e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_2a9681ea-6619-4527-be70-6eaf87d9b784" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_2a9681ea-6619-4527-be70-6eaf87d9b784" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CommonUnitsRedeemed_87f71dae-157e-4dab-a458-ad3bb4a5b8c5" xlink:href="whd-20211231.xsd#whd_CommonUnitsRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_CommonUnitsRedeemed_87f71dae-157e-4dab-a458-ad3bb4a5b8c5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_1e6aab33-c0ea-4f1d-a58f-bda464fdae9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_1e6aab33-c0ea-4f1d-a58f-bda464fdae9f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockPricePerShare_a1a432b5-2e24-4e19-b4b1-cda478677221" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockPricePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_SaleOfStockPricePerShare_a1a432b5-2e24-4e19-b4b1-cda478677221" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CommonUnitRedeemed_324fcabe-facb-46a2-8f97-0de72c929cf2" xlink:href="whd-20211231.xsd#whd_CommonUnitRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_CommonUnitRedeemed_324fcabe-facb-46a2-8f97-0de72c929cf2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_SharesSoldByOtherSellingStockholders_0112c882-5caf-43f7-b749-480380b8afe2" xlink:href="whd-20211231.xsd#whd_SharesSoldByOtherSellingStockholders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_SharesSoldByOtherSellingStockholders_0112c882-5caf-43f7-b749-480380b8afe2" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6a308333-5383-4c7c-9158-5fbddf9a3ab5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6a308333-5383-4c7c-9158-5fbddf9a3ab5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_8dd95a74-8da8-4f60-a930-fda4ff624507" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_8dd95a74-8da8-4f60-a930-fda4ff624507" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CommonUnitsTransferred_765ee2e7-3337-47e7-b449-1a59cee59e66" xlink:href="whd-20211231.xsd#whd_CommonUnitsTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_CommonUnitsTransferred_765ee2e7-3337-47e7-b449-1a59cee59e66" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_989ab607-d49c-43ac-8676-c06a9d7be79f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_989ab607-d49c-43ac-8676-c06a9d7be79f" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_NumberOfSharesCanceled_ffc59b52-ff95-43bf-b441-f1ef50883c69" xlink:href="whd-20211231.xsd#whd_NumberOfSharesCanceled"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_NumberOfSharesCanceled_ffc59b52-ff95-43bf-b441-f1ef50883c69" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_EquityReclassifiedToEntityFromNoncontrollingInterest_9a17def8-190f-4e5c-a208-a2599b51fb98" xlink:href="whd-20211231.xsd#whd_EquityReclassifiedToEntityFromNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_whd_EquityReclassifiedToEntityFromNoncontrollingInterest_9a17def8-190f-4e5c-a208-a2599b51fb98" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_611545e6-bb28-4c53-93b8-d2c5a1e34f44" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_611545e6-bb28-4c53-93b8-d2c5a1e34f44" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_a3ddedbc-210d-483d-9b4b-8a6543e0688a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_DividendsCommonStockCash_a3ddedbc-210d-483d-9b4b-8a6543e0688a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_4e4636c2-c966-4121-ae3a-c48e5b8a3583" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_PaymentsOfDividends_4e4636c2-c966-4121-ae3a-c48e5b8a3583" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_a9a7142b-f856-4120-80e9-79cf82a9e837" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_1c6d1f7d-340b-4505-afae-81637f36fbf3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_1c6d1f7d-340b-4505-afae-81637f36fbf3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_1c6d1f7d-340b-4505-afae-81637f36fbf3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1c6d1f7d-340b-4505-afae-81637f36fbf3" xlink:to="loc_us-gaap_ClassOfStockDomain_1c6d1f7d-340b-4505-afae-81637f36fbf3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_ebcc7085-9694-4191-b17b-a9d51c8122dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_1c6d1f7d-340b-4505-afae-81637f36fbf3" xlink:to="loc_us-gaap_ClassOfStockDomain_ebcc7085-9694-4191-b17b-a9d51c8122dd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_43416603-20db-4977-9e59-168b373ceea3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ebcc7085-9694-4191-b17b-a9d51c8122dd" xlink:to="loc_us-gaap_CommonClassAMember_43416603-20db-4977-9e59-168b373ceea3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_c3789717-d182-455b-9f61-3ca2da0883f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_ebcc7085-9694-4191-b17b-a9d51c8122dd" xlink:to="loc_us-gaap_CommonClassBMember_c3789717-d182-455b-9f61-3ca2da0883f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_21e9d409-4f4f-4e5f-8305-b83e856a3ed5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_21e9d409-4f4f-4e5f-8305-b83e856a3ed5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_21e9d409-4f4f-4e5f-8305-b83e856a3ed5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_21e9d409-4f4f-4e5f-8305-b83e856a3ed5" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_21e9d409-4f4f-4e5f-8305-b83e856a3ed5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_21e9d409-4f4f-4e5f-8305-b83e856a3ed5" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CwUnitsRedeemedForClassCommonStockMember_1756bd13-9dfd-47eb-afac-7368c61c5b8e" xlink:href="whd-20211231.xsd#whd_CwUnitsRedeemedForClassCommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:to="loc_whd_CwUnitsRedeemedForClassCommonStockMember_1756bd13-9dfd-47eb-afac-7368c61c5b8e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_SecondaryOfferingMember_15cf53c8-7fa7-45c1-a01b-dc648f9a416b" xlink:href="whd-20211231.xsd#whd_SecondaryOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:to="loc_whd_SecondaryOfferingMember_15cf53c8-7fa7-45c1-a01b-dc648f9a416b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_March2021SecondaryOfferingMember_da5e3472-ee1a-4b08-9f0c-099f62b2032d" xlink:href="whd-20211231.xsd#whd_March2021SecondaryOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:to="loc_whd_March2021SecondaryOfferingMember_da5e3472-ee1a-4b08-9f0c-099f62b2032d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CWUnitHolderRedemptionMember_42737233-f6da-4e7b-80ce-bd871ebb8594" xlink:href="whd-20211231.xsd#whd_CWUnitHolderRedemptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_fe7dae00-6ca0-4bf4-9201-b47fc4786697" xlink:to="loc_whd_CWUnitHolderRedemptionMember_42737233-f6da-4e7b-80ce-bd871ebb8594" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_fe4cd573-939d-4f3d-970b-7b89b57c4457" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_fe4cd573-939d-4f3d-970b-7b89b57c4457" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_fe4cd573-939d-4f3d-970b-7b89b57c4457_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_fe4cd573-939d-4f3d-970b-7b89b57c4457" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_fe4cd573-939d-4f3d-970b-7b89b57c4457_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_df6f793e-35ff-4b37-880d-22f9dcc2cfdd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_fe4cd573-939d-4f3d-970b-7b89b57c4457" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_df6f793e-35ff-4b37-880d-22f9dcc2cfdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_cd207d9d-b080-4099-af06-aa9aab2f467d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_df6f793e-35ff-4b37-880d-22f9dcc2cfdd" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpenseMember_cd207d9d-b080-4099-af06-aa9aab2f467d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_6cef315c-2ba0-484d-ad4c-bdcbf6128890" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:to="loc_srt_OwnershipAxis_6cef315c-2ba0-484d-ad4c-bdcbf6128890" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_6cef315c-2ba0-484d-ad4c-bdcbf6128890_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_6cef315c-2ba0-484d-ad4c-bdcbf6128890" xlink:to="loc_srt_OwnershipDomain_6cef315c-2ba0-484d-ad4c-bdcbf6128890_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_127a532b-2b89-4b73-9a2f-39bd6fbbc400" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_6cef315c-2ba0-484d-ad4c-bdcbf6128890" xlink:to="loc_srt_OwnershipDomain_127a532b-2b89-4b73-9a2f-39bd6fbbc400" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CactusWellheadLlcAndItsSubsidiariesMember_667eeb91-fd5f-4af9-9d80-ec6f8ac3c583" xlink:href="whd-20211231.xsd#whd_CactusWellheadLlcAndItsSubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_127a532b-2b89-4b73-9a2f-39bd6fbbc400" xlink:to="loc_whd_CactusWellheadLlcAndItsSubsidiariesMember_667eeb91-fd5f-4af9-9d80-ec6f8ac3c583" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CactusLLCMember_b9350fb8-aa49-467b-ad38-212563f65d06" xlink:href="whd-20211231.xsd#whd_CactusLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_127a532b-2b89-4b73-9a2f-39bd6fbbc400" xlink:to="loc_whd_CactusLLCMember_b9350fb8-aa49-467b-ad38-212563f65d06" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_b0d3e212-6205-4751-86e1-98c34d9f1d6b" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_3dcd0cfa-8334-4f49-86b9-0c4e419ad4d9" xlink:to="loc_srt_CounterpartyNameAxis_b0d3e212-6205-4751-86e1-98c34d9f1d6b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_b0d3e212-6205-4751-86e1-98c34d9f1d6b_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_b0d3e212-6205-4751-86e1-98c34d9f1d6b" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_b0d3e212-6205-4751-86e1-98c34d9f1d6b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_decc41e3-31d8-4f99-83b0-dd01723bcc1c" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_b0d3e212-6205-4751-86e1-98c34d9f1d6b" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_decc41e3-31d8-4f99-83b0-dd01723bcc1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CwUnitHoldersOtherThanCactusIncMember_fff02198-3b1d-4678-901a-7a255960e75a" xlink:href="whd-20211231.xsd#whd_CwUnitHoldersOtherThanCactusIncMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_decc41e3-31d8-4f99-83b0-dd01723bcc1c" xlink:to="loc_whd_CwUnitHoldersOtherThanCactusIncMember_fff02198-3b1d-4678-901a-7a255960e75a" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/EquityScheduleofOwnershipofCWUnitsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#EquityScheduleofOwnershipofCWUnitsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/EquityScheduleofOwnershipofCWUnitsDetails" xlink:type="extended" id="iebc80a95aac04f4883131b4cef4e8205_EquityScheduleofOwnershipofCWUnitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockLineItems_6b2efdbd-eee3-4e32-9ece-fd94394f1b18" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiarySaleOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCMembersEquityAbstract_ace3df10-e75d-4216-80b8-0b66509068ff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LimitedLiabilityCompanyLLCMembersEquityAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_6b2efdbd-eee3-4e32-9ece-fd94394f1b18" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCMembersEquityAbstract_ace3df10-e75d-4216-80b8-0b66509068ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_af0a5126-ce20-48b9-923c-82936250a7f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LimitedLiabilityCompanyLLCMembersEquityAbstract_ace3df10-e75d-4216-80b8-0b66509068ff" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_af0a5126-ce20-48b9-923c-82936250a7f9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonUnitOutstanding_d55e6652-a091-4b9d-8ac2-8c4e60aa8a92" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonUnitOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_af0a5126-ce20-48b9-923c-82936250a7f9" xlink:to="loc_us-gaap_CommonUnitOutstanding_d55e6652-a091-4b9d-8ac2-8c4e60aa8a92" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CommonUnitRedeemed_4d2c5236-1da3-4716-9198-024e30363568" xlink:href="whd-20211231.xsd#whd_CommonUnitRedeemed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_af0a5126-ce20-48b9-923c-82936250a7f9" xlink:to="loc_whd_CommonUnitRedeemed_4d2c5236-1da3-4716-9198-024e30363568" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonUnitOutstanding_3e750ea8-add6-4719-9b8f-45474dba9590" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonUnitOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_e201748f-e615-4f48-b909-f62249a4f2d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsidiarySaleOfStockLineItems_6b2efdbd-eee3-4e32-9ece-fd94394f1b18" xlink:to="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_e201748f-e615-4f48-b909-f62249a4f2d4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_cf00594b-b511-4330-adda-d65482cd084a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsidiaryOrEquityMethodInvesteeSaleOfStockBySubsidiaryOrEquityInvesteeTable_e201748f-e615-4f48-b909-f62249a4f2d4" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_cf00594b-b511-4330-adda-d65482cd084a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_cf00594b-b511-4330-adda-d65482cd084a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_cf00594b-b511-4330-adda-d65482cd084a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_cf00594b-b511-4330-adda-d65482cd084a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_cf00594b-b511-4330-adda-d65482cd084a" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_March2019SecondaryOfferingMember_0924163c-6beb-42d5-93ea-06388fcb7fd1" xlink:href="whd-20211231.xsd#whd_March2019SecondaryOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:to="loc_whd_March2019SecondaryOfferingMember_0924163c-6beb-42d5-93ea-06388fcb7fd1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_March2021SecondaryOfferingMember_579f694a-b81b-4da8-8d0c-d7930418511a" xlink:href="whd-20211231.xsd#whd_March2021SecondaryOfferingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:to="loc_whd_March2021SecondaryOfferingMember_579f694a-b81b-4da8-8d0c-d7930418511a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_June2021CadentRedemptionMember_9425a1d9-91b2-413d-8397-a3680adbb8a1" xlink:href="whd-20211231.xsd#whd_June2021CadentRedemptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:to="loc_whd_June2021CadentRedemptionMember_9425a1d9-91b2-413d-8397-a3680adbb8a1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_September2021CadentRedemptionMember_8d57264a-f775-463f-b608-b2004535189a" xlink:href="whd-20211231.xsd#whd_September2021CadentRedemptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:to="loc_whd_September2021CadentRedemptionMember_8d57264a-f775-463f-b608-b2004535189a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_OtherCWRedemptionsMember_ebf01474-9f80-4983-a40e-8aed65494340" xlink:href="whd-20211231.xsd#whd_OtherCWRedemptionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_b09f2f2a-af62-4eb4-b1c0-50b05234a01c" xlink:to="loc_whd_OtherCWRedemptionsMember_ebf01474-9f80-4983-a40e-8aed65494340" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/RelatedPartyTransactionsDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#RelatedPartyTransactionsDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/RelatedPartyTransactionsDetails" xlink:type="extended" id="i9910883b805845068949740d5009cc06_RelatedPartyTransactionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_RelatedPartyTransactionsExpensesFromTransactionWithRelatedPartyHourlyRate_535a5b23-4fc7-40d0-b613-716205ab3f7d" xlink:href="whd-20211231.xsd#whd_RelatedPartyTransactionsExpensesFromTransactionWithRelatedPartyHourlyRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_whd_RelatedPartyTransactionsExpensesFromTransactionWithRelatedPartyHourlyRate_535a5b23-4fc7-40d0-b613-716205ab3f7d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_368b77ee-32c5-43a6-8319-4e9051e754e8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_368b77ee-32c5-43a6-8319-4e9051e754e8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_d0caaacd-d96c-43ff-a93a-01091470cf47" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableRelatedPartiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_AccountsPayableRelatedPartiesCurrent_d0caaacd-d96c-43ff-a93a-01091470cf47" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_685fbb56-8e96-4510-a82e-ed788dba9955" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_685fbb56-8e96-4510-a82e-ed788dba9955" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_TaxSavingsPayableToTraHoldersAsPercent_ba0100be-d6d9-4ce6-aba3-9238e8bae199" xlink:href="whd-20211231.xsd#whd_TaxSavingsPayableToTraHoldersAsPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_whd_TaxSavingsPayableToTraHoldersAsPercent_ba0100be-d6d9-4ce6-aba3-9238e8bae199" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCommitment_1daa9341-b428-435f-b773-761987007063" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherCommitment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_OtherCommitment_1daa9341-b428-435f-b773-761987007063" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueFromRelatedPartiesCurrent_55a48130-0318-404d-a5bb-ec7679159287" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueFromRelatedPartiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_DueFromRelatedPartiesCurrent_55a48130-0318-404d-a5bb-ec7679159287" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DistributionReceivedFromSubsidiary_f832b075-e593-4b5c-8614-ac8636cf2ee5" xlink:href="whd-20211231.xsd#whd_DistributionReceivedFromSubsidiary"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_whd_DistributionReceivedFromSubsidiary_f832b075-e593-4b5c-8614-ac8636cf2ee5" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DistributionMadeToLimitedLiabilityCompanyLlcMembersAfterIpo_788c3149-3504-4318-afbf-15bfbb6823c6" xlink:href="whd-20211231.xsd#whd_DistributionMadeToLimitedLiabilityCompanyLlcMembersAfterIpo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_whd_DistributionMadeToLimitedLiabilityCompanyLlcMembersAfterIpo_788c3149-3504-4318-afbf-15bfbb6823c6" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_aad686f0-1916-40f5-ae3e-528f1ac4626c" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_45b2fedb-7316-400a-a9de-f61b68daa3da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_89b8e1f8-2f9a-4c10-bfa8-3d7a2389796c" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_45b2fedb-7316-400a-a9de-f61b68daa3da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ShortTermRentalAgreementMember_b50b04a4-9751-4a0d-af55-70eb5e9bfb05" xlink:href="whd-20211231.xsd#whd_ShortTermRentalAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_45b2fedb-7316-400a-a9de-f61b68daa3da" xlink:to="loc_whd_ShortTermRentalAgreementMember_b50b04a4-9751-4a0d-af55-70eb5e9bfb05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_DailyRevenueFromRelatedPartiesPersonalUseOfPilotsMember_63ac56fa-a24a-4785-b215-680d1d222a0c" xlink:href="whd-20211231.xsd#whd_DailyRevenueFromRelatedPartiesPersonalUseOfPilotsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_45b2fedb-7316-400a-a9de-f61b68daa3da" xlink:to="loc_whd_DailyRevenueFromRelatedPartiesPersonalUseOfPilotsMember_63ac56fa-a24a-4785-b215-680d1d222a0c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis_2975fb42-5c6c-4631-a510-8505290638a3" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:to="loc_srt_ConsolidatedEntitiesAxis_2975fb42-5c6c-4631-a510-8505290638a3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_2975fb42-5c6c-4631-a510-8505290638a3_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidatedEntitiesAxis_2975fb42-5c6c-4631-a510-8505290638a3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_2975fb42-5c6c-4631-a510-8505290638a3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain_cdcaa046-4d72-4267-8daf-5e5fb655fbed" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidatedEntitiesAxis_2975fb42-5c6c-4631-a510-8505290638a3" xlink:to="loc_srt_ConsolidatedEntitiesDomain_cdcaa046-4d72-4267-8daf-5e5fb655fbed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SubsidiariesMember_b7189ed3-ea37-4cde-9956-ee0c8686a0f1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SubsidiariesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidatedEntitiesDomain_cdcaa046-4d72-4267-8daf-5e5fb655fbed" xlink:to="loc_srt_SubsidiariesMember_b7189ed3-ea37-4cde-9956-ee0c8686a0f1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a9c23f57-1d93-4cc8-a36a-19ca549069c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a9c23f57-1d93-4cc8-a36a-19ca549069c5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_a9c23f57-1d93-4cc8-a36a-19ca549069c5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a9c23f57-1d93-4cc8-a36a-19ca549069c5" xlink:to="loc_us-gaap_RelatedPartyDomain_a9c23f57-1d93-4cc8-a36a-19ca549069c5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_a9c23f57-1d93-4cc8-a36a-19ca549069c5" xlink:to="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CompanyOwnedByMemberOfCactusLlcMember_360e5bdf-bb69-4262-8654-6d511c090850" xlink:href="whd-20211231.xsd#whd_CompanyOwnedByMemberOfCactusLlcMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:to="loc_whd_CompanyOwnedByMemberOfCactusLlcMember_360e5bdf-bb69-4262-8654-6d511c090850" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CertainDirectAndIndirectHoldersOfCWUnitsMember_1b1a0541-c75a-4ba3-a45e-864d1a174d3c" xlink:href="whd-20211231.xsd#whd_CertainDirectAndIndirectHoldersOfCWUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:to="loc_whd_CertainDirectAndIndirectHoldersOfCWUnitsMember_1b1a0541-c75a-4ba3-a45e-864d1a174d3c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_CactusLlcMember_86219a90-4f2f-4021-9c23-71d2e529dce9" xlink:href="whd-20211231.xsd#whd_CactusLlcMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:to="loc_whd_CactusLlcMember_86219a90-4f2f-4021-9c23-71d2e529dce9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_ChiefExecutiveOfficerAndChiefOperatingOfficerMember_32b90a00-ac4d-4786-a83e-8c80bb4854e9" xlink:href="whd-20211231.xsd#whd_ChiefExecutiveOfficerAndChiefOperatingOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_d8d4f7f9-9ede-4ffd-b329-a1c37ebd49d1" xlink:to="loc_whd_ChiefExecutiveOfficerAndChiefOperatingOfficerMember_32b90a00-ac4d-4786-a83e-8c80bb4854e9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d0346466-9e57-46e4-ba2d-a17d7f7206c9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_34b2385c-ce58-4072-85a8-1b1c676805cd" xlink:to="loc_srt_RangeAxis_d0346466-9e57-46e4-ba2d-a17d7f7206c9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d0346466-9e57-46e4-ba2d-a17d7f7206c9_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d0346466-9e57-46e4-ba2d-a17d7f7206c9" xlink:to="loc_srt_RangeMember_d0346466-9e57-46e4-ba2d-a17d7f7206c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_387f08cf-2e02-475d-bc90-f47029cd98c2" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d0346466-9e57-46e4-ba2d-a17d7f7206c9" xlink:to="loc_srt_RangeMember_387f08cf-2e02-475d-bc90-f47029cd98c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_56c8a28d-6685-4fe7-9a37-bd1ba41e5e04" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_387f08cf-2e02-475d-bc90-f47029cd98c2" xlink:to="loc_srt_MinimumMember_56c8a28d-6685-4fe7-9a37-bd1ba41e5e04" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_d4ea5a74-0373-40b1-a07f-97065fa813de" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_387f08cf-2e02-475d-bc90-f47029cd98c2" xlink:to="loc_srt_MaximumMember_d4ea5a74-0373-40b1-a07f-97065fa813de" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/EarningsPerShareDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#EarningsPerShareDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/EarningsPerShareDetails" xlink:type="extended" id="ifad003c24fc54362a58c17f00dcb4d64_EarningsPerShareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDilutedLineItems_ca49b9ad-46dd-48ca-9de5-2370139c3860" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDilutedLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAbstract_361b2dce-f14c-4f5e-857e-c061e2e9c33e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_ca49b9ad-46dd-48ca-9de5-2370139c3860" xlink:to="loc_us-gaap_NetIncomeLossAbstract_361b2dce-f14c-4f5e-857e-c061e2e9c33e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9caf0224-e166-47b7-ac5e-8d128a81c796" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAbstract_361b2dce-f14c-4f5e-857e-c061e2e9c33e" xlink:to="loc_us-gaap_NetIncomeLoss_9caf0224-e166-47b7-ac5e-8d128a81c796" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_c5138ed9-58c1-4f7e-8391-3370de862ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAbstract_361b2dce-f14c-4f5e-857e-c061e2e9c33e" xlink:to="loc_us-gaap_NetIncomeLossAttributableToRedeemableNoncontrollingInterest_c5138ed9-58c1-4f7e-8391-3370de862ed6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_NetIncomeLossIncludingPortionAttributableToRedeemableNoncontrollingInterestDiluted_7c568a06-9b43-4592-b092-97c315acecf2" xlink:href="whd-20211231.xsd#whd_NetIncomeLossIncludingPortionAttributableToRedeemableNoncontrollingInterestDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetIncomeLossAbstract_361b2dce-f14c-4f5e-857e-c061e2e9c33e" xlink:to="loc_whd_NetIncomeLossIncludingPortionAttributableToRedeemableNoncontrollingInterestDiluted_7c568a06-9b43-4592-b092-97c315acecf2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_ca49b9ad-46dd-48ca-9de5-2370139c3860" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_da86a989-8e91-415b-bc7a-93adf7b2a71c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_da86a989-8e91-415b-bc7a-93adf7b2a71c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_be2d13d4-08d2-4c0f-aa46-02e384b413e3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_be2d13d4-08d2-4c0f-aa46-02e384b413e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_9432e6c9-946f-4886-81aa-372695b3c27e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_9432e6c9-946f-4886-81aa-372695b3c27e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_68dc50b4-7f9c-4bc7-8e0f-47d738aadf2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:to="loc_us-gaap_EarningsPerShareBasic_68dc50b4-7f9c-4bc7-8e0f-47d738aadf2f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_21950bb1-2bc2-4ad6-9ef8-24d3ceceee48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_63e5589d-f486-49e0-a082-3a2b0429cd70" xlink:to="loc_us-gaap_EarningsPerShareDiluted_21950bb1-2bc2-4ad6-9ef8-24d3ceceee48" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_EffectiveIncomeTaxRateUsedForNoncontrollingInterestIncome_eb245200-b7cc-4a11-ad01-9a3e2dd7769f" xlink:href="whd-20211231.xsd#whd_EffectiveIncomeTaxRateUsedForNoncontrollingInterestIncome"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_ca49b9ad-46dd-48ca-9de5-2370139c3860" xlink:to="loc_whd_EffectiveIncomeTaxRateUsedForNoncontrollingInterestIncome_eb245200-b7cc-4a11-ad01-9a3e2dd7769f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_fad36b54-0579-4b4b-b8d2-424b75b4d9f7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EarningsPerShareDilutedLineItems_ca49b9ad-46dd-48ca-9de5-2370139c3860" xlink:to="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_fad36b54-0579-4b4b-b8d2-424b75b4d9f7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_dec53788-ca5d-47b0-9545-c372af03063f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEarningsPerShareDilutedByCommonClassTable_fad36b54-0579-4b4b-b8d2-424b75b4d9f7" xlink:to="loc_us-gaap_StatementClassOfStockAxis_dec53788-ca5d-47b0-9545-c372af03063f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_dec53788-ca5d-47b0-9545-c372af03063f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_dec53788-ca5d-47b0-9545-c372af03063f" xlink:to="loc_us-gaap_ClassOfStockDomain_dec53788-ca5d-47b0-9545-c372af03063f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_7ff2ec8e-51de-411e-b51e-342f07a11ef4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_dec53788-ca5d-47b0-9545-c372af03063f" xlink:to="loc_us-gaap_ClassOfStockDomain_7ff2ec8e-51de-411e-b51e-342f07a11ef4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_61d2b2fa-d0cc-4d75-90b9-d1d877952bdf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7ff2ec8e-51de-411e-b51e-342f07a11ef4" xlink:to="loc_us-gaap_CommonClassAMember_61d2b2fa-d0cc-4d75-90b9-d1d877952bdf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassBMember_b1c1528a-112b-44e8-bf49-200cc76751c7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassBMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7ff2ec8e-51de-411e-b51e-342f07a11ef4" xlink:to="loc_us-gaap_CommonClassBMember_b1c1528a-112b-44e8-bf49-200cc76751c7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://cactuswellhead.com/role/SupplementalCashFlowInformationNarrativeDetails" xlink:type="simple" xlink:href="whd-20211231.xsd#SupplementalCashFlowInformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://cactuswellhead.com/role/SupplementalCashFlowInformationNarrativeDetails" xlink:type="extended" id="ib9c7511c62464af5913681ecd356d83b_SupplementalCashFlowInformationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems_8022a7d9-6258-4be4-bf0e-77a79381c0ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_whd_StockIssuedShares_e0efeb2a-f374-4230-9ccd-6b219740ab71" xlink:href="whd-20211231.xsd#whd_StockIssuedShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_8022a7d9-6258-4be4-bf0e-77a79381c0ce" xlink:to="loc_whd_StockIssuedShares_e0efeb2a-f374-4230-9ccd-6b219740ab71" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_a7c19dab-ea8b-4851-a8fd-4fc2c59e76f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_8022a7d9-6258-4be4-bf0e-77a79381c0ce" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_a7c19dab-ea8b-4851-a8fd-4fc2c59e76f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_f27e55f2-118e-4e69-b0bc-375889b446f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_a7c19dab-ea8b-4851-a8fd-4fc2c59e76f4" xlink:to="loc_us-gaap_StatementClassOfStockAxis_f27e55f2-118e-4e69-b0bc-375889b446f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_f27e55f2-118e-4e69-b0bc-375889b446f8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f27e55f2-118e-4e69-b0bc-375889b446f8" xlink:to="loc_us-gaap_ClassOfStockDomain_f27e55f2-118e-4e69-b0bc-375889b446f8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_3e81aa63-94f6-405d-b00d-520c2891b23b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_f27e55f2-118e-4e69-b0bc-375889b446f8" xlink:to="loc_us-gaap_ClassOfStockDomain_3e81aa63-94f6-405d-b00d-520c2891b23b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonClassAMember_e863e5c7-73d9-4843-b03c-4bb6c20d879a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonClassAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_3e81aa63-94f6-405d-b00d-520c2891b23b" xlink:to="loc_us-gaap_CommonClassAMember_e863e5c7-73d9-4843-b03c-4bb6c20d879a" xlink:type="arc" order="0"/>
  </link:definitionLink>
</link:linkbase>
