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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:b44c7d7b-2173-4641-924a-24b1e8e09f70,g:2a59c498-0dca-4ae2-81df-4646b4ed78a9-->
<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://naturalgaservices.com/role/Cover" xlink:type="simple" xlink:href="ngs-20201231.xsd#Cover"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/Cover" xlink:type="extended" id="i1bdb3076593a48b285a446f99f903f71_Cover"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="ngs-20201231.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended" id="icb6e41fa9ed64dc4a47de95a3651bd0c_CONSOLIDATEDBALANCESHEETS"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="ngs-20201231.xsd#CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended" id="ibbd304ff6e394f499115276943bd71c3_CONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="ngs-20201231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended" id="ia6928f66131d4a51bb43794c2e0f1ba4_CONSOLIDATEDSTATEMENTSOFOPERATIONS">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesAbstract_47442922-b495-4ed7-a618-9bc4ca1e42ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenuesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_RevenuesAbstract_47442922-b495-4ed7-a618-9bc4ca1e42ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_963a46d2-5004-474a-b545-670004dee510" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesAbstract_47442922-b495-4ed7-a618-9bc4ca1e42ff" xlink:to="loc_us-gaap_Revenues_963a46d2-5004-474a-b545-670004dee510" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpensesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment_656e6fb2-49c8-4341-b98c-21981572869c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_DirectCostsOfLeasedAndRentedPropertyOrEquipment_656e6fb2-49c8-4341-b98c-21981572869c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostOfOperatingRevenue_979514e9-7b7a-4616-9561-92bc9aef1b77" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherCostOfOperatingRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_OtherCostOfOperatingRevenue_979514e9-7b7a-4616-9561-92bc9aef1b77" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfPropertyRepairsAndMaintenance_b5a83c6c-d870-42e0-87e6-fc710d652d08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostOfPropertyRepairsAndMaintenance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_CostOfPropertyRepairsAndMaintenance_b5a83c6c-d870-42e0-87e6-fc710d652d08" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_7401d12e-14c2-4b12-9794-35333ac0b292" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_7401d12e-14c2-4b12-9794-35333ac0b292" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_857c8810-fa05-42e6-8d52-edbd063ae222" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_857c8810-fa05-42e6-8d52-edbd063ae222" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_6ea2a3d6-2be6-4620-b6ae-e772fa3f2af0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_6ea2a3d6-2be6-4620-b6ae-e772fa3f2af0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_4e6d79a8-017b-4d72-ad00-578bddb03e1a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_InventoryWriteDown_4e6d79a8-017b-4d72-ad00-578bddb03e1a" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss_14411a92-57df-469e-9f15-cf2610c7420b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss_14411a92-57df-469e-9f15-cf2610c7420b" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_55e3edf8-2c6d-49dd-af3a-4cd34110ac8c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CostsAndExpensesAbstract_920a45d5-a897-49da-98b5-477868cfc9d9" xlink:to="loc_us-gaap_CostsAndExpenses_55e3edf8-2c6d-49dd-af3a-4cd34110ac8c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_53364b88-96c9-4dbc-b230-9eff31706b1c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_OperatingIncomeLoss_53364b88-96c9-4dbc-b230-9eff31706b1c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpenseAbstract_bbd550f2-67f2-4a6a-ae80-7430b2af80f3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonoperatingIncomeExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_NonoperatingIncomeExpenseAbstract_bbd550f2-67f2-4a6a-ae80-7430b2af80f3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_b4a36285-1bc8-4abe-8472-f73d598dc4ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_bbd550f2-67f2-4a6a-ae80-7430b2af80f3" xlink:to="loc_us-gaap_InterestExpense_b4a36285-1bc8-4abe-8472-f73d598dc4ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_bbb7b4ce-d0fd-4d23-be81-6a4419056ba7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_bbd550f2-67f2-4a6a-ae80-7430b2af80f3" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_bbb7b4ce-d0fd-4d23-be81-6a4419056ba7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_fd4c2cac-3bdf-4d69-980d-44d469ba387c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NonoperatingIncomeExpenseAbstract_bbd550f2-67f2-4a6a-ae80-7430b2af80f3" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_fd4c2cac-3bdf-4d69-980d-44d469ba387c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_973d751b-5fa1-425c-b0ec-acd716f97663" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_973d751b-5fa1-425c-b0ec-acd716f97663" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1450a0ad-b104-4524-9ea2-b7e4ec3f2196" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1450a0ad-b104-4524-9ea2-b7e4ec3f2196" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_13e7408f-d939-400d-b13f-fc7baeabdb54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1450a0ad-b104-4524-9ea2-b7e4ec3f2196" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_13e7408f-d939-400d-b13f-fc7baeabdb54" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_bb57557f-fa3e-4382-a415-8f54ec3b092c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1450a0ad-b104-4524-9ea2-b7e4ec3f2196" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_bb57557f-fa3e-4382-a415-8f54ec3b092c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_f74a486d-3da1-4030-89e0-5720b1c45ce7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsAbstract_1450a0ad-b104-4524-9ea2-b7e4ec3f2196" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_f74a486d-3da1-4030-89e0-5720b1c45ce7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9849684e-6246-49e6-8d73-f6a520cd9022" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_NetIncomeLoss_9849684e-6246-49e6-8d73-f6a520cd9022" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract_39fb7645-0be2-4ed0-8b8e-afb52efc03d0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_EarningsPerShareAbstract_39fb7645-0be2-4ed0-8b8e-afb52efc03d0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic_8fb3e8a6-013f-437f-8d44-f82c546781e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_39fb7645-0be2-4ed0-8b8e-afb52efc03d0" xlink:to="loc_us-gaap_EarningsPerShareBasic_8fb3e8a6-013f-437f-8d44-f82c546781e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted_d07fcddc-48e1-4080-9090-9e6160406ae1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_39fb7645-0be2-4ed0-8b8e-afb52efc03d0" xlink:to="loc_us-gaap_EarningsPerShareDiluted_d07fcddc-48e1-4080-9090-9e6160406ae1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_WeightedAverageSharesOutstandingBasicAndDilutedAbstract_575a497a-55ef-4ddd-a755-fe526cf34805" xlink:href="ngs-20201231.xsd#ngs_WeightedAverageSharesOutstandingBasicAndDilutedAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_ngs_WeightedAverageSharesOutstandingBasicAndDilutedAbstract_575a497a-55ef-4ddd-a755-fe526cf34805" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_95ae63e1-cf96-46e1-a477-114496ae9cac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_WeightedAverageSharesOutstandingBasicAndDilutedAbstract_575a497a-55ef-4ddd-a755-fe526cf34805" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_95ae63e1-cf96-46e1-a477-114496ae9cac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_eefa1c37-49f9-4752-8835-c0c71b64853a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_WeightedAverageSharesOutstandingBasicAndDilutedAbstract_575a497a-55ef-4ddd-a755-fe526cf34805" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_eefa1c37-49f9-4752-8835-c0c71b64853a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_3e8867ab-3a52-4140-8582-a8e13e61a6ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2ed34cc3-f827-4a2f-a6fc-b1850f770c53" xlink:to="loc_us-gaap_StatementTable_3e8867ab-3a52-4140-8582-a8e13e61a6ff" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_b6d1d896-0501-43be-b066-6f3bd6632436" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3e8867ab-3a52-4140-8582-a8e13e61a6ff" xlink:to="loc_srt_ProductOrServiceAxis_b6d1d896-0501-43be-b066-6f3bd6632436" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_b6d1d896-0501-43be-b066-6f3bd6632436_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_b6d1d896-0501-43be-b066-6f3bd6632436" xlink:to="loc_srt_ProductsAndServicesDomain_b6d1d896-0501-43be-b066-6f3bd6632436_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_6271c0a0-4293-4285-b7a9-9cae1e4019d3" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_b6d1d896-0501-43be-b066-6f3bd6632436" xlink:to="loc_srt_ProductsAndServicesDomain_6271c0a0-4293-4285-b7a9-9cae1e4019d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalMember_d8bf408b-dd7a-4c55-a948-ea15fe31e46a" xlink:href="ngs-20201231.xsd#ngs_RentalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6271c0a0-4293-4285-b7a9-9cae1e4019d3" xlink:to="loc_ngs_RentalMember_d8bf408b-dd7a-4c55-a948-ea15fe31e46a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ProductSalesMember_cf9ef250-2b6a-43f4-98df-8923de26ad70" xlink:href="ngs-20201231.xsd#ngs_ProductSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6271c0a0-4293-4285-b7a9-9cae1e4019d3" xlink:to="loc_ngs_ProductSalesMember_cf9ef250-2b6a-43f4-98df-8923de26ad70" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ServiceandMaintenanceMember_f3b4582a-6922-41f7-9263-bd413500e1aa" xlink:href="ngs-20201231.xsd#ngs_ServiceandMaintenanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_6271c0a0-4293-4285-b7a9-9cae1e4019d3" xlink:to="loc_ngs_ServiceandMaintenanceMember_f3b4582a-6922-41f7-9263-bd413500e1aa" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_da9a54f7-9b31-485b-a94c-e3d6d75e13b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3e8867ab-3a52-4140-8582-a8e13e61a6ff" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_da9a54f7-9b31-485b-a94c-e3d6d75e13b0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_da9a54f7-9b31-485b-a94c-e3d6d75e13b0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_da9a54f7-9b31-485b-a94c-e3d6d75e13b0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_da9a54f7-9b31-485b-a94c-e3d6d75e13b0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_57ae545b-b127-4d42-b0b5-7103c7ead753" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_da9a54f7-9b31-485b-a94c-e3d6d75e13b0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_57ae545b-b127-4d42-b0b5-7103c7ead753" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LossOnRetirementOfRentalEquipmentMember_b27d43fe-5dad-4609-8d5f-6f256f309bdc" xlink:href="ngs-20201231.xsd#ngs_LossOnRetirementOfRentalEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_57ae545b-b127-4d42-b0b5-7103c7ead753" xlink:to="loc_ngs_LossOnRetirementOfRentalEquipmentMember_b27d43fe-5dad-4609-8d5f-6f256f309bdc" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="simple" xlink:href="ngs-20201231.xsd#CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY" xlink:type="extended" id="i4e9215d2051544b79f5deebc13b8d6da_CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_5b34dd26-1bb4-42cf-ab5c-31da41e8c77e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5b34dd26-1bb4-42cf-ab5c-31da41e8c77e" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_8e0aec46-2b04-4977-ab79-6c2eccf4ab2e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_SharesOutstanding_8e0aec46-2b04-4977-ab79-6c2eccf4ab2e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_42a0a58e-642f-41b8-9ea0-0a9d2c8a673f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_StockholdersEquity_42a0a58e-642f-41b8-9ea0-0a9d2c8a673f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_55ed223f-a523-4e8b-bf86-c6d701886669" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_55ed223f-a523-4e8b-bf86-c6d701886669" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d56ab377-4424-4ce8-953f-5fd69bd45b5a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_d56ab377-4424-4ce8-953f-5fd69bd45b5a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_3f994603-9f47-481e-986b-121af9d030c3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_3f994603-9f47-481e-986b-121af9d030c3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_010b7fdd-25b5-4f0e-b734-553e07984634" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_010b7fdd-25b5-4f0e-b734-553e07984634" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_3383349f-2047-4051-83fd-d4d6b952c3f7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_3383349f-2047-4051-83fd-d4d6b952c3f7" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_e1bc3bab-c5b3-4a63-a651-5668d157840d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_e1bc3bab-c5b3-4a63-a651-5668d157840d" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_d06402bd-c610-40ea-9835-a60259d58371" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_d06402bd-c610-40ea-9835-a60259d58371" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_166a5358-a850-4275-b55a-47d549af269c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_166a5358-a850-4275-b55a-47d549af269c" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d2668830-d2a2-4807-b61e-ef639440dfdd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_e9195270-77a9-4c87-8fdc-03f089533419" xlink:to="loc_us-gaap_NetIncomeLoss_d2668830-d2a2-4807-b61e-ef639440dfdd" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_7020fff0-e2bf-4f19-8f96-8e17f183acad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_f254a346-8942-4e96-a897-b479f2b448f2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_b5d5bc9e-a109-43dc-abca-013473084257" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_5b34dd26-1bb4-42cf-ab5c-31da41e8c77e" xlink:to="loc_us-gaap_StatementTable_b5d5bc9e-a109-43dc-abca-013473084257" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b5d5bc9e-a109-43dc-abca-013473084257" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c" xlink:to="loc_us-gaap_EquityComponentDomain_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2dbf8216-aa59-4622-b3f1-7bd9ff5e295c" xlink:to="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember_9ae26ffc-858e-44cf-a457-cf1abe8a4540" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:to="loc_us-gaap_PreferredStockMember_9ae26ffc-858e-44cf-a457-cf1abe8a4540" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_f1765624-031d-4a5f-a7d3-dd89ace34b2b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:to="loc_us-gaap_CommonStockMember_f1765624-031d-4a5f-a7d3-dd89ace34b2b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_3c32d26b-42a9-4a2c-8e5d-3e2f1c0f1dae" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_3c32d26b-42a9-4a2c-8e5d-3e2f1c0f1dae" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_684a7240-4a91-42b0-bf1b-6d6a09082127" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:to="loc_us-gaap_RetainedEarningsMember_684a7240-4a91-42b0-bf1b-6d6a09082127" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockMember_6625d3e3-654f-4d0a-8a2d-64a23b3afe9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TreasuryStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_8bfe1787-288c-45ec-861f-45309e2681fb" xlink:to="loc_us-gaap_TreasuryStockMember_6625d3e3-654f-4d0a-8a2d-64a23b3afe9b" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="ngs-20201231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended" id="i3c2b0d6ad1f54a4a8d90b6f07860546f_CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/DescriptionofBusiness" xlink:type="simple" xlink:href="ngs-20201231.xsd#DescriptionofBusiness"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/DescriptionofBusiness" xlink:type="extended" id="i1e351982190942278a4126ccfe71f5b9_DescriptionofBusiness"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPolicies" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPolicies"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPolicies" xlink:type="extended" id="ic25a6332b3da4b95ba920ab47edf9fa5_SummaryofSignificantAccountingPolicies"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesPolicies" xlink:type="extended" id="i3b5f2cb024b5401790508da89b1e5707_SummaryofSignificantAccountingPoliciesPolicies"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesTables" xlink:type="extended" id="ic7c0742dc69048fc9ba7e48fcc698276_SummaryofSignificantAccountingPoliciesTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="i770ed43d9db04a8dba0b3cb08d940bdf_SummaryofSignificantAccountingPoliciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_CashEquivalentsQualificationMaximumOriginalMaturityOfShortTermInvestments_d7639484-5a66-4864-aed5-f70647b60811" xlink:href="ngs-20201231.xsd#ngs_CashEquivalentsQualificationMaximumOriginalMaturityOfShortTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_ngs_CashEquivalentsQualificationMaximumOriginalMaturityOfShortTermInvestments_d7639484-5a66-4864-aed5-f70647b60811" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_CustomerDepositsDepositRequirementsLargeCustomContractsMaximumPercentage_22be0c75-66a0-42fb-a884-b0d256b04387" xlink:href="ngs-20201231.xsd#ngs_CustomerDepositsDepositRequirementsLargeCustomContractsMaximumPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_ngs_CustomerDepositsDepositRequirementsLargeCustomContractsMaximumPercentage_22be0c75-66a0-42fb-a884-b0d256b04387" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_f1c2a732-db1c-4d05-a15c-b4c1b80b278c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_f1c2a732-db1c-4d05-a15c-b4c1b80b278c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_f13823a0-a52f-422a-bbc3-db5c3d38c869" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_AllowanceForDoubtfulAccountsReceivableCurrent_f13823a0-a52f-422a-bbc3-db5c3d38c869" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseTermOfContract_997d9565-ea31-481b-8b67-46d0dd7b20a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_LessorOperatingLeaseTermOfContract_997d9565-ea31-481b-8b67-46d0dd7b20a0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_949d186f-8d11-4ee1-ab12-2ae7b543d897" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_Revenues_949d186f-8d11-4ee1-ab12-2ae7b543d897" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_9a988089-8621-4108-b0ac-7dc86fc29764" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_9a988089-8621-4108-b0ac-7dc86fc29764" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortizationPeriod_87b25f55-0967-4e2e-9375-b740b176edda" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CapitalizedContractCostAmortizationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_CapitalizedContractCostAmortizationPeriod_87b25f55-0967-4e2e-9375-b740b176edda" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_c7cdcfe0-6bb6-451d-a4e5-11c312d661e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_c7cdcfe0-6bb6-451d-a4e5-11c312d661e0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillImpairmentLoss_f13f8b63-b8a3-49e8-bb59-66a6239eae6c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GoodwillImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_GoodwillImpairmentLoss_f13f8b63-b8a3-49e8-bb59-66a6239eae6c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_7328c381-cd82-483c-8694-935177eb5928" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_7328c381-cd82-483c-8694-935177eb5928" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1e558882-1028-423b-bdf1-066b21f4c2bb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1e558882-1028-423b-bdf1-066b21f4c2bb" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductWarrantyAccrual_feee99f2-3552-4e32-b0cc-5c95398070b9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProductWarrantyAccrual"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_ProductWarrantyAccrual_feee99f2-3552-4e32-b0cc-5c95398070b9" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForUncertainTaxPositionsCurrent_7c1d027e-6774-4e69-acbd-b8666198c0b1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilityForUncertainTaxPositionsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_LiabilityForUncertainTaxPositionsCurrent_7c1d027e-6774-4e69-acbd-b8666198c0b1" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_542a37f6-ddb0-44a7-872b-da0fd7656773" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_NumberOfOperatingSegments_542a37f6-ddb0-44a7-872b-da0fd7656773" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_cdc01f64-90c8-4935-b01c-bfb134c358fa" xlink:to="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_71da091c-2832-4bfc-b33f-1a93b537fc36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_71da091c-2832-4bfc-b33f-1a93b537fc36" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_71da091c-2832-4bfc-b33f-1a93b537fc36_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_71da091c-2832-4bfc-b33f-1a93b537fc36" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_71da091c-2832-4bfc-b33f-1a93b537fc36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_62f056fd-eefb-48a5-9a12-198323e07b62" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_71da091c-2832-4bfc-b33f-1a93b537fc36" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_62f056fd-eefb-48a5-9a12-198323e07b62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_267856b3-99e0-47cd-b8de-4314abecdf9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_62f056fd-eefb-48a5-9a12-198323e07b62" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_267856b3-99e0-47cd-b8de-4314abecdf9e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_df9c93d7-e5e1-4abe-80c5-755439069aa4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_df9c93d7-e5e1-4abe-80c5-755439069aa4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_df9c93d7-e5e1-4abe-80c5-755439069aa4_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_df9c93d7-e5e1-4abe-80c5-755439069aa4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_df9c93d7-e5e1-4abe-80c5-755439069aa4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_8be05756-c6b2-4a9e-b46c-14e36ea46763" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_df9c93d7-e5e1-4abe-80c5-755439069aa4" xlink:to="loc_us-gaap_TypeOfAdoptionMember_8be05756-c6b2-4a9e-b46c-14e36ea46763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_1d31bbb9-4832-4a07-987b-a77036b4fe46" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_8be05756-c6b2-4a9e-b46c-14e36ea46763" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_1d31bbb9-4832-4a07-987b-a77036b4fe46" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermAxis_9a19f52d-60d8-4296-988d-dff4067c723b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseContractualTermAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_LeaseContractualTermAxis_9a19f52d-60d8-4296-988d-dff4067c723b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_9a19f52d-60d8-4296-988d-dff4067c723b_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseContractualTermAxis_9a19f52d-60d8-4296-988d-dff4067c723b" xlink:to="loc_us-gaap_LeaseContractualTermDomain_9a19f52d-60d8-4296-988d-dff4067c723b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseContractualTermDomain_731f6f8e-e549-40a7-8be0-3d5a4c1df711" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseContractualTermDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseContractualTermAxis_9a19f52d-60d8-4296-988d-dff4067c723b" xlink:to="loc_us-gaap_LeaseContractualTermDomain_731f6f8e-e549-40a7-8be0-3d5a4c1df711" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalContractsExcludingLargeHorsepowerCompressorsMember_afd6e7fe-fb95-4a0e-bf55-e55e24160708" xlink:href="ngs-20201231.xsd#ngs_RentalContractsExcludingLargeHorsepowerCompressorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_731f6f8e-e549-40a7-8be0-3d5a4c1df711" xlink:to="loc_ngs_RentalContractsExcludingLargeHorsepowerCompressorsMember_afd6e7fe-fb95-4a0e-bf55-e55e24160708" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalContractsLargeHorsepowerCompressorsMember_ba2230e7-74cd-4820-bccf-9125a6898136" xlink:href="ngs-20201231.xsd#ngs_RentalContractsLargeHorsepowerCompressorsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseContractualTermDomain_731f6f8e-e549-40a7-8be0-3d5a4c1df711" xlink:to="loc_ngs_RentalContractsLargeHorsepowerCompressorsMember_ba2230e7-74cd-4820-bccf-9125a6898136" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfArrangementAxis_c6c86654-ebcf-4795-a287-a93c7252bd36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfArrangementAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_TypeOfArrangementAxis_c6c86654-ebcf-4795-a287-a93c7252bd36" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c6c86654-ebcf-4795-a287-a93c7252bd36_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_c6c86654-ebcf-4795-a287-a93c7252bd36" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_c6c86654-ebcf-4795-a287-a93c7252bd36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_28d3578f-f600-4818-bbe6-9e49b48700b4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_c6c86654-ebcf-4795-a287-a93c7252bd36" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_28d3578f-f600-4818-bbe6-9e49b48700b4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_BillandHoldArrangementMember_f22d3ac3-1b55-4a5e-ac23-dab646ade0e6" xlink:href="ngs-20201231.xsd#ngs_BillandHoldArrangementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_28d3578f-f600-4818-bbe6-9e49b48700b4" xlink:to="loc_ngs_BillandHoldArrangementMember_f22d3ac3-1b55-4a5e-ac23-dab646ade0e6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b81c137c-add1-4f53-b877-b7710d9d8131" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b81c137c-add1-4f53-b877-b7710d9d8131" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b81c137c-add1-4f53-b877-b7710d9d8131_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b81c137c-add1-4f53-b877-b7710d9d8131" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b81c137c-add1-4f53-b877-b7710d9d8131_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_bfc8745c-51e0-4dd2-bc82-ab172e2b9c9d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_b81c137c-add1-4f53-b877-b7710d9d8131" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_bfc8745c-51e0-4dd2-bc82-ab172e2b9c9d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_5eacecc7-2db6-4d81-b443-5be98f3b8ca9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_bfc8745c-51e0-4dd2-bc82-ab172e2b9c9d" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_5eacecc7-2db6-4d81-b443-5be98f3b8ca9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_64267889-9c92-4844-9422-77cede384d4a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_srt_MajorCustomersAxis_64267889-9c92-4844-9422-77cede384d4a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_64267889-9c92-4844-9422-77cede384d4a_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_64267889-9c92-4844-9422-77cede384d4a" xlink:to="loc_srt_NameOfMajorCustomerDomain_64267889-9c92-4844-9422-77cede384d4a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_de4e4276-e34f-44bc-b4a9-4757f1aff185" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_64267889-9c92-4844-9422-77cede384d4a" xlink:to="loc_srt_NameOfMajorCustomerDomain_de4e4276-e34f-44bc-b4a9-4757f1aff185" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_OneCustomerMember_83380abf-9d6f-49e3-a60a-cc6df49f30fe" xlink:href="ngs-20201231.xsd#ngs_OneCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_de4e4276-e34f-44bc-b4a9-4757f1aff185" xlink:to="loc_ngs_OneCustomerMember_83380abf-9d6f-49e3-a60a-cc6df49f30fe" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_OxyMember_6120f0d9-ad98-4008-9f91-c6b1fd019fe7" xlink:href="ngs-20201231.xsd#ngs_OxyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_de4e4276-e34f-44bc-b4a9-4757f1aff185" xlink:to="loc_ngs_OxyMember_6120f0d9-ad98-4008-9f91-c6b1fd019fe7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a5dfcaa2-3f98-4952-868f-aa03708facfb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a5dfcaa2-3f98-4952-868f-aa03708facfb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a5dfcaa2-3f98-4952-868f-aa03708facfb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a5dfcaa2-3f98-4952-868f-aa03708facfb" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_a5dfcaa2-3f98-4952-868f-aa03708facfb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7b4e064e-e27e-470a-a590-327e1cb7a70c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_a5dfcaa2-3f98-4952-868f-aa03708facfb" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7b4e064e-e27e-470a-a590-327e1cb7a70c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_SalesRevenueGoodsNetAndRentalIncomeMember_4a17edf9-3b4a-4e04-b40f-15a6aa185973" xlink:href="ngs-20201231.xsd#ngs_SalesRevenueGoodsNetAndRentalIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7b4e064e-e27e-470a-a590-327e1cb7a70c" xlink:to="loc_ngs_SalesRevenueGoodsNetAndRentalIncomeMember_4a17edf9-3b4a-4e04-b40f-15a6aa185973" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember_315683be-c827-44de-8524-36b0a0a72795" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_7b4e064e-e27e-470a-a590-327e1cb7a70c" xlink:to="loc_us-gaap_AccountsReceivableMember_315683be-c827-44de-8524-36b0a0a72795" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_3063f3d7-dacd-45c1-9086-b546491238b0" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_srt_RangeAxis_3063f3d7-dacd-45c1-9086-b546491238b0" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_3063f3d7-dacd-45c1-9086-b546491238b0_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_3063f3d7-dacd-45c1-9086-b546491238b0" xlink:to="loc_srt_RangeMember_3063f3d7-dacd-45c1-9086-b546491238b0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_500c1820-bbd2-4157-af61-33c92b8e7cbd" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_3063f3d7-dacd-45c1-9086-b546491238b0" xlink:to="loc_srt_RangeMember_500c1820-bbd2-4157-af61-33c92b8e7cbd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_6589d259-4ac2-4edd-a461-54be1f50f00d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_500c1820-bbd2-4157-af61-33c92b8e7cbd" xlink:to="loc_srt_MinimumMember_6589d259-4ac2-4edd-a461-54be1f50f00d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_59a64ae2-3a91-4a9b-9d0d-003baebe4e52" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_500c1820-bbd2-4157-af61-33c92b8e7cbd" xlink:to="loc_srt_MaximumMember_59a64ae2-3a91-4a9b-9d0d-003baebe4e52" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassAxis_dead74fd-34b1-4518-a075-05c9d1683804" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_47594426-851b-46bc-8e99-7fbe03321541" xlink:to="loc_us-gaap_MajorPropertyClassAxis_dead74fd-34b1-4518-a075-05c9d1683804" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_dead74fd-34b1-4518-a075-05c9d1683804_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorPropertyClassAxis_dead74fd-34b1-4518-a075-05c9d1683804" xlink:to="loc_us-gaap_MajorPropertyClassDomain_dead74fd-34b1-4518-a075-05c9d1683804_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_e10f587f-aa7e-4e58-a232-826800afbaa5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorPropertyClassAxis_dead74fd-34b1-4518-a075-05c9d1683804" xlink:to="loc_us-gaap_MajorPropertyClassDomain_e10f587f-aa7e-4e58-a232-826800afbaa5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentLeasedToOtherPartyMember_6f200967-e7b5-4c55-8b22-15f96dbe0a4c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquipmentLeasedToOtherPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorPropertyClassDomain_e10f587f-aa7e-4e58-a232-826800afbaa5" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_6f200967-e7b5-4c55-8b22-15f96dbe0a4c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesScheduleofAllowanceforDoubtfulAccountsDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesScheduleofAllowanceforDoubtfulAccountsDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesScheduleofAllowanceforDoubtfulAccountsDetails" xlink:type="extended" id="i5c657c4648064ab5a788a2ed9ed1561e_SummaryofSignificantAccountingPoliciesScheduleofAllowanceforDoubtfulAccountsDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesDisaggregationofRevenueDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesDisaggregationofRevenueDetails" xlink:type="extended" id="i96e8ec7d1dba4f04bcfa9dc305a086fa_SummaryofSignificantAccountingPoliciesDisaggregationofRevenueDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_40706a79-bd90-4df2-98a7-d37228e40b6d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2fa4e6e4-4b70-4b60-9926-ff5929ace0a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_40706a79-bd90-4df2-98a7-d37228e40b6d" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_2fa4e6e4-4b70-4b60-9926-ff5929ace0a6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RentalIncomeNonoperating_e273a512-fd83-40ac-8952-1989ca79d7d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RentalIncomeNonoperating"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_40706a79-bd90-4df2-98a7-d37228e40b6d" xlink:to="loc_us-gaap_RentalIncomeNonoperating_e273a512-fd83-40ac-8952-1989ca79d7d6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_b3f57698-b68d-4b04-8e85-aaf1378e3866" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_40706a79-bd90-4df2-98a7-d37228e40b6d" xlink:to="loc_us-gaap_Revenues_b3f57698-b68d-4b04-8e85-aaf1378e3866" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_de89ea4c-018c-43c5-91ed-77822ea9e4b6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_40706a79-bd90-4df2-98a7-d37228e40b6d" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_de89ea4c-018c-43c5-91ed-77822ea9e4b6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_04809453-fe43-4808-bf33-3613cacc568d" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_de89ea4c-018c-43c5-91ed-77822ea9e4b6" xlink:to="loc_srt_ProductOrServiceAxis_04809453-fe43-4808-bf33-3613cacc568d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_04809453-fe43-4808-bf33-3613cacc568d_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_04809453-fe43-4808-bf33-3613cacc568d" xlink:to="loc_srt_ProductsAndServicesDomain_04809453-fe43-4808-bf33-3613cacc568d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_04809453-fe43-4808-bf33-3613cacc568d" xlink:to="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_CompressorRelatedMember_aee923ea-df79-4c45-a051-0662d3787efd" xlink:href="ngs-20201231.xsd#ngs_CompressorRelatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:to="loc_ngs_CompressorRelatedMember_aee923ea-df79-4c45-a051-0662d3787efd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_FlaresRelatedMember_0a472bcb-e5a0-4adb-b566-d79d039f8c6b" xlink:href="ngs-20201231.xsd#ngs_FlaresRelatedMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:to="loc_ngs_FlaresRelatedMember_0a472bcb-e5a0-4adb-b566-d79d039f8c6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_OtherPartsRebuildsMember_93c41849-3d1a-4041-b304-d40ef715d7cf" xlink:href="ngs-20201231.xsd#ngs_OtherPartsRebuildsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:to="loc_ngs_OtherPartsRebuildsMember_93c41849-3d1a-4041-b304-d40ef715d7cf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ServiceAndMaintenanceMember_598ab101-8400-4529-b350-f763f13d21f3" xlink:href="ngs-20201231.xsd#ngs_ServiceAndMaintenanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_dae4b5e8-7bbe-4137-8493-a739ec099c96" xlink:to="loc_ngs_ServiceAndMaintenanceMember_598ab101-8400-4529-b350-f763f13d21f3" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesContractBalancesDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesContractBalancesDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesContractBalancesDetails" xlink:type="extended" id="i96a14a23eb694ed598750419afadec4c_SummaryofSignificantAccountingPoliciesContractBalancesDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesCumulativeEffectofChangesfromAdoptionofASUDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#SummaryofSignificantAccountingPoliciesCumulativeEffectofChangesfromAdoptionofASUDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SummaryofSignificantAccountingPoliciesCumulativeEffectofChangesfromAdoptionofASUDetails" xlink:type="extended" id="id4bea3806c4f428d8261e139bb14d707_SummaryofSignificantAccountingPoliciesCumulativeEffectofChangesfromAdoptionofASUDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_9792b88b-54a2-440f-bb19-ef9dcfa4a13c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract_f08f2a6f-f354-4e2e-b00b-ee8e67668169" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_9792b88b-54a2-440f-bb19-ef9dcfa4a13c" xlink:to="loc_us-gaap_AssetsAbstract_f08f2a6f-f354-4e2e-b00b-ee8e67668169" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_1c052664-bcac-46e3-989f-2bdd727493be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_f08f2a6f-f354-4e2e-b00b-ee8e67668169" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_1c052664-bcac-46e3-989f-2bdd727493be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract_829c799a-94be-4030-afd2-ef34776693b0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_9792b88b-54a2-440f-bb19-ef9dcfa4a13c" xlink:to="loc_us-gaap_LiabilitiesAbstract_829c799a-94be-4030-afd2-ef34776693b0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_1d36c49b-53cc-48c9-830b-3fb16a173bc4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_829c799a-94be-4030-afd2-ef34776693b0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_1d36c49b-53cc-48c9-830b-3fb16a173bc4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_c578f38e-2c49-47bb-b171-8b418000a307" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_829c799a-94be-4030-afd2-ef34776693b0" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_c578f38e-2c49-47bb-b171-8b418000a307" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_40802bf9-cdc5-4726-8be0-8e405d68e616" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_829c799a-94be-4030-afd2-ef34776693b0" xlink:to="loc_us-gaap_OperatingLeaseLiability_40802bf9-cdc5-4726-8be0-8e405d68e616" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_30583cef-04bc-41d5-883b-2af2b129308d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems_9792b88b-54a2-440f-bb19-ef9dcfa4a13c" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_30583cef-04bc-41d5-883b-2af2b129308d" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c4652275-4ed3-4738-9eb7-6021f054690a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_30583cef-04bc-41d5-883b-2af2b129308d" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c4652275-4ed3-4738-9eb7-6021f054690a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_c4652275-4ed3-4738-9eb7-6021f054690a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c4652275-4ed3-4738-9eb7-6021f054690a" xlink:to="loc_us-gaap_TypeOfAdoptionMember_c4652275-4ed3-4738-9eb7-6021f054690a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_fb8f3aea-f739-46b3-b4d3-73f69c56be9c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_c4652275-4ed3-4738-9eb7-6021f054690a" xlink:to="loc_us-gaap_TypeOfAdoptionMember_fb8f3aea-f739-46b3-b4d3-73f69c56be9c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_c2f11200-4a57-4c1d-9e25-baf30e3d140c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_fb8f3aea-f739-46b3-b4d3-73f69c56be9c" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_c2f11200-4a57-4c1d-9e25-baf30e3d140c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/Inventory" xlink:type="simple" xlink:href="ngs-20201231.xsd#Inventory"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/Inventory" xlink:type="extended" id="ie04f44bb9d9644a791bed3dcdeedda21_Inventory"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/InventoryTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#InventoryTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/InventoryTables" xlink:type="extended" id="i5565ea4896c9476282d7f9a83ea664cd_InventoryTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/InventoryScheduleofInventoryDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#InventoryScheduleofInventoryDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/InventoryScheduleofInventoryDetails" xlink:type="extended" id="ic30265ab13c24c70aaca16f2ebb0f9d5_InventoryScheduleofInventoryDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/InventoryNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#InventoryNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/InventoryNarrativeDetails" xlink:type="extended" id="i6e39a4dd7624428fa7f45dbc34684103_InventoryNarrativeDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/InventoryScheduleofInventoryAllowanceDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#InventoryScheduleofInventoryAllowanceDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/InventoryScheduleofInventoryAllowanceDetails" xlink:type="extended" id="i0026ec46985a40b5a25774ef2bbf4003_InventoryScheduleofInventoryAllowanceDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipment" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalEquipmentPropertyandEquipment"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipment" xlink:type="extended" id="i8e8525626d7f4712a2ccd18c13cdd621_RentalEquipmentPropertyandEquipment"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalEquipmentPropertyandEquipmentTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentTables" xlink:type="extended" id="i8879eed5bc79488c9db110a821d2d5c3_RentalEquipmentPropertyandEquipmentTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentScheduleofRentalEquipmentPropertyandEquipmentDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalEquipmentPropertyandEquipmentScheduleofRentalEquipmentPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentScheduleofRentalEquipmentPropertyandEquipmentDetails" xlink:type="extended" id="i5e73045709014e6a842fda28810a3d80_RentalEquipmentPropertyandEquipmentScheduleofRentalEquipmentPropertyandEquipmentDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f130a2f7-0927-4a76-8ed6-52451ba5bdba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_f130a2f7-0927-4a76-8ed6-52451ba5bdba" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_dceb557a-1a75-425b-adcf-a6048899aa98" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_dceb557a-1a75-425b-adcf-a6048899aa98" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3a938f04-34e2-4f77-9d06-67eb66dca7b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_3a938f04-34e2-4f77-9d06-67eb66dca7b2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_b827b9fa-a46c-40cd-a785-f0d83c42ac1f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_b827b9fa-a46c-40cd-a785-f0d83c42ac1f" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_af96ff4d-b121-4bac-9324-c26a42ce4ed7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_6f1d3391-a136-41dc-ac5b-f69a43513057" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_af96ff4d-b121-4bac-9324-c26a42ce4ed7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_40a406d6-3c24-4691-a184-20e11742a1ba" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_af96ff4d-b121-4bac-9324-c26a42ce4ed7" xlink:to="loc_srt_RangeAxis_40a406d6-3c24-4691-a184-20e11742a1ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_40a406d6-3c24-4691-a184-20e11742a1ba_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_40a406d6-3c24-4691-a184-20e11742a1ba" xlink:to="loc_srt_RangeMember_40a406d6-3c24-4691-a184-20e11742a1ba_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_4e655d10-81a6-4cd3-b4c5-35b3e2d3cbba" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_40a406d6-3c24-4691-a184-20e11742a1ba" xlink:to="loc_srt_RangeMember_4e655d10-81a6-4cd3-b4c5-35b3e2d3cbba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_6bb5d989-b3a3-463e-8950-9e13615f2935" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_4e655d10-81a6-4cd3-b4c5-35b3e2d3cbba" xlink:to="loc_srt_MinimumMember_6bb5d989-b3a3-463e-8950-9e13615f2935" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_0b0bae72-f139-459e-a47c-8612ca08029b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_4e655d10-81a6-4cd3-b4c5-35b3e2d3cbba" xlink:to="loc_srt_MaximumMember_0b0bae72-f139-459e-a47c-8612ca08029b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassAxis_d666499a-8f82-4aa7-b943-272423589e8e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_af96ff4d-b121-4bac-9324-c26a42ce4ed7" xlink:to="loc_us-gaap_MajorPropertyClassAxis_d666499a-8f82-4aa7-b943-272423589e8e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_d666499a-8f82-4aa7-b943-272423589e8e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorPropertyClassAxis_d666499a-8f82-4aa7-b943-272423589e8e" xlink:to="loc_us-gaap_MajorPropertyClassDomain_d666499a-8f82-4aa7-b943-272423589e8e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_9ef016e4-4120-4d96-aaab-f49c25b957d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorPropertyClassAxis_d666499a-8f82-4aa7-b943-272423589e8e" xlink:to="loc_us-gaap_MajorPropertyClassDomain_9ef016e4-4120-4d96-aaab-f49c25b957d1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentLeasedToOtherPartyMember_23e647d9-7ff5-472f-8c64-9f78611886d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquipmentLeasedToOtherPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorPropertyClassDomain_9ef016e4-4120-4d96-aaab-f49c25b957d1" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_23e647d9-7ff5-472f-8c64-9f78611886d1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_974f7129-a78c-4386-93f9-27327cb5aa9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_af96ff4d-b121-4bac-9324-c26a42ce4ed7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_974f7129-a78c-4386-93f9-27327cb5aa9e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_974f7129-a78c-4386-93f9-27327cb5aa9e_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_974f7129-a78c-4386-93f9-27327cb5aa9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_974f7129-a78c-4386-93f9-27327cb5aa9e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_974f7129-a78c-4386-93f9-27327cb5aa9e" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalCompressorUnitMember_ea4e701f-dd59-4a57-a548-fe1db773dbe7" xlink:href="ngs-20201231.xsd#ngs_RentalCompressorUnitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_ngs_RentalCompressorUnitMember_ea4e701f-dd59-4a57-a548-fe1db773dbe7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalCompressorUnitWorkInProgressMember_20d97e19-53c8-410a-85bd-234354fdb3bf" xlink:href="ngs-20201231.xsd#ngs_RentalCompressorUnitWorkInProgressMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_ngs_RentalCompressorUnitWorkInProgressMember_20d97e19-53c8-410a-85bd-234354fdb3bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_3f0e91e4-fe63-4738-a8a1-e214ec1c2ae7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_LandMember_3f0e91e4-fe63-4738-a8a1-e214ec1c2ae7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_757f4c61-fe38-405f-890f-053bd8e5d283" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_BuildingMember_757f4c61-fe38-405f-890f-053bd8e5d283" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_03c382ef-bcb1-494c-8a9b-1ebc9103126b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_03c382ef-bcb1-494c-8a9b-1ebc9103126b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_OfficeEquipmentAndFurnitureMember_6e7832f1-92c4-4818-98f1-d8cc233b557f" xlink:href="ngs-20201231.xsd#ngs_OfficeEquipmentAndFurnitureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_ngs_OfficeEquipmentAndFurnitureMember_6e7832f1-92c4-4818-98f1-d8cc233b557f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_28c51829-2c1e-418e-b442-855581f74ee7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_28c51829-2c1e-418e-b442-855581f74ee7" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_5fdbbe6e-4580-406a-aee4-c1612c4591c2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_5fdbbe6e-4580-406a-aee4-c1612c4591c2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VehiclesMember_c94c075a-55f5-4789-92b8-8871fbdaa559" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VehiclesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_us-gaap_VehiclesMember_c94c075a-55f5-4789-92b8-8871fbdaa559" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember_18858fe5-6f6f-4948-b072-06083fc11199" xlink:href="ngs-20201231.xsd#ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_1674fa4e-2422-47a0-88a4-2b4d803c508a" xlink:to="loc_ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember_18858fe5-6f6f-4948-b072-06083fc11199" xlink:type="arc" order="9"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalEquipmentPropertyandEquipmentNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentNarrativeDetails" xlink:type="extended" id="i214814d47e3048538a30b5e27607a431_RentalEquipmentPropertyandEquipmentNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_ce592d84-699b-47d8-85c9-4b8302dbdf20" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_ce592d84-699b-47d8-85c9-4b8302dbdf20" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_05726e99-32d7-4151-a086-2d91d882ed14" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:to="loc_us-gaap_Depreciation_05726e99-32d7-4151-a086-2d91d882ed14" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_NumberOfUnitsRetired_2041217d-fd0a-4f89-9e53-53f61f57cd51" xlink:href="ngs-20201231.xsd#ngs_NumberOfUnitsRetired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:to="loc_ngs_NumberOfUnitsRetired_2041217d-fd0a-4f89-9e53-53f61f57cd51" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss_3a31f8cd-51c9-4ed4-9260-18581a023d10" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:to="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAmountOfImpairmentLoss_3a31f8cd-51c9-4ed4-9260-18581a023d10" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_d5d55b5b-bc09-47e2-a06f-1d1f27ea44e8" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d74eb10d-ba52-41c7-baac-7605f89e68fb" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:to="loc_srt_RangeAxis_d74eb10d-ba52-41c7-baac-7605f89e68fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d74eb10d-ba52-41c7-baac-7605f89e68fb_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d74eb10d-ba52-41c7-baac-7605f89e68fb" xlink:to="loc_srt_RangeMember_d74eb10d-ba52-41c7-baac-7605f89e68fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_7506ff9b-105e-4dac-af41-ec17b1d45260" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d74eb10d-ba52-41c7-baac-7605f89e68fb" xlink:to="loc_srt_RangeMember_7506ff9b-105e-4dac-af41-ec17b1d45260" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_8628ce47-ae71-433d-ab32-a4741370d51e" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7506ff9b-105e-4dac-af41-ec17b1d45260" xlink:to="loc_srt_MinimumMember_8628ce47-ae71-433d-ab32-a4741370d51e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2fa8d70d-999e-458e-8276-7f5d46258f6b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7506ff9b-105e-4dac-af41-ec17b1d45260" xlink:to="loc_srt_MaximumMember_2fa8d70d-999e-458e-8276-7f5d46258f6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassAxis_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:to="loc_us-gaap_MajorPropertyClassAxis_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorPropertyClassAxis_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0" xlink:to="loc_us-gaap_MajorPropertyClassDomain_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MajorPropertyClassDomain_5b1b4b35-5d1f-49f6-aeff-ad41ee0595da" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_MajorPropertyClassDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorPropertyClassAxis_aa3e2823-2b4c-4a3b-b877-2395d8f5cda0" xlink:to="loc_us-gaap_MajorPropertyClassDomain_5b1b4b35-5d1f-49f6-aeff-ad41ee0595da" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquipmentLeasedToOtherPartyMember_3295e175-c96a-4b9d-b82c-02c42b8d8f05" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EquipmentLeasedToOtherPartyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorPropertyClassDomain_5b1b4b35-5d1f-49f6-aeff-ad41ee0595da" xlink:to="loc_us-gaap_EquipmentLeasedToOtherPartyMember_3295e175-c96a-4b9d-b82c-02c42b8d8f05" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleByTypeAxis_36033ba4-2706-4d5d-8c04-1165092d8616" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:to="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleByTypeAxis_36033ba4-2706-4d5d-8c04-1165092d8616" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain_36033ba4-2706-4d5d-8c04-1165092d8616_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleByTypeAxis_36033ba4-2706-4d5d-8c04-1165092d8616" xlink:to="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain_36033ba4-2706-4d5d-8c04-1165092d8616_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain_354f73c9-519a-4133-b695-dfee8ebedff0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleByTypeAxis_36033ba4-2706-4d5d-8c04-1165092d8616" xlink:to="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain_354f73c9-519a-4133-b695-dfee8ebedff0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalCompressorUnitMember_44cf49ff-b37b-4cfa-86e4-2b391358cb59" xlink:href="ngs-20201231.xsd#ngs_RentalCompressorUnitMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ImpairedAssetsToBeDisposedOfByMethodOtherThanSaleAssetNameDomain_354f73c9-519a-4133-b695-dfee8ebedff0" xlink:to="loc_ngs_RentalCompressorUnitMember_44cf49ff-b37b-4cfa-86e4-2b391358cb59" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918cd547-11ac-4b0c-8533-fea6d0db7342" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918cd547-11ac-4b0c-8533-fea6d0db7342" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_918cd547-11ac-4b0c-8533-fea6d0db7342_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918cd547-11ac-4b0c-8533-fea6d0db7342" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_918cd547-11ac-4b0c-8533-fea6d0db7342_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_12555b4d-4944-47c4-8d64-d1b03bc089fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_918cd547-11ac-4b0c-8533-fea6d0db7342" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_12555b4d-4944-47c4-8d64-d1b03bc089fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember_211c9d5e-edee-4336-a2b6-09a97842a7a5" xlink:href="ngs-20201231.xsd#ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_12555b4d-4944-47c4-8d64-d1b03bc089fb" xlink:to="loc_ngs_PropertyPlantandEquipmentExcludingRentalEquipmentMember_211c9d5e-edee-4336-a2b6-09a97842a7a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_c624da3c-3c56-4dd5-8913-2921be2f991a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_393bfd86-600a-4fec-ba78-bfd9acccf5bc" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_c624da3c-3c56-4dd5-8913-2921be2f991a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_c624da3c-3c56-4dd5-8913-2921be2f991a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_c624da3c-3c56-4dd5-8913-2921be2f991a" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_c624da3c-3c56-4dd5-8913-2921be2f991a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_8a8cf8f3-3c74-442e-bc10-bac3e78c49e1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_c624da3c-3c56-4dd5-8913-2921be2f991a" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_8a8cf8f3-3c74-442e-bc10-bac3e78c49e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LossOnRetirementOfRentalEquipmentMember_17678047-1cb7-46c6-aa68-839ca72d3ae1" xlink:href="ngs-20201231.xsd#ngs_LossOnRetirementOfRentalEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_8a8cf8f3-3c74-442e-bc10-bac3e78c49e1" xlink:to="loc_ngs_LossOnRetirementOfRentalEquipmentMember_17678047-1cb7-46c6-aa68-839ca72d3ae1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentDepreciationExpensebyProductLineDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalEquipmentPropertyandEquipmentDepreciationExpensebyProductLineDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalEquipmentPropertyandEquipmentDepreciationExpensebyProductLineDetails" xlink:type="extended" id="i98e0e15ffb5e41f18130badce3857208_RentalEquipmentPropertyandEquipmentDepreciationExpensebyProductLineDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e05ff4c4-f2f7-4e27-a2e7-d567b035360c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_12d57611-75ec-434b-ba14-450d6b18753a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Depreciation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e05ff4c4-f2f7-4e27-a2e7-d567b035360c" xlink:to="loc_us-gaap_Depreciation_12d57611-75ec-434b-ba14-450d6b18753a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9a73d010-0d4b-4b5f-a23c-455c60b85701" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_e05ff4c4-f2f7-4e27-a2e7-d567b035360c" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9a73d010-0d4b-4b5f-a23c-455c60b85701" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_2774ba8b-db2c-473a-a8d5-d60005c98763" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9a73d010-0d4b-4b5f-a23c-455c60b85701" xlink:to="loc_srt_ProductOrServiceAxis_2774ba8b-db2c-473a-a8d5-d60005c98763" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_2774ba8b-db2c-473a-a8d5-d60005c98763_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_2774ba8b-db2c-473a-a8d5-d60005c98763" xlink:to="loc_srt_ProductsAndServicesDomain_2774ba8b-db2c-473a-a8d5-d60005c98763_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_5bd984c7-f017-4c89-89e9-7b6503fd361b" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_2774ba8b-db2c-473a-a8d5-d60005c98763" xlink:to="loc_srt_ProductsAndServicesDomain_5bd984c7-f017-4c89-89e9-7b6503fd361b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RentalMember_a34df806-70d0-4a0b-b349-a0935dae9db2" xlink:href="ngs-20201231.xsd#ngs_RentalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5bd984c7-f017-4c89-89e9-7b6503fd361b" xlink:to="loc_ngs_RentalMember_a34df806-70d0-4a0b-b349-a0935dae9db2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_SalesServiceLineMember_3cdbe568-1193-423d-b20d-1ef7c48c0f97" xlink:href="ngs-20201231.xsd#ngs_SalesServiceLineMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5bd984c7-f017-4c89-89e9-7b6503fd361b" xlink:to="loc_ngs_SalesServiceLineMember_3cdbe568-1193-423d-b20d-1ef7c48c0f97" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ServiceandMaintenanceMember_5c7471c8-a3f4-494e-a49a-698387438937" xlink:href="ngs-20201231.xsd#ngs_ServiceandMaintenanceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_5bd984c7-f017-4c89-89e9-7b6503fd361b" xlink:to="loc_ngs_ServiceandMaintenanceMember_5c7471c8-a3f4-494e-a49a-698387438937" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_9005c76a-b8f4-41d8-b9d1-0b825974e5d9" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_9a73d010-0d4b-4b5f-a23c-455c60b85701" xlink:to="loc_srt_ConsolidationItemsAxis_9005c76a-b8f4-41d8-b9d1-0b825974e5d9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_9005c76a-b8f4-41d8-b9d1-0b825974e5d9_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_9005c76a-b8f4-41d8-b9d1-0b825974e5d9" xlink:to="loc_srt_ConsolidationItemsDomain_9005c76a-b8f4-41d8-b9d1-0b825974e5d9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_1363853d-f043-4bd3-86bd-0c28124fdb90" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_9005c76a-b8f4-41d8-b9d1-0b825974e5d9" xlink:to="loc_srt_ConsolidationItemsDomain_1363853d-f043-4bd3-86bd-0c28124fdb90" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_8b1cd87e-b121-4e70-a9f7-48e47bc1189b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1363853d-f043-4bd3-86bd-0c28124fdb90" xlink:to="loc_us-gaap_OperatingSegmentsMember_8b1cd87e-b121-4e70-a9f7-48e47bc1189b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateNonSegmentMember_cb53a1ba-2fb6-4408-8ec3-603c7cc48f23" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateNonSegmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_1363853d-f043-4bd3-86bd-0c28124fdb90" xlink:to="loc_us-gaap_CorporateNonSegmentMember_cb53a1ba-2fb6-4408-8ec3-603c7cc48f23" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalActivity" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalActivity"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalActivity" xlink:type="extended" id="i30d9131a35884931809035c63c835cce_RentalActivity"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalActivityTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalActivityTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalActivityTables" xlink:type="extended" id="ia5bac56d26814c5fb4cb098507a706b2_RentalActivityTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RentalActivityDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#RentalActivityDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RentalActivityDetails" xlink:type="extended" id="icc5d2d00e48f4b93bfa432db83935a68_RentalActivityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_c18ea55d-a4bf-4344-a674-e3da73148a3e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeaseTermOfContract_9cca7b65-2748-48ea-b6ce-44058c270318" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeaseTermOfContract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_c18ea55d-a4bf-4344-a674-e3da73148a3e" xlink:to="loc_us-gaap_LessorOperatingLeaseTermOfContract_9cca7b65-2748-48ea-b6ce-44058c270318" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_c18ea55d-a4bf-4344-a674-e3da73148a3e" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_afcb9fcd-0dde-4103-a021-8f7f42863eb6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedNextTwelveMonths_afcb9fcd-0dde-4103-a021-8f7f42863eb6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_8adc41d2-1d46-4a61-b285-11ade193e6a1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedTwoYears_8adc41d2-1d46-4a61-b285-11ade193e6a1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_b3a983c4-41a9-447c-bc9a-a5d4bd052374" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThreeYears_b3a983c4-41a9-447c-bc9a-a5d4bd052374" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_a73f17af-ebde-4672-ae51-f00ddce22a9f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFourYears_a73f17af-ebde-4672-ae51-f00ddce22a9f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_e02c1cbb-04a8-4334-a9f5-94123d1ffe37" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedFiveYears_e02c1cbb-04a8-4334-a9f5-94123d1ffe37" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_6f200b59-fba8-47db-a661-c21c241863f8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceivedThereafter_6f200b59-fba8-47db-a661-c21c241863f8" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_b64fba51-9132-4b40-b26b-1639d6b72bce" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LessorOperatingLeasePaymentsToBeReceived"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsReceivableAbstract_7bb5172e-6544-4d22-9e07-4c7893a84b99" xlink:to="loc_us-gaap_LessorOperatingLeasePaymentsToBeReceived_b64fba51-9132-4b40-b26b-1639d6b72bce" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_94785e06-6a9b-441f-b7db-6bf5bdec4492" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseLineItems_c18ea55d-a4bf-4344-a674-e3da73148a3e" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_94785e06-6a9b-441f-b7db-6bf5bdec4492" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_40f24612-abd5-4d08-b171-43b77a282317" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseByMajorPropertyClassTable_94785e06-6a9b-441f-b7db-6bf5bdec4492" xlink:to="loc_srt_RangeAxis_40f24612-abd5-4d08-b171-43b77a282317" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_40f24612-abd5-4d08-b171-43b77a282317_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_40f24612-abd5-4d08-b171-43b77a282317" xlink:to="loc_srt_RangeMember_40f24612-abd5-4d08-b171-43b77a282317_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_c48d86ba-f7a5-4af2-98c2-f315e8eb40ba" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_40f24612-abd5-4d08-b171-43b77a282317" xlink:to="loc_srt_RangeMember_c48d86ba-f7a5-4af2-98c2-f315e8eb40ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d88faa3d-2c74-450f-ab1f-0b32da4fe73f" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c48d86ba-f7a5-4af2-98c2-f315e8eb40ba" xlink:to="loc_srt_MinimumMember_d88faa3d-2c74-450f-ab1f-0b32da4fe73f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_33bcab4c-b94d-4704-8f03-335c8b866db7" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_c48d86ba-f7a5-4af2-98c2-f315e8eb40ba" xlink:to="loc_srt_MaximumMember_33bcab4c-b94d-4704-8f03-335c8b866db7" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/Leases" xlink:type="simple" xlink:href="ngs-20201231.xsd#Leases"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/Leases" xlink:type="extended" id="i9a216a902e1b4233914cc9a72639ddbc_Leases"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LeasesTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#LeasesTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LeasesTables" xlink:type="extended" id="i0685020b40894d02bed9a98346bbfbfd_LeasesTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LeasesNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#LeasesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LeasesNarrativeDetails" xlink:type="extended" id="ic7c885be1a854d7fa3bb6e60eeb1b27d_LeasesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_1b55cbea-5abe-4a69-94f8-01c0c3781981" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseRemainingLeaseTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:to="loc_us-gaap_LesseeOperatingLeaseRemainingLeaseTerm_1b55cbea-5abe-4a69-94f8-01c0c3781981" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_63fba355-4139-4129-b0bd-f8188f966086" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_63fba355-4139-4129-b0bd-f8188f966086" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_2448d544-b7d1-4ca4-b15b-23a3b1fc5eff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:to="loc_us-gaap_OperatingLeaseLiability_2448d544-b7d1-4ca4-b15b-23a3b1fc5eff" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_d6027932-6562-44b2-8d9f-2d8034e54f51" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:to="loc_us-gaap_OperatingLeaseCost_d6027932-6562-44b2-8d9f-2d8034e54f51" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_4de6a20e-ffde-404d-a818-fa4d25b6f5ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_5f898f0b-30c0-4a55-b227-9b392d4e601c" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_4de6a20e-ffde-404d-a818-fa4d25b6f5ba" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_fe8f3714-21cc-42f1-934f-1f41ed83e01c" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_4de6a20e-ffde-404d-a818-fa4d25b6f5ba" xlink:to="loc_srt_RangeAxis_fe8f3714-21cc-42f1-934f-1f41ed83e01c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_fe8f3714-21cc-42f1-934f-1f41ed83e01c_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_fe8f3714-21cc-42f1-934f-1f41ed83e01c" xlink:to="loc_srt_RangeMember_fe8f3714-21cc-42f1-934f-1f41ed83e01c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d0421c7d-0f4d-48a7-acff-d62492e1471a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_fe8f3714-21cc-42f1-934f-1f41ed83e01c" xlink:to="loc_srt_RangeMember_d0421c7d-0f4d-48a7-acff-d62492e1471a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_b6a4f456-299b-4a50-8fa0-570e0b72cda7" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d0421c7d-0f4d-48a7-acff-d62492e1471a" xlink:to="loc_srt_MinimumMember_b6a4f456-299b-4a50-8fa0-570e0b72cda7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2c56da49-7dcb-4960-bf68-a0a31c16e2de" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_d0421c7d-0f4d-48a7-acff-d62492e1471a" xlink:to="loc_srt_MaximumMember_2c56da49-7dcb-4960-bf68-a0a31c16e2de" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a0bc5896-045f-4814-8e7c-52d26fedb555" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_4de6a20e-ffde-404d-a818-fa4d25b6f5ba" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a0bc5896-045f-4814-8e7c-52d26fedb555" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_a0bc5896-045f-4814-8e7c-52d26fedb555_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a0bc5896-045f-4814-8e7c-52d26fedb555" xlink:to="loc_us-gaap_TypeOfAdoptionMember_a0bc5896-045f-4814-8e7c-52d26fedb555_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TypeOfAdoptionMember_19b452a1-d684-451b-afaa-75433d21261f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TypeOfAdoptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_a0bc5896-045f-4814-8e7c-52d26fedb555" xlink:to="loc_us-gaap_TypeOfAdoptionMember_19b452a1-d684-451b-afaa-75433d21261f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_407e2e49-d9ba-44c5-b61c-ccba31c4d864" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_19b452a1-d684-451b-afaa-75433d21261f" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_407e2e49-d9ba-44c5-b61c-ccba31c4d864" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LeasesBalanceSheetImpactDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#LeasesBalanceSheetImpactDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LeasesBalanceSheetImpactDetails" xlink:type="extended" id="id8c6d08d3bce4b6296ee65613081f9f3_LeasesBalanceSheetImpactDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LeasesCashFlowImpactDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#LeasesCashFlowImpactDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LeasesCashFlowImpactDetails" xlink:type="extended" id="iffb364efeb9a4f36a2d7dfc873c96579_LeasesCashFlowImpactDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LeasesFutureMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#LeasesFutureMaturitiesofLeaseLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LeasesFutureMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended" id="i493d2e1ca94f4526b76bc3456b446fca_LeasesFutureMaturitiesofLeaseLiabilitiesDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/Goodwill" xlink:type="simple" xlink:href="ngs-20201231.xsd#Goodwill"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/Goodwill" xlink:type="extended" id="i92fb66e2a9f144279892fc1e06e4a0a9_Goodwill"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/GoodwillDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#GoodwillDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/GoodwillDetails" xlink:type="extended" id="ib2bcf6c9b8f140cda659c3113ddaa9eb_GoodwillDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/Intangibles" xlink:type="simple" xlink:href="ngs-20201231.xsd#Intangibles"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/Intangibles" xlink:type="extended" id="i20a8e75108cc4686b0b41fb2c113afeb_Intangibles"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IntangiblesTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#IntangiblesTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IntangiblesTables" xlink:type="extended" id="ic4273058bd2a4602827fb85a58a9130b_IntangiblesTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IntangiblesDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#IntangiblesDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IntangiblesDetails" xlink:type="extended" id="ic5da19251e2b495d9d3cd7d2d29e9e01_IntangiblesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:href="ngs-20201231.xsd#ngs_IntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_96b0f78e-f537-45ae-9cf9-3dd7569b58be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_96b0f78e-f537-45ae-9cf9-3dd7569b58be" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_874b9329-b14e-4d53-af46-b23bbaf028d4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_874b9329-b14e-4d53-af46-b23bbaf028d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7516eedb-17bc-4feb-848e-2fc1f531a0f9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7516eedb-17bc-4feb-848e-2fc1f531a0f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_d737ccb8-3858-47fb-86b5-d6e296b4b458" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_d737ccb8-3858-47fb-86b5-d6e296b4b458" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_81a00db4-1ad4-4b07-a718-15089576c3d1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_81a00db4-1ad4-4b07-a718-15089576c3d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_09bc27f6-119f-4877-b9dd-b4002e20a011" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsFutureAmortizationExpenseAbstract_4e52a5e1-3e6b-4b08-b8f3-dce06b9f24b2" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_09bc27f6-119f-4877-b9dd-b4002e20a011" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5d72f178-96c2-4411-ba4a-86874207c99c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_5d72f178-96c2-4411-ba4a-86874207c99c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d6e72e00-a036-4edf-ad11-0027fde5ee0d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_d6e72e00-a036-4edf-ad11-0027fde5ee0d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_27c71856-6d10-40ea-8c83-b9607230f687" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_27c71856-6d10-40ea-8c83-b9607230f687" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_52e6b9ef-a518-4d3d-8bd2-255c114ee609" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_c8796cd0-621f-40ff-a3f4-c733209a3b33" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_52e6b9ef-a518-4d3d-8bd2-255c114ee609" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_72802df2-2d18-4a71-9964-e339b07dcc33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill_72802df2-2d18-4a71-9964-e339b07dcc33" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_IntangibleAssetsTable_b73a82c0-fdb6-4bf5-b644-cb7477a369e8" xlink:href="ngs-20201231.xsd#ngs_IntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_ngs_IntangibleAssetsLineItems_08132875-b169-4eb5-9dd4-53c14c65c59a" xlink:to="loc_ngs_IntangibleAssetsTable_b73a82c0-fdb6-4bf5-b644-cb7477a369e8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_067983a6-0c11-4b94-aee3-52a0fd2fbfa7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ngs_IntangibleAssetsTable_b73a82c0-fdb6-4bf5-b644-cb7477a369e8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_067983a6-0c11-4b94-aee3-52a0fd2fbfa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_067983a6-0c11-4b94-aee3-52a0fd2fbfa7_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_067983a6-0c11-4b94-aee3-52a0fd2fbfa7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_067983a6-0c11-4b94-aee3-52a0fd2fbfa7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0b46a1cc-479f-46e0-bd13-0d8212cd8fe0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_067983a6-0c11-4b94-aee3-52a0fd2fbfa7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0b46a1cc-479f-46e0-bd13-0d8212cd8fe0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_cd86736b-ad13-4dbe-b2b6-3310521a44ff" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0b46a1cc-479f-46e0-bd13-0d8212cd8fe0" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_cd86736b-ad13-4dbe-b2b6-3310521a44ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_8eadfa0c-a0ff-415d-a89a-bacf250acd81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_ngs_IntangibleAssetsTable_b73a82c0-fdb6-4bf5-b644-cb7477a369e8" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_8eadfa0c-a0ff-415d-a89a-bacf250acd81" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_8eadfa0c-a0ff-415d-a89a-bacf250acd81_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_8eadfa0c-a0ff-415d-a89a-bacf250acd81" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_8eadfa0c-a0ff-415d-a89a-bacf250acd81_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_0b64b645-a365-4f74-9bfb-2b49ded68440" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_8eadfa0c-a0ff-415d-a89a-bacf250acd81" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_0b64b645-a365-4f74-9bfb-2b49ded68440" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeNamesMember_9e156ce7-c857-4f67-9de8-4eefe6d7fc1c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TradeNamesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_0b64b645-a365-4f74-9bfb-2b49ded68440" xlink:to="loc_us-gaap_TradeNamesMember_9e156ce7-c857-4f67-9de8-4eefe6d7fc1c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CreditFacility" xlink:type="simple" xlink:href="ngs-20201231.xsd#CreditFacility"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CreditFacility" xlink:type="extended" id="ie22a829ad6f64fbcaad629ab7f39f7ac_CreditFacility"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CreditFacilityDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#CreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CreditFacilityDetails" xlink:type="extended" id="i34cf425d65c0476a8f866f4998ed6990_CreditFacilityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f88615c7-1a5b-487e-9f9d-7d15d074dff2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_f88615c7-1a5b-487e-9f9d-7d15d074dff2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityPotentialIncreaseInBorrowingCapacity_e840dafd-d19e-4d1a-ac02-d29c3403d0c3" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityPotentialIncreaseInBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityPotentialIncreaseInBorrowingCapacity_e840dafd-d19e-4d1a-ac02-d29c3403d0c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityPotentialMaximumBorrowingCapacity_30b1b5d5-eaff-48a1-9579-6ef084933fce" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityPotentialMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityPotentialMaximumBorrowingCapacity_30b1b5d5-eaff-48a1-9579-6ef084933fce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleAccountsReceivable_5a5095c8-2439-4e62-a61a-519f11727753" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleAccountsReceivable_5a5095c8-2439-4e62-a61a-519f11727753" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleGeneralInventory_f80e0920-a863-498a-9d8d-72be72594fb7" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleGeneralInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleGeneralInventory_f80e0920-a863-498a-9d8d-72be72594fb7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityAllowableShareOfTotalCommitmentAmountAttributableToGeneralInventoryComponent_62c341c9-fa0a-4fc8-808a-edcb3d1b1868" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityCurrentBorrowingCapacityAllowableShareOfTotalCommitmentAmountAttributableToGeneralInventoryComponent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityAllowableShareOfTotalCommitmentAmountAttributableToGeneralInventoryComponent_62c341c9-fa0a-4fc8-808a-edcb3d1b1868" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleEquipmentInventory_d205f788-065f-490f-9c5e-66a0b6e3d633" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleEquipmentInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityCurrentBorrowingCapacityComponentPercentageOfEligibleEquipmentInventory_d205f788-065f-490f-9c5e-66a0b6e3d633" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_a4238699-30b8-4c9e-8fcc-ac731e19bc94" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_a4238699-30b8-4c9e-8fcc-ac731e19bc94" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityReferenceRateNumberOfAllowableBorrowingsOutstanding_19b9f021-9e12-4193-87f5-5b6684dbf687" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityReferenceRateNumberOfAllowableBorrowingsOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityReferenceRateNumberOfAllowableBorrowingsOutstanding_19b9f021-9e12-4193-87f5-5b6684dbf687" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_ab43a983-6268-4521-8a21-f8c93a178c53" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_ab43a983-6268-4521-8a21-f8c93a178c53" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityCommitmentCoverageRatio_828c8a73-5519-4f0e-9501-ed8dfff649c6" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityCommitmentCoverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityCommitmentCoverageRatio_828c8a73-5519-4f0e-9501-ed8dfff649c6" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityLeverageRatio_9248a452-d44f-4b0e-8947-3f6a7a8a0a2a" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityLeverageRatio"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityLeverageRatio_9248a452-d44f-4b0e-8947-3f6a7a8a0a2a" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityDefaultTriggerCertainDefaultsOfOtherCompanyIndebtednessAmount_e8d995a7-e213-439f-8ada-7c27d1ab0f73" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityDefaultTriggerCertainDefaultsOfOtherCompanyIndebtednessAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityDefaultTriggerCertainDefaultsOfOtherCompanyIndebtednessAmount_e8d995a7-e213-439f-8ada-7c27d1ab0f73" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_LineOfCreditFacilityDefaultTriggerRenderingOfCertainJudgmentsAmount_6cedcf46-8dc4-4486-b9ad-d1dc09dd35ad" xlink:href="ngs-20201231.xsd#ngs_LineOfCreditFacilityDefaultTriggerRenderingOfCertainJudgmentsAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_ngs_LineOfCreditFacilityDefaultTriggerRenderingOfCertainJudgmentsAmount_6cedcf46-8dc4-4486-b9ad-d1dc09dd35ad" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditCurrent_67c94989-9245-41cc-b926-fd72a7e2b6cf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LinesOfCreditCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_LinesOfCreditCurrent_67c94989-9245-41cc-b926-fd72a7e2b6cf" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3c131d74-0bf2-4b19-975c-0f46185e2a7d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateDuringPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDuringPeriod_3c131d74-0bf2-4b19-975c-0f46185e2a7d" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_1a4f0be4-468c-411d-9051-b959232b3ccd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_ae4a8beb-6d26-4792-aaff-87834d63f3d5" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_1a4f0be4-468c-411d-9051-b959232b3ccd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_509d6648-1002-44e7-93e7-1cc8f656514d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1a4f0be4-468c-411d-9051-b959232b3ccd" xlink:to="loc_us-gaap_CreditFacilityAxis_509d6648-1002-44e7-93e7-1cc8f656514d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_509d6648-1002-44e7-93e7-1cc8f656514d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_509d6648-1002-44e7-93e7-1cc8f656514d" xlink:to="loc_us-gaap_CreditFacilityDomain_509d6648-1002-44e7-93e7-1cc8f656514d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_3da19a95-138d-4b0e-b878-1d9518327639" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_509d6648-1002-44e7-93e7-1cc8f656514d" xlink:to="loc_us-gaap_CreditFacilityDomain_3da19a95-138d-4b0e-b878-1d9518327639" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_ce3b187d-b272-449f-aeb0-19fc889a57ea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_3da19a95-138d-4b0e-b878-1d9518327639" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_ce3b187d-b272-449f-aeb0-19fc889a57ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1a4f0be4-468c-411d-9051-b959232b3ccd" xlink:to="loc_us-gaap_VariableRateAxis_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60" xlink:to="loc_us-gaap_VariableRateDomain_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_7ae5b4aa-6ccd-408e-9e9d-3bccac88ff18" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_4ddd6f74-8cd9-4392-8c4a-a8c6b3f54c60" xlink:to="loc_us-gaap_VariableRateDomain_7ae5b4aa-6ccd-408e-9e9d-3bccac88ff18" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_8921138a-eb0e-4614-a994-140e64f71ba7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_7ae5b4aa-6ccd-408e-9e9d-3bccac88ff18" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_8921138a-eb0e-4614-a994-140e64f71ba7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_CbFloatingRateMember_195b059c-cfb0-4584-ac73-4b14da5548ed" xlink:href="ngs-20201231.xsd#ngs_CbFloatingRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_7ae5b4aa-6ccd-408e-9e9d-3bccac88ff18" xlink:to="loc_ngs_CbFloatingRateMember_195b059c-cfb0-4584-ac73-4b14da5548ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_d2f78139-dc4b-4370-ab4c-7482a74e86e3" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_1a4f0be4-468c-411d-9051-b959232b3ccd" xlink:to="loc_srt_RangeAxis_d2f78139-dc4b-4370-ab4c-7482a74e86e3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_d2f78139-dc4b-4370-ab4c-7482a74e86e3_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_d2f78139-dc4b-4370-ab4c-7482a74e86e3" xlink:to="loc_srt_RangeMember_d2f78139-dc4b-4370-ab4c-7482a74e86e3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_ada7af53-0b98-4f62-860f-5edcf835ba39" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_d2f78139-dc4b-4370-ab4c-7482a74e86e3" xlink:to="loc_srt_RangeMember_ada7af53-0b98-4f62-860f-5edcf835ba39" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_0eab3fe4-8e8f-47a1-9fec-8595f620654a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ada7af53-0b98-4f62-860f-5edcf835ba39" xlink:to="loc_srt_MinimumMember_0eab3fe4-8e8f-47a1-9fec-8595f620654a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_2139915a-3473-4f65-aade-988b7f71a540" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_ada7af53-0b98-4f62-860f-5edcf835ba39" xlink:to="loc_srt_MaximumMember_2139915a-3473-4f65-aade-988b7f71a540" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CARESActLoan" xlink:type="simple" xlink:href="ngs-20201231.xsd#CARESActLoan"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CARESActLoan" xlink:type="extended" id="ib796c0e1fbf54391a9a5ec78e76a6142_CARESActLoan"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CARESActLoanDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#CARESActLoanDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CARESActLoanDetails" xlink:type="extended" id="i63acb4d4b6b8466b84f4e7e7a3bea8a3_CARESActLoanDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ea691b07-9d36-450c-bd05-2d01f71fbe6a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_798cec76-e3c3-4185-83c1-c9e3d6276a92" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ea691b07-9d36-450c-bd05-2d01f71fbe6a" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_798cec76-e3c3-4185-83c1-c9e3d6276a92" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_de9a03d0-b7b2-419b-b825-c76a896f0e50" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ea691b07-9d36-450c-bd05-2d01f71fbe6a" xlink:to="loc_us-gaap_DebtInstrumentTable_de9a03d0-b7b2-419b-b825-c76a896f0e50" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_de9a03d0-b7b2-419b-b825-c76a896f0e50" xlink:to="loc_us-gaap_DebtInstrumentAxis_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_7e953b2e-2ee5-403c-9149-9736c0bbef8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_5316b8f2-ea6c-40a9-a089-d15a6bbe0f3a" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_7e953b2e-2ee5-403c-9149-9736c0bbef8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_PaycheckProtectionProgramLoanMember_22b38d9c-1a94-4236-be20-14dcf8287392" xlink:href="ngs-20201231.xsd#ngs_PaycheckProtectionProgramLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_7e953b2e-2ee5-403c-9149-9736c0bbef8d" xlink:to="loc_ngs_PaycheckProtectionProgramLoanMember_22b38d9c-1a94-4236-be20-14dcf8287392" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_ebbda962-de71-4d7f-a2da-af91b04354d8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_de9a03d0-b7b2-419b-b825-c76a896f0e50" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_ebbda962-de71-4d7f-a2da-af91b04354d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_ebbda962-de71-4d7f-a2da-af91b04354d8_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ebbda962-de71-4d7f-a2da-af91b04354d8" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_ebbda962-de71-4d7f-a2da-af91b04354d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_c4896f37-a151-4676-8d6d-4737c71105fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_ebbda962-de71-4d7f-a2da-af91b04354d8" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_c4896f37-a151-4676-8d6d-4737c71105fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnsecuredDebtMember_42bca736-f172-4df3-bbc2-e9c04d55228b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_UnsecuredDebtMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_c4896f37-a151-4676-8d6d-4737c71105fa" xlink:to="loc_us-gaap_UnsecuredDebtMember_42bca736-f172-4df3-bbc2-e9c04d55228b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxes" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxes"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxes" xlink:type="extended" id="i47545c752b2f44e9a4e10a2f2d91e5fb_IncomeTaxes"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxesTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxesTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxesTables" xlink:type="extended" id="i3a98f8beaa2a45b38bb8218b3a0227cd_IncomeTaxesTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxesComponentsofProvisionforIncomeTaxesDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxesComponentsofProvisionforIncomeTaxesDetails" xlink:type="extended" id="icfde3d6d873c40d88132cb668f3bfff8_IncomeTaxesComponentsofProvisionforIncomeTaxesDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxesIncomeTaxReconciliationDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxesIncomeTaxReconciliationDetails" xlink:type="extended" id="i16659b01e5d04017ba964725d0d1a624_IncomeTaxesIncomeTaxReconciliationDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" id="i9c0e122e3d2b4708975de71cbf5b7b42_IncomeTaxesNarrativeDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended" id="i0476d2551ee643a592a97effc6f6d3b8_IncomeTaxesComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/DeferredCompensationPlans" xlink:type="simple" xlink:href="ngs-20201231.xsd#DeferredCompensationPlans"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/DeferredCompensationPlans" xlink:type="extended" id="iec9dc07cc71746bcb3802bfb422c3bc3_DeferredCompensationPlans"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/DeferredCompensationPlansDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#DeferredCompensationPlansDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/DeferredCompensationPlansDetails" xlink:type="extended" id="id9b100fd3e36480ab5888276166728a2_DeferredCompensationPlansDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockholdersEquity" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockholdersEquity"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockholdersEquity" xlink:type="extended" id="i96532f88d9ac4398afc9c0f91acac2de_StockholdersEquity"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockholdersEquityDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockholdersEquityDetails" xlink:type="extended" id="i3a5f7087936644438501c0472d6bb282_StockholdersEquityDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensation" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensation"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensation" xlink:type="extended" id="i776dbfd41d8341f2bed37e709f641fdc_StockBasedandOtherLongTermIncentiveCompensation"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationTables" xlink:type="extended" id="i86feb8123c6f43ab9784a61131338cd1_StockBasedandOtherLongTermIncentiveCompensationTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationRestrictedStockNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationRestrictedStockNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationRestrictedStockNarrativeDetails" xlink:type="extended" id="i0afb76dbd8664b1485b238f867695c7f_StockBasedandOtherLongTermIncentiveCompensationRestrictedStockNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_c0a73c7b-5a34-42b9-89f4-2d651137cba3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfAdditionalSharesAuthorized_c0a73c7b-5a34-42b9-89f4-2d651137cba3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_f1d5d64c-0e58-4ba2-8e47-a04689d67a33" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_f1d5d64c-0e58-4ba2-8e47-a04689d67a33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_22e29407-2be0-4ff2-a0c8-5be9393314e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_22e29407-2be0-4ff2-a0c8-5be9393314e7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_f85fafd1-b8b2-451c-889f-10fbf05aa5fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_f85fafd1-b8b2-451c-889f-10fbf05aa5fd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8462a5dc-630f-442c-8e2b-03c1553377d5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_8462a5dc-630f-442c-8e2b-03c1553377d5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_NumberOfIndependentDirectors_2fc7465c-7727-4c87-8556-3796e9cc640b" xlink:href="ngs-20201231.xsd#ngs_NumberOfIndependentDirectors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_ngs_NumberOfIndependentDirectors_2fc7465c-7727-4c87-8556-3796e9cc640b" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_40538ec7-bc65-434f-b1ca-70d66f58c015" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_40538ec7-bc65-434f-b1ca-70d66f58c015" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_ec9d5c97-8cb1-40a6-9828-7569e12d7084" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_ec9d5c97-8cb1-40a6-9828-7569e12d7084" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_8d4bc8cf-2a9f-4878-a133-fbf54ab6d316" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_8d4bc8cf-2a9f-4878-a133-fbf54ab6d316" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfRemainingSharesAuthorized_88dc1765-5977-4f0a-a474-b2db84b417c8" xlink:href="ngs-20201231.xsd#ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfRemainingSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfRemainingSharesAuthorized_88dc1765-5977-4f0a-a474-b2db84b417c8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_536b3c8c-486d-4a09-8fdf-151d90caa98f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_f6ed15c3-d4d2-4849-aa66-56c42a6732bd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:to="loc_us-gaap_PlanNameAxis_f6ed15c3-d4d2-4849-aa66-56c42a6732bd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_f6ed15c3-d4d2-4849-aa66-56c42a6732bd_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_f6ed15c3-d4d2-4849-aa66-56c42a6732bd" xlink:to="loc_us-gaap_PlanNameDomain_f6ed15c3-d4d2-4849-aa66-56c42a6732bd_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_379f1fa5-477e-4dc1-a0f1-84d032d2de74" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_f6ed15c3-d4d2-4849-aa66-56c42a6732bd" xlink:to="loc_us-gaap_PlanNameDomain_379f1fa5-477e-4dc1-a0f1-84d032d2de74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_TwoThousandNineRestrictedStockUnitsPlanMember_3c285e78-464c-44d2-ba35-2b5d2b2c4e52" xlink:href="ngs-20201231.xsd#ngs_TwoThousandNineRestrictedStockUnitsPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_379f1fa5-477e-4dc1-a0f1-84d032d2de74" xlink:to="loc_ngs_TwoThousandNineRestrictedStockUnitsPlanMember_3c285e78-464c-44d2-ba35-2b5d2b2c4e52" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_EquityIncentivePlanMember_ac3ee843-b0c9-4446-ac1f-1140583cb5cb" xlink:href="ngs-20201231.xsd#ngs_EquityIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_379f1fa5-477e-4dc1-a0f1-84d032d2de74" xlink:to="loc_ngs_EquityIncentivePlanMember_ac3ee843-b0c9-4446-ac1f-1140583cb5cb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_a6d6565d-b63f-4cdd-a82a-87766197991d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:to="loc_us-gaap_AwardTypeAxis_a6d6565d-b63f-4cdd-a82a-87766197991d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a6d6565d-b63f-4cdd-a82a-87766197991d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_a6d6565d-b63f-4cdd-a82a-87766197991d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a6d6565d-b63f-4cdd-a82a-87766197991d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47a11e38-e13a-428b-9c93-e67baf4f8dee" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_a6d6565d-b63f-4cdd-a82a-87766197991d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47a11e38-e13a-428b-9c93-e67baf4f8dee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_9bf6ad80-c434-42e4-897e-67e6c04907ae" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_47a11e38-e13a-428b-9c93-e67baf4f8dee" xlink:to="loc_us-gaap_RestrictedStockMember_9bf6ad80-c434-42e4-897e-67e6c04907ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_c836f61a-709f-4827-977f-1175fc30545e" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:to="loc_srt_TitleOfIndividualAxis_c836f61a-709f-4827-977f-1175fc30545e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_c836f61a-709f-4827-977f-1175fc30545e_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_c836f61a-709f-4827-977f-1175fc30545e" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_c836f61a-709f-4827-977f-1175fc30545e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_c836f61a-709f-4827-977f-1175fc30545e" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ChiefExecutiveOfficerMember_99dc8b0f-44c5-4ed0-899f-a11e3968d2e7" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ChiefExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:to="loc_srt_ChiefExecutiveOfficerMember_99dc8b0f-44c5-4ed0-899f-a11e3968d2e7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ChiefFinancialOfficerMember_afc1fdcb-93d9-449a-afbf-590e4ab67ecc" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ChiefFinancialOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:to="loc_srt_ChiefFinancialOfficerMember_afc1fdcb-93d9-449a-afbf-590e4ab67ecc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_VicePresidentofTechnicalServicesMember_440e5403-483a-4551-b0a3-f29a310f2b68" xlink:href="ngs-20201231.xsd#ngs_VicePresidentofTechnicalServicesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:to="loc_ngs_VicePresidentofTechnicalServicesMember_440e5403-483a-4551-b0a3-f29a310f2b68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ExecutiveOfficerMember_ac0c4af8-7978-484b-9641-8809e54c5506" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ExecutiveOfficerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:to="loc_srt_ExecutiveOfficerMember_ac0c4af8-7978-484b-9641-8809e54c5506" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_36a41b64-6cb3-4b50-b2d7-3316a56e2e93" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_DirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55fbd542-ab8e-47ba-bfa7-41f1aedfc12e" xlink:to="loc_srt_DirectorMember_36a41b64-6cb3-4b50-b2d7-3316a56e2e93" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis_886705be-7c30-490f-98fc-6bb805256a65" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_StatementScenarioAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_44a4836a-74c6-407c-8079-95f90fc8996a" xlink:to="loc_srt_StatementScenarioAxis_886705be-7c30-490f-98fc-6bb805256a65" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_886705be-7c30-490f-98fc-6bb805256a65_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_886705be-7c30-490f-98fc-6bb805256a65" xlink:to="loc_srt_ScenarioUnspecifiedDomain_886705be-7c30-490f-98fc-6bb805256a65_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain_91e604bd-50c3-4a94-afb1-275fce03264f" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_886705be-7c30-490f-98fc-6bb805256a65" xlink:to="loc_srt_ScenarioUnspecifiedDomain_91e604bd-50c3-4a94-afb1-275fce03264f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember_d8dcfb3b-a495-476b-84ae-3c1143f2cb97" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_ScenarioForecastMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_91e604bd-50c3-4a94-afb1-275fce03264f" xlink:to="loc_srt_ScenarioForecastMember_d8dcfb3b-a495-476b-84ae-3c1143f2cb97" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationRestrictedStockActivityDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationRestrictedStockActivityDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationRestrictedStockActivityDetails" xlink:type="extended" id="idde531e0783b47e9a0800b4fc76f9cac_StockBasedandOtherLongTermIncentiveCompensationRestrictedStockActivityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_e35f95b2-6c83-4541-9a2f-bf0323866c9f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_e35f95b2-6c83-4541-9a2f-bf0323866c9f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_fe94631d-003a-4403-8788-de21378f81d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_fe94631d-003a-4403-8788-de21378f81d2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_bb4e72a2-8af6-4f09-b6da-2fbf5143128c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_bb4e72a2-8af6-4f09-b6da-2fbf5143128c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3a73abbb-8ef8-4c72-bd27-eb78e79506f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_bb7cf2e8-ca5b-466e-a2ac-e878dcdcc703" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_3a73abbb-8ef8-4c72-bd27-eb78e79506f0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9fa96c9f-1385-4c68-9984-8e99144d649a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5cfb4fc7-8494-4054-9578-71c56f6a7643" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_5cfb4fc7-8494-4054-9578-71c56f6a7643" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_472678be-40cb-46b8-9c1a-82f61b6a7be0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_472678be-40cb-46b8-9c1a-82f61b6a7be0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_eb50d188-6388-48e5-9e5b-b12fe158a8e0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_eb50d188-6388-48e5-9e5b-b12fe158a8e0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_06d98c8e-f804-45c3-adff-595813245230" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_b66ea908-0011-4b1b-a162-84d0398c1af2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_06d98c8e-f804-45c3-adff-595813245230" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_ab9aaec1-0a14-4bec-bc6e-744fef2e1ec7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract_77766bfb-9855-428b-8167-89d7e105d2ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract_77766bfb-9855-428b-8167-89d7e105d2ac" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_fda355e1-004a-498d-87cb-dec6224df53f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAdditionalDisclosuresAbstract_77766bfb-9855-428b-8167-89d7e105d2ac" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_fda355e1-004a-498d-87cb-dec6224df53f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_e63cb00d-790c-42de-8f92-f38d18569a81" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_e63cb00d-790c-42de-8f92-f38d18569a81" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_94d274ca-9d50-492a-8cd9-950c5f31897e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_e63cb00d-790c-42de-8f92-f38d18569a81" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_94d274ca-9d50-492a-8cd9-950c5f31897e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueGrantsInPeriod_9c803c72-e775-4237-a147-8fbc67239412" xlink:href="ngs-20201231.xsd#ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_e63cb00d-790c-42de-8f92-f38d18569a81" xlink:to="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueGrantsInPeriod_9c803c72-e775-4237-a147-8fbc67239412" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_bd0cff76-2ba3-4a6b-a05c-25a756e04369" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueAbstract_e63cb00d-790c-42de-8f92-f38d18569a81" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested_bd0cff76-2ba3-4a6b-a05c-25a756e04369" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding_35f8bcfb-f583-41bc-a919-647b2b70bd8b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_096706dc-1074-4b3f-8712-fa3b9e0ce7f4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_573259d6-028f-4180-b9e0-c59df039a543" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_096706dc-1074-4b3f-8712-fa3b9e0ce7f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_56fcaa19-eeaf-4994-af13-988a3ec2a45d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_096706dc-1074-4b3f-8712-fa3b9e0ce7f4" xlink:to="loc_us-gaap_AwardTypeAxis_56fcaa19-eeaf-4994-af13-988a3ec2a45d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56fcaa19-eeaf-4994-af13-988a3ec2a45d_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_56fcaa19-eeaf-4994-af13-988a3ec2a45d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_56fcaa19-eeaf-4994-af13-988a3ec2a45d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4eaed02d-20c7-456e-a2ca-45ce610ca946" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_56fcaa19-eeaf-4994-af13-988a3ec2a45d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4eaed02d-20c7-456e-a2ca-45ce610ca946" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_bba66479-4056-4452-b358-20fe99f75b36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4eaed02d-20c7-456e-a2ca-45ce610ca946" xlink:to="loc_us-gaap_RestrictedStockMember_bba66479-4056-4452-b358-20fe99f75b36" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationOtherLongTermIncentiveCompensationNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationOtherLongTermIncentiveCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationOtherLongTermIncentiveCompensationNarrativeDetails" xlink:type="extended" id="i11ba4bd9b58644ca8cc05a028a7d24fd_StockBasedandOtherLongTermIncentiveCompensationOtherLongTermIncentiveCompensationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodFairValue_f50ad00b-ea1f-433a-9a8c-60393bff0ec7" xlink:href="ngs-20201231.xsd#ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_ngs_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodFairValue_f50ad00b-ea1f-433a-9a8c-60393bff0ec7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_d5117dfe-c787-4b62-9e9c-8dea4b9497a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_d5117dfe-c787-4b62-9e9c-8dea4b9497a0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_NumberOfIndependentDirectors_fee7210d-edd3-4758-996c-9ddc4f929114" xlink:href="ngs-20201231.xsd#ngs_NumberOfIndependentDirectors"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_ngs_NumberOfIndependentDirectors_fee7210d-edd3-4758-996c-9ddc4f929114" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_148b5b2b-e97d-4a4f-8cf0-eb0b380fe6c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_148b5b2b-e97d-4a4f-8cf0-eb0b380fe6c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4f6e54d5-24b3-45be-9c2b-cd1ad409fc45" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4f6e54d5-24b3-45be-9c2b-cd1ad409fc45" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_c092bc8b-541f-4aba-baa5-16635c4bcac4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_c092bc8b-541f-4aba-baa5-16635c4bcac4" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_88a73a82-07fb-43dc-a7a2-b21654b188be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_4219d742-b8b7-4d90-9569-ba06f16e611f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_88a73a82-07fb-43dc-a7a2-b21654b188be" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_8de6a280-fc7b-45e6-a71d-5c57acca8c57" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_88a73a82-07fb-43dc-a7a2-b21654b188be" xlink:to="loc_us-gaap_AwardTypeAxis_8de6a280-fc7b-45e6-a71d-5c57acca8c57" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8de6a280-fc7b-45e6-a71d-5c57acca8c57_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_8de6a280-fc7b-45e6-a71d-5c57acca8c57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_8de6a280-fc7b-45e6-a71d-5c57acca8c57_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd354923-a1be-46bf-827f-4e0dfb37847a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_8de6a280-fc7b-45e6-a71d-5c57acca8c57" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd354923-a1be-46bf-827f-4e0dfb37847a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_OtherLongTermIncentiveCompensationMember_c3fad467-da3d-449d-917e-67d3b292240b" xlink:href="ngs-20201231.xsd#ngs_OtherLongTermIncentiveCompensationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_dd354923-a1be-46bf-827f-4e0dfb37847a" xlink:to="loc_ngs_OtherLongTermIncentiveCompensationMember_c3fad467-da3d-449d-917e-67d3b292240b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_a67ee5ad-881d-439f-8995-bceb1b4d06d8" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_88a73a82-07fb-43dc-a7a2-b21654b188be" xlink:to="loc_srt_TitleOfIndividualAxis_a67ee5ad-881d-439f-8995-bceb1b4d06d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_a67ee5ad-881d-439f-8995-bceb1b4d06d8_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_a67ee5ad-881d-439f-8995-bceb1b4d06d8" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_a67ee5ad-881d-439f-8995-bceb1b4d06d8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_7f907b75-86cf-42ca-8db0-bb60b775e851" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_a67ee5ad-881d-439f-8995-bceb1b4d06d8" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_7f907b75-86cf-42ca-8db0-bb60b775e851" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_DirectorMember_8023a588-10d8-4daf-baf1-f2865d5211e7" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_DirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_7f907b75-86cf-42ca-8db0-bb60b775e851" xlink:to="loc_srt_DirectorMember_8023a588-10d8-4daf-baf1-f2865d5211e7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionsNarrativeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationStockOptionsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionsNarrativeDetails" xlink:type="extended" id="iefe4c49d361e4047b8c42b88c9bedc88_StockBasedandOtherLongTermIncentiveCompensationStockOptionsNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_832f3edb-a4d4-4b82-8aa2-64e47aa40379" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_832f3edb-a4d4-4b82-8aa2-64e47aa40379" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_55189d63-3acb-48db-acdc-bfca3c975ce5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_55189d63-3acb-48db-acdc-bfca3c975ce5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_c31d2f78-7c91-4137-a4e5-ab0228b33c00" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_c31d2f78-7c91-4137-a4e5-ab0228b33c00" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_fde01ec1-d618-484f-b63c-9c342b19cb40" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_fde01ec1-d618-484f-b63c-9c342b19cb40" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_dcc5098d-2936-4d03-b5ad-9ce76cf4f683" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_dcc5098d-2936-4d03-b5ad-9ce76cf4f683" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_c9f238e1-95ea-4f48-a496-ec453a6079d2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_c9f238e1-95ea-4f48-a496-ec453a6079d2" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_af43f041-21c5-4239-95e0-d04ee1532668" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_af43f041-21c5-4239-95e0-d04ee1532668" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_2d68a954-0605-4bb0-b12b-31a03e4c38a0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_2d68a954-0605-4bb0-b12b-31a03e4c38a0" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_284df4f9-5205-4d04-ab1b-a13c0347ec46" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_284df4f9-5205-4d04-ab1b-a13c0347ec46" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_68f65f2a-3a3c-4f4f-a6f6-380130d4f5b1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedStockOptions_68f65f2a-3a3c-4f4f-a6f6-380130d4f5b1" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_afac6c12-f00e-44f2-93d8-952229a7c569" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6f8c27dd-07fc-404d-b469-a2d59b1f462a" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_afac6c12-f00e-44f2-93d8-952229a7c569" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_b122ef17-8fa8-4ad1-a387-41d73ce56452" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_afac6c12-f00e-44f2-93d8-952229a7c569" xlink:to="loc_us-gaap_AwardTypeAxis_b122ef17-8fa8-4ad1-a387-41d73ce56452" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b122ef17-8fa8-4ad1-a387-41d73ce56452_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_b122ef17-8fa8-4ad1-a387-41d73ce56452" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_b122ef17-8fa8-4ad1-a387-41d73ce56452_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ed0868a7-ecd2-4216-8e1c-e6cf6b57eccc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_b122ef17-8fa8-4ad1-a387-41d73ce56452" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ed0868a7-ecd2-4216-8e1c-e6cf6b57eccc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2405a7b1-f21f-4e36-a034-9aca472d931f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_ed0868a7-ecd2-4216-8e1c-e6cf6b57eccc" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2405a7b1-f21f-4e36-a034-9aca472d931f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_469d285d-7b7e-49e7-87fe-b19b62b878be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_afac6c12-f00e-44f2-93d8-952229a7c569" xlink:to="loc_us-gaap_PlanNameAxis_469d285d-7b7e-49e7-87fe-b19b62b878be" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_469d285d-7b7e-49e7-87fe-b19b62b878be_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_469d285d-7b7e-49e7-87fe-b19b62b878be" xlink:to="loc_us-gaap_PlanNameDomain_469d285d-7b7e-49e7-87fe-b19b62b878be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_465106fb-a92e-4797-99a1-fa099f7bb9a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_469d285d-7b7e-49e7-87fe-b19b62b878be" xlink:to="loc_us-gaap_PlanNameDomain_465106fb-a92e-4797-99a1-fa099f7bb9a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_A1998StockOptionPlanMember_a572e027-7f85-4d9c-ad3c-fe05a8576995" xlink:href="ngs-20201231.xsd#ngs_A1998StockOptionPlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_465106fb-a92e-4797-99a1-fa099f7bb9a6" xlink:to="loc_ngs_A1998StockOptionPlanMember_a572e027-7f85-4d9c-ad3c-fe05a8576995" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_afac6c12-f00e-44f2-93d8-952229a7c569" xlink:to="loc_us-gaap_StatementClassOfStockAxis_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13" xlink:to="loc_us-gaap_ClassOfStockDomain_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain_e0f83f41-7d46-4636-8c98-69cc4f9c860d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ClassOfStockDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_63297fdf-ecf9-49fb-aa50-3efa2a5b7a13" xlink:to="loc_us-gaap_ClassOfStockDomain_e0f83f41-7d46-4636-8c98-69cc4f9c860d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_dabba613-a044-43bd-8831-f23bb81a253d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_e0f83f41-7d46-4636-8c98-69cc4f9c860d" xlink:to="loc_us-gaap_CommonStockMember_dabba613-a044-43bd-8831-f23bb81a253d" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationValuationAssumptionsDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationValuationAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationValuationAssumptionsDetails" xlink:type="extended" id="i1214a3c8b2f44c4e8c2b5bca5921b392_StockBasedandOtherLongTermIncentiveCompensationValuationAssumptionsDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionActivityDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationStockOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionActivityDetails" xlink:type="extended" id="i57c07906a3ea4c52b3f4a954cacaceb2_StockBasedandOtherLongTermIncentiveCompensationStockOptionActivityDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionsbyExercisePriceRangeDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationStockOptionsbyExercisePriceRangeDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationStockOptionsbyExercisePriceRangeDetails" xlink:type="extended" id="i8b0fbe05a26c4bf7aa55f9b39176fc8a_StockBasedandOtherLongTermIncentiveCompensationStockOptionsbyExercisePriceRangeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_3170af74-b7b6-4d75-9a45-b15d42a34acd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_3170af74-b7b6-4d75-9a45-b15d42a34acd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_b894649a-c4e5-4189-98a9-1714736426e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_b894649a-c4e5-4189-98a9-1714736426e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_b9ee7795-5564-45c5-9610-a0f1ed6bad36" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_b9ee7795-5564-45c5-9610-a0f1ed6bad36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_e48e85bf-33da-436e-9f49-8131732fbe54" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_e48e85bf-33da-436e-9f49-8131732fbe54" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_bf6a2851-7060-4f03-970f-27b3fff6ab2d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_bf6a2851-7060-4f03-970f-27b3fff6ab2d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_fd3a9516-0a10-4789-b4be-0f32097669c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_fd3a9516-0a10-4789-b4be-0f32097669c1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_63167dea-5619-424b-9c83-b2df43adb40b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_63167dea-5619-424b-9c83-b2df43adb40b" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_be03b141-c48e-47f4-bdab-6d63536b90e3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_fc6bca14-e64e-46bd-9530-1648bdea577f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_be03b141-c48e-47f4-bdab-6d63536b90e3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_6702b849-75fb-4202-b602-b5c04d96a0fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_be03b141-c48e-47f4-bdab-6d63536b90e3" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_6702b849-75fb-4202-b602-b5c04d96a0fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6702b849-75fb-4202-b602-b5c04d96a0fb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_6702b849-75fb-4202-b602-b5c04d96a0fb" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6702b849-75fb-4202-b602-b5c04d96a0fb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_6702b849-75fb-4202-b602-b5c04d96a0fb" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RangeOneMember_5d197acb-27fe-488c-92eb-c20bb878b3f7" xlink:href="ngs-20201231.xsd#ngs_RangeOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:to="loc_ngs_RangeOneMember_5d197acb-27fe-488c-92eb-c20bb878b3f7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RangeTwoMember_fd44225c-3fc9-4027-b5c8-22e1a11e5f75" xlink:href="ngs-20201231.xsd#ngs_RangeTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:to="loc_ngs_RangeTwoMember_fd44225c-3fc9-4027-b5c8-22e1a11e5f75" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RangeThreeMember_8e33d392-938f-477c-86bc-44a8669796c4" xlink:href="ngs-20201231.xsd#ngs_RangeThreeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:to="loc_ngs_RangeThreeMember_8e33d392-938f-477c-86bc-44a8669796c4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RangeFourMember_04fb1856-daae-4381-a978-3227e6368eb6" xlink:href="ngs-20201231.xsd#ngs_RangeFourMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:to="loc_ngs_RangeFourMember_04fb1856-daae-4381-a978-3227e6368eb6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_RangeFiveMember_9eabf290-13f4-4087-932c-fa07568718ae" xlink:href="ngs-20201231.xsd#ngs_RangeFiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_d6924bb4-7e2e-4266-82f0-0f01fe4e2a9b" xlink:to="loc_ngs_RangeFiveMember_9eabf290-13f4-4087-932c-fa07568718ae" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationSummaryofUnvestedStockOptionsDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#StockBasedandOtherLongTermIncentiveCompensationSummaryofUnvestedStockOptionsDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/StockBasedandOtherLongTermIncentiveCompensationSummaryofUnvestedStockOptionsDetails" xlink:type="extended" id="i6a62bcb2cd6e4aa6a83006c1c08365f3_StockBasedandOtherLongTermIncentiveCompensationSummaryofUnvestedStockOptionsDetails"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LossEarningsperShare" xlink:type="simple" xlink:href="ngs-20201231.xsd#LossEarningsperShare"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LossEarningsperShare" xlink:type="extended" id="id4474bc2f2944289aa6b23de973e404f_LossEarningsperShare"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LossEarningsperShareTables" xlink:type="simple" xlink:href="ngs-20201231.xsd#LossEarningsperShareTables"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LossEarningsperShareTables" xlink:type="extended" id="ib44f7bf1c221411aba471599dd04c114_LossEarningsperShareTables"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/LossEarningsperShareDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#LossEarningsperShareDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/LossEarningsperShareDetails" xlink:type="extended" id="i86d0c11a6b95455e86085cea8acf5356_LossEarningsperShareDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b3ed72b7-1e41-4da4-99fa-d352cb31e41f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_6bbc0af2-5526-4b40-a2ea-09d4942330e3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b3ed72b7-1e41-4da4-99fa-d352cb31e41f" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_6bbc0af2-5526-4b40-a2ea-09d4942330e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1e871886-dd3a-4fca-b2d4-7af4389c39ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_b3ed72b7-1e41-4da4-99fa-d352cb31e41f" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1e871886-dd3a-4fca-b2d4-7af4389c39ac" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e6efc19d-4bbb-4edd-940d-0d86df55560f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_1e871886-dd3a-4fca-b2d4-7af4389c39ac" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e6efc19d-4bbb-4edd-940d-0d86df55560f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e6efc19d-4bbb-4edd-940d-0d86df55560f_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e6efc19d-4bbb-4edd-940d-0d86df55560f" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_e6efc19d-4bbb-4edd-940d-0d86df55560f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_cf3735d3-0dfa-473d-a3fc-7846cf15d695" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_e6efc19d-4bbb-4edd-940d-0d86df55560f" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_cf3735d3-0dfa-473d-a3fc-7846cf15d695" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2f9e6b94-be58-497a-8b3c-7a922b8724a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_cf3735d3-0dfa-473d-a3fc-7846cf15d695" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2f9e6b94-be58-497a-8b3c-7a922b8724a4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RelatedParty" xlink:type="simple" xlink:href="ngs-20201231.xsd#RelatedParty"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RelatedParty" xlink:type="extended" id="i83630275d13d44b7b404cddaa0f80519_RelatedParty"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/RelatedPartyDetails" xlink:type="simple" xlink:href="ngs-20201231.xsd#RelatedPartyDetails"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/RelatedPartyDetails" xlink:type="extended" id="i7f9878717b744b8198e8be0d57360078_RelatedPartyDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_0d5887ca-8446-4847-a8cf-d540184ba0f9" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_d7aa396b-53e4-4de5-b1b1-981223300448" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_0d5887ca-8446-4847-a8cf-d540184ba0f9" xlink:to="loc_us-gaap_LimitedLiabilityCompanyLLCOrLimitedPartnershipLPMembersOrLimitedPartnersOwnershipInterest_d7aa396b-53e4-4de5-b1b1-981223300448" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_b7740d77-9908-428f-8006-1ee72c0bac8a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_0d5887ca-8446-4847-a8cf-d540184ba0f9" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_b7740d77-9908-428f-8006-1ee72c0bac8a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5c4ddab-07d0-4aa9-a827-28d0fa7bbe3f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_0d5887ca-8446-4847-a8cf-d540184ba0f9" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5c4ddab-07d0-4aa9-a827-28d0fa7bbe3f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_62fa60c4-e2f7-4650-9d20-77e7068351eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5c4ddab-07d0-4aa9-a827-28d0fa7bbe3f" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_62fa60c4-e2f7-4650-9d20-77e7068351eb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_62fa60c4-e2f7-4650-9d20-77e7068351eb_default" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_62fa60c4-e2f7-4650-9d20-77e7068351eb" xlink:to="loc_us-gaap_RelatedPartyDomain_62fa60c4-e2f7-4650-9d20-77e7068351eb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_caea957b-fb2c-4fa1-b6a2-c717f95095e7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_62fa60c4-e2f7-4650-9d20-77e7068351eb" xlink:to="loc_us-gaap_RelatedPartyDomain_caea957b-fb2c-4fa1-b6a2-c717f95095e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateJointVentureMember_08d7f142-cb5f-4e00-b3ff-d61035ba5548" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CorporateJointVentureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_caea957b-fb2c-4fa1-b6a2-c717f95095e7" xlink:to="loc_us-gaap_CorporateJointVentureMember_08d7f142-cb5f-4e00-b3ff-d61035ba5548" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LegalEntityAxis_b03a2759-603a-49b7-b1ad-be299a92ef36" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_LegalEntityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5c4ddab-07d0-4aa9-a827-28d0fa7bbe3f" xlink:to="loc_dei_LegalEntityAxis_b03a2759-603a-49b7-b1ad-be299a92ef36" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_b03a2759-603a-49b7-b1ad-be299a92ef36_default" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_b03a2759-603a-49b7-b1ad-be299a92ef36" xlink:to="loc_dei_EntityDomain_b03a2759-603a-49b7-b1ad-be299a92ef36_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityDomain_d8336dd7-e0ad-4807-9c52-012f162d7ae5" xlink:href="https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd#dei_EntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_b03a2759-603a-49b7-b1ad-be299a92ef36" xlink:to="loc_dei_EntityDomain_d8336dd7-e0ad-4807-9c52-012f162d7ae5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_GenisHoldingsLLCMember_328a4994-e08b-4fba-87a7-b20e3278c484" xlink:href="ngs-20201231.xsd#ngs_GenisHoldingsLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_d8336dd7-e0ad-4807-9c52-012f162d7ae5" xlink:to="loc_ngs_GenisHoldingsLLCMember_328a4994-e08b-4fba-87a7-b20e3278c484" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipAxis_9e21d1ec-67fa-444f-88da-90daea2120e2" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_OwnershipAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_b5c4ddab-07d0-4aa9-a827-28d0fa7bbe3f" xlink:to="loc_srt_OwnershipAxis_9e21d1ec-67fa-444f-88da-90daea2120e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_9e21d1ec-67fa-444f-88da-90daea2120e2_default" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_OwnershipAxis_9e21d1ec-67fa-444f-88da-90daea2120e2" xlink:to="loc_srt_OwnershipDomain_9e21d1ec-67fa-444f-88da-90daea2120e2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OwnershipDomain_da9be3ea-a2af-42a5-a771-4e2cf777163a" xlink:href="http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd#srt_OwnershipDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_OwnershipAxis_9e21d1ec-67fa-444f-88da-90daea2120e2" xlink:to="loc_srt_OwnershipDomain_da9be3ea-a2af-42a5-a771-4e2cf777163a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_ngs_NGLLCMember_7408eae6-66fc-4df4-949a-956cc7305156" xlink:href="ngs-20201231.xsd#ngs_NGLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_OwnershipDomain_da9be3ea-a2af-42a5-a771-4e2cf777163a" xlink:to="loc_ngs_NGLLCMember_7408eae6-66fc-4df4-949a-956cc7305156" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://naturalgaservices.com/role/CommitmentsandContingencies" xlink:type="simple" xlink:href="ngs-20201231.xsd#CommitmentsandContingencies"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/CommitmentsandContingencies" xlink:type="extended" id="ib83c444432f142fa89e5155e51ed7ccb_CommitmentsandContingencies"/>
  <link:roleRef roleURI="http://naturalgaservices.com/role/SubsequentEvents" xlink:type="simple" xlink:href="ngs-20201231.xsd#SubsequentEvents"/>
  <link:definitionLink xlink:role="http://naturalgaservices.com/role/SubsequentEvents" xlink:type="extended" id="iaf79aec1f7f343e1883b5bb40beb79dd_SubsequentEvents"/>
</link:linkbase>
