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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2023 Workiva-->
<!--r:752b3534-7c5e-4fdc-8fcc-0df3305648a7,g:1a768681-8b36-4f4b-b040-5d98ade4813e-->
<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://www.aaon.com/role/ConsolidatedStatementsofStockholdersEquity" xlink:type="simple" xlink:href="aaon-20221231.xsd#ConsolidatedStatementsofStockholdersEquity"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ConsolidatedStatementsofStockholdersEquity" xlink:type="extended" id="i774210a793d14ee0a865fd78733d9675_ConsolidatedStatementsofStockholdersEquity">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_af53a8e2-3c44-451e-a5c8-0c97cf6bafde" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_SharesOutstanding_af53a8e2-3c44-451e-a5c8-0c97cf6bafde" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6ffdcc08-24ce-4e3c-aa58-5270c5fa2725" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_6ffdcc08-24ce-4e3c-aa58-5270c5fa2725" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_0167ef18-6655-45e1-ba97-5256934979f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_NetIncomeLoss_0167ef18-6655-45e1-ba97-5256934979f8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_57a710a3-6d49-4c8b-b6bf-e88bc9d846e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_57a710a3-6d49-4c8b-b6bf-e88bc9d846e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_962d3e0b-aecc-4d90-8d93-9835261d8d86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_962d3e0b-aecc-4d90-8d93-9835261d8d86" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_0f329a7a-4aa7-4650-a6ce-c6b6db7a01c1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_0f329a7a-4aa7-4650-a6ce-c6b6db7a01c1" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_7bae2600-009f-488a-b537-8981a1c77193" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_7bae2600-009f-488a-b537-8981a1c77193" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_c3faaa6b-8905-4318-8428-06c72af016b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_c3faaa6b-8905-4318-8428-06c72af016b2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c1b47c6a-159c-4cae-a95f-1b4fdb42b6f9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c1b47c6a-159c-4cae-a95f-1b4fdb42b6f9" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsCommonStockCash_12b57b9b-bc96-4d13-b5a6-def80143be49" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsCommonStockCash"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_DividendsCommonStockCash_12b57b9b-bc96-4d13-b5a6-def80143be49" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_c82c0fae-1a48-4d59-a0eb-120e9c3e2276" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_26199eb3-5cfa-4b6d-ad73-83ed32e5d585" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_0b720df1-4cf2-4133-88d8-2f1c85113183" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_665e3033-bf6d-4ae4-bb7a-ee61d2cd6ce4" xlink:to="loc_us-gaap_StatementTable_0b720df1-4cf2-4133-88d8-2f1c85113183" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_0b720df1-4cf2-4133-88d8-2f1c85113183" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a" xlink:to="loc_us-gaap_EquityComponentDomain_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_f60fb9c1-8c24-4788-98eb-21083f54aa0d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_d1f3eb74-cef1-4d9b-93db-acc30bd4f16a" xlink:to="loc_us-gaap_EquityComponentDomain_f60fb9c1-8c24-4788-98eb-21083f54aa0d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_306e768d-077d-41a1-a5e6-7c5fbd37216f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f60fb9c1-8c24-4788-98eb-21083f54aa0d" xlink:to="loc_us-gaap_CommonStockMember_306e768d-077d-41a1-a5e6-7c5fbd37216f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_32369b1c-8fa4-4df7-8977-686f102d99e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f60fb9c1-8c24-4788-98eb-21083f54aa0d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_32369b1c-8fa4-4df7-8977-686f102d99e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_93453385-1085-4f50-aca9-2cddcb8315a5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_f60fb9c1-8c24-4788-98eb-21083f54aa0d" xlink:to="loc_us-gaap_RetainedEarningsMember_93453385-1085-4f50-aca9-2cddcb8315a5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/BusinessDescriptionDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#BusinessDescriptionDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/BusinessDescriptionDetails" xlink:type="extended" id="i57ec7a8aee1b42759ebf573fb2812495_BusinessDescriptionDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FranchisorDisclosureLineItems_d83d2ac9-b888-46db-a466-86c35944dc9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FranchisorDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWriteDown_638a7244-8401-4464-b28d-fb014e595137" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryWriteDown"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FranchisorDisclosureLineItems_d83d2ac9-b888-46db-a466-86c35944dc9f" xlink:to="loc_us-gaap_InventoryWriteDown_638a7244-8401-4464-b28d-fb014e595137" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b75fece4-3643-45d7-8e68-c1f19564759c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FranchisorDisclosureLineItems_d83d2ac9-b888-46db-a466-86c35944dc9f" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_b75fece4-3643-45d7-8e68-c1f19564759c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_29b13f05-8d2a-4f31-a52b-1d1216d3a972" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FranchisorDisclosureLineItems_d83d2ac9-b888-46db-a466-86c35944dc9f" xlink:to="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_29b13f05-8d2a-4f31-a52b-1d1216d3a972" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_701462e3-bdb6-4506-bce7-bd50e147e5d4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_29b13f05-8d2a-4f31-a52b-1d1216d3a972" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_701462e3-bdb6-4506-bce7-bd50e147e5d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_701462e3-bdb6-4506-bce7-bd50e147e5d4_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_701462e3-bdb6-4506-bce7-bd50e147e5d4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_701462e3-bdb6-4506-bce7-bd50e147e5d4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a8b05cf9-b498-4e9b-aea1-c5daafdd29db" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionAxis_701462e3-bdb6-4506-bce7-bd50e147e5d4" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a8b05cf9-b498-4e9b-aea1-c5daafdd29db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_b480e767-ba0f-422f-9c2d-d22f5360f0a5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_CumulativeEffectPeriodOfAdoptionDomain_a8b05cf9-b498-4e9b-aea1-c5daafdd29db" xlink:to="loc_srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember_b480e767-ba0f-422f-9c2d-d22f5360f0a5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_2750ddc4-736e-4a7e-8b2e-00789f1e577e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable_29b13f05-8d2a-4f31-a52b-1d1216d3a972" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_2750ddc4-736e-4a7e-8b2e-00789f1e577e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_2750ddc4-736e-4a7e-8b2e-00789f1e577e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2750ddc4-736e-4a7e-8b2e-00789f1e577e" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_2750ddc4-736e-4a7e-8b2e-00789f1e577e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_0dda2879-7f5c-4971-9032-8c552d49f9d8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_2750ddc4-736e-4a7e-8b2e-00789f1e577e" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_0dda2879-7f5c-4971-9032-8c552d49f9d8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_4caaf43c-cb3e-42a9-99e7-c9667073afe1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_0dda2879-7f5c-4971-9032-8c552d49f9d8" xlink:to="loc_us-gaap_CostOfSalesMember_4caaf43c-cb3e-42a9-99e7-c9667073afe1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#SummaryofSignificantAccountingPoliciesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" id="i1ca14c3a5ba74c959aebe7169204e06e_SummaryofSignificantAccountingPoliciesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:href="aaon-20221231.xsd#aaon_ScheduleofAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_NumberOfVeriableInteresEntities_47b4d4f6-6c6c-423b-abf8-1a8ac0908b60" xlink:href="aaon-20221231.xsd#aaon_NumberOfVeriableInteresEntities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_NumberOfVeriableInteresEntities_47b4d4f6-6c6c-423b-abf8-1a8ac0908b60" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d24ce94e-8fb7-4a37-aeb2-c1d7cf2732c0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d24ce94e-8fb7-4a37-aeb2-c1d7cf2732c0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_a6f16db2-efde-4c77-b76d-b5ce9c8d6723" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_a6f16db2-efde-4c77-b76d-b5ce9c8d6723" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_Numberofmajorcustomers_4c360ee7-bfac-4dc9-933a-2c65a9cae068" xlink:href="aaon-20221231.xsd#aaon_Numberofmajorcustomers"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_Numberofmajorcustomers_4c360ee7-bfac-4dc9-933a-2c65a9cae068" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_f629e550-d1eb-456f-b5fa-71e4226cdc75" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_f629e550-d1eb-456f-b5fa-71e4226cdc75" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_0b53a51d-8616-44e1-98eb-93f41f3824f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_0b53a51d-8616-44e1-98eb-93f41f3824f6" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvertisingExpense_1e7e54b6-3d83-4284-8556-0c0014bd64ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AdvertisingExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_AdvertisingExpense_1e7e54b6-3d83-4284-8556-0c0014bd64ba" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_0d9621fe-474d-4ba6-9df8-74db83f76040" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_0d9621fe-474d-4ba6-9df8-74db83f76040" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2cc5c1fe-0e82-4849-990a-8d525e047931" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_2cc5c1fe-0e82-4849-990a-8d525e047931" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_20a84918-5c94-43d8-8fe1-d7a455a784af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_20a84918-5c94-43d8-8fe1-d7a455a784af" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesCommissionsAndFees_9b443c6b-2dfc-4594-80d1-85eb8895b295" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesCommissionsAndFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_SalesCommissionsAndFees_9b443c6b-2dfc-4594-80d1-85eb8895b295" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ExtendedProductWarrantiesMinimumLength_46c392fd-53b7-49d8-83a2-af8cf46004a9" xlink:href="aaon-20221231.xsd#aaon_ExtendedProductWarrantiesMinimumLength"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_ExtendedProductWarrantiesMinimumLength_46c392fd-53b7-49d8-83a2-af8cf46004a9" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ExtendedProductWarrantiesMaximumLength_7397270a-5fa1-4a05-b278-a8dd4b6aec62" xlink:href="aaon-20221231.xsd#aaon_ExtendedProductWarrantiesMaximumLength"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_ExtendedProductWarrantiesMaximumLength_7397270a-5fa1-4a05-b278-a8dd4b6aec62" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForCapitalImprovements_66d189a0-bc4c-44e2-bc75-3c150e325b8a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForCapitalImprovements"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_us-gaap_PaymentsForCapitalImprovements_66d189a0-bc4c-44e2-bc75-3c150e325b8a" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_WarehouseSquareFeet_3a798e05-3342-423a-b25d-2a64d2038e2f" xlink:href="aaon-20221231.xsd#aaon_WarehouseSquareFeet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_WarehouseSquareFeet_3a798e05-3342-423a-b25d-2a64d2038e2f" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:href="aaon-20221231.xsd#aaon_ScheduleofAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aaon_ScheduleofAccountingPoliciesLineItems_cc5a8d3d-fece-45be-b57c-c08da6675d38" xlink:to="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d9de71c7-710b-4c0d-ba47-7f5fa4a5a765" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_b2c00e85-51f4-4764-9b95-6b4a2b2a3c9e" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d9de71c7-710b-4c0d-ba47-7f5fa4a5a765" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ForeignSalesRevenueNetMember_9763f083-51a6-4dfe-a524-72ad7368991d" xlink:href="aaon-20221231.xsd#aaon_ForeignSalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d9de71c7-710b-4c0d-ba47-7f5fa4a5a765" xlink:to="loc_aaon_ForeignSalesRevenueNetMember_9763f083-51a6-4dfe-a524-72ad7368991d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_5db6577a-bc84-414f-8f0b-da21d833c428" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_d9de71c7-710b-4c0d-ba47-7f5fa4a5a765" xlink:to="loc_us-gaap_SalesRevenueNetMember_5db6577a-bc84-414f-8f0b-da21d833c428" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_485240cd-3740-478f-bdb4-8cde237f3b17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_485240cd-3740-478f-bdb4-8cde237f3b17" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_485240cd-3740-478f-bdb4-8cde237f3b17_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_485240cd-3740-478f-bdb4-8cde237f3b17" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_485240cd-3740-478f-bdb4-8cde237f3b17_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_d6f7ff32-c0d5-438b-889f-27dbed676869" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_485240cd-3740-478f-bdb4-8cde237f3b17" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_d6f7ff32-c0d5-438b-889f-27dbed676869" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_786997b8-c70e-4722-b88c-754274571ec5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_d6f7ff32-c0d5-438b-889f-27dbed676869" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_786997b8-c70e-4722-b88c-754274571ec5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_a53dc58f-50e4-4618-8d08-fc571b726eee" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_srt_MajorCustomersAxis_a53dc58f-50e4-4618-8d08-fc571b726eee" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_a53dc58f-50e4-4618-8d08-fc571b726eee_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_a53dc58f-50e4-4618-8d08-fc571b726eee" xlink:to="loc_srt_NameOfMajorCustomerDomain_a53dc58f-50e4-4618-8d08-fc571b726eee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_f0f2ddf1-89ea-4ea5-b4ea-65baa3c1a158" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_a53dc58f-50e4-4618-8d08-fc571b726eee" xlink:to="loc_srt_NameOfMajorCustomerDomain_f0f2ddf1-89ea-4ea5-b4ea-65baa3c1a158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_LargeCrudeOilRefiningCustomersMember_30c9d6f0-09a6-4b74-87ca-0d291a545be3" xlink:href="aaon-20221231.xsd#aaon_LargeCrudeOilRefiningCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_f0f2ddf1-89ea-4ea5-b4ea-65baa3c1a158" xlink:to="loc_aaon_LargeCrudeOilRefiningCustomersMember_30c9d6f0-09a6-4b74-87ca-0d291a545be3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_cbbcb95c-cca7-4713-9823-7159314daa62" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_srt_ProductOrServiceAxis_cbbcb95c-cca7-4713-9823-7159314daa62" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_cbbcb95c-cca7-4713-9823-7159314daa62_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_cbbcb95c-cca7-4713-9823-7159314daa62" xlink:to="loc_srt_ProductsAndServicesDomain_cbbcb95c-cca7-4713-9823-7159314daa62_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_027aee75-5453-4e65-88bc-d3c0d8ec396e" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_cbbcb95c-cca7-4713-9823-7159314daa62" xlink:to="loc_srt_ProductsAndServicesDomain_027aee75-5453-4e65-88bc-d3c0d8ec396e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShippingAndHandlingMember_fb3324ef-d92c-49b9-85d7-917fa79506ed" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShippingAndHandlingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_027aee75-5453-4e65-88bc-d3c0d8ec396e" xlink:to="loc_us-gaap_ShippingAndHandlingMember_fb3324ef-d92c-49b9-85d7-917fa79506ed" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_srt_RangeAxis_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859" xlink:to="loc_srt_RangeMember_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9b2208c1-b2a6-4afc-a335-1037eb3b87a9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_65fffd29-3e2e-4b9d-8c9d-2cc1ebbea859" xlink:to="loc_srt_RangeMember_9b2208c1-b2a6-4afc-a335-1037eb3b87a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_4fb6dfa2-fc4a-4e9f-be96-f85dd0287091" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9b2208c1-b2a6-4afc-a335-1037eb3b87a9" xlink:to="loc_srt_MinimumMember_4fb6dfa2-fc4a-4e9f-be96-f85dd0287091" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_e2d8b26c-f3ff-40f3-975a-204082f98e7f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleofAccountingPoliciesTable_23f2550c-66d0-49a6-b1d0-5a0360f94a7b" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_e2d8b26c-f3ff-40f3-975a-204082f98e7f" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_e2d8b26c-f3ff-40f3-975a-204082f98e7f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e2d8b26c-f3ff-40f3-975a-204082f98e7f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_e2d8b26c-f3ff-40f3-975a-204082f98e7f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_3d134395-6d50-46da-8fea-e3b20c79ac5a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_e2d8b26c-f3ff-40f3-975a-204082f98e7f" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_3d134395-6d50-46da-8fea-e3b20c79ac5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_401623a1-85b4-44a5-b7c6-c641ac5d2759" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_3d134395-6d50-46da-8fea-e3b20c79ac5a" xlink:to="loc_us-gaap_SubsequentEventMember_401623a1-85b4-44a5-b7c6-c641ac5d2759" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails" xlink:type="extended" id="i022049e1fb244e37ba5946ffc8b1288b_SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ba324a8a-c69e-4596-8e62-bc61ef476732" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_4691d31e-9a90-42b3-aab7-4f0133b9834c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ba324a8a-c69e-4596-8e62-bc61ef476732" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_4691d31e-9a90-42b3-aab7-4f0133b9834c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01013586-e925-4e3d-bdb0-7e91f492f186" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_ba324a8a-c69e-4596-8e62-bc61ef476732" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01013586-e925-4e3d-bdb0-7e91f492f186" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00404640-0295-4ba6-a137-a51956437b58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01013586-e925-4e3d-bdb0-7e91f492f186" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00404640-0295-4ba6-a137-a51956437b58" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_00404640-0295-4ba6-a137-a51956437b58_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00404640-0295-4ba6-a137-a51956437b58" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_00404640-0295-4ba6-a137-a51956437b58_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_9b2acd15-70e8-43b8-88b6-20e0b24c1f71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_00404640-0295-4ba6-a137-a51956437b58" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_9b2acd15-70e8-43b8-88b6-20e0b24c1f71" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BuildingMember_0dfe0908-b57a-4785-987a-02c8829c9080" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_9b2acd15-70e8-43b8-88b6-20e0b24c1f71" xlink:to="loc_us-gaap_BuildingMember_0dfe0908-b57a-4785-987a-02c8829c9080" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_3bc6b25b-b98c-4def-9fe8-eeb838a2aff7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_9b2acd15-70e8-43b8-88b6-20e0b24c1f71" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_3bc6b25b-b98c-4def-9fe8-eeb838a2aff7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_58485896-0a94-43a1-a2e0-0b358e8b8e58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_9b2acd15-70e8-43b8-88b6-20e0b24c1f71" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_58485896-0a94-43a1-a2e0-0b358e8b8e58" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_18b363e8-d44a-436f-bfea-0a72a40d51c9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_01013586-e925-4e3d-bdb0-7e91f492f186" xlink:to="loc_srt_RangeAxis_18b363e8-d44a-436f-bfea-0a72a40d51c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_18b363e8-d44a-436f-bfea-0a72a40d51c9_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_18b363e8-d44a-436f-bfea-0a72a40d51c9" xlink:to="loc_srt_RangeMember_18b363e8-d44a-436f-bfea-0a72a40d51c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_0f2b3168-72e8-4956-9add-024226fcc69f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_18b363e8-d44a-436f-bfea-0a72a40d51c9" xlink:to="loc_srt_RangeMember_0f2b3168-72e8-4956-9add-024226fcc69f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_d80f8e72-62a5-438f-8ad7-1daaf4bbc777" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0f2b3168-72e8-4956-9add-024226fcc69f" xlink:to="loc_srt_MinimumMember_d80f8e72-62a5-438f-8ad7-1daaf4bbc777" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_713e3d3a-677d-4f76-99f2-afbde7d68942" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_0f2b3168-72e8-4956-9add-024226fcc69f" xlink:to="loc_srt_MaximumMember_713e3d3a-677d-4f76-99f2-afbde7d68942" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesIntangiblesDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#SummaryofSignificantAccountingPoliciesIntangiblesDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesIntangiblesDetails" xlink:type="extended" id="i76694476f2a644459c2c9d268ddce4f0_SummaryofSignificantAccountingPoliciesIntangiblesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_466e038c-3b20-4182-befd-809c0b9d1fc6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_d8d3db6a-e725-411c-bd30-58a13f7f20e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_466e038c-3b20-4182-befd-809c0b9d1fc6" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_d8d3db6a-e725-411c-bd30-58a13f7f20e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9e963207-b6f6-4337-bfff-c8c276a7fbb8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_466e038c-3b20-4182-befd-809c0b9d1fc6" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9e963207-b6f6-4337-bfff-c8c276a7fbb8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1024b361-8c90-42eb-83b7-cc20fb648682" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_9e963207-b6f6-4337-bfff-c8c276a7fbb8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1024b361-8c90-42eb-83b7-cc20fb648682" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1024b361-8c90-42eb-83b7-cc20fb648682_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1024b361-8c90-42eb-83b7-cc20fb648682" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_1024b361-8c90-42eb-83b7-cc20fb648682_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b6b753d8-8740-420f-a901-d1fa38ce4233" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1024b361-8c90-42eb-83b7-cc20fb648682" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b6b753d8-8740-420f-a901-d1fa38ce4233" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntellectualPropertyMember_5743b379-4740-4739-934a-be47ebab13ae" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntellectualPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b6b753d8-8740-420f-a901-d1fa38ce4233" xlink:to="loc_us-gaap_IntellectualPropertyMember_5743b379-4740-4739-934a-be47ebab13ae" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_46a9051f-5df3-4fd8-bdb2-14d2ae8fe5dd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_b6b753d8-8740-420f-a901-d1fa38ce4233" xlink:to="loc_us-gaap_CustomerRelationshipsMember_46a9051f-5df3-4fd8-bdb2-14d2ae8fe5dd" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/RevenueRecognitionDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#RevenueRecognitionDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/RevenueRecognitionDetails" xlink:type="extended" id="i7ee2ad8014ff4e2594a6115f021cb0f7_RevenueRecognitionDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_9edc875a-f76f-45c3-8ea7-38e7c9643f4e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_3c6b423b-77aa-42c7-b477-d2c10262239e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9edc875a-f76f-45c3-8ea7-38e7c9643f4e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_3c6b423b-77aa-42c7-b477-d2c10262239e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_01b16799-a0a4-4fa8-8beb-0e9f3f4124b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_9edc875a-f76f-45c3-8ea7-38e7c9643f4e" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_01b16799-a0a4-4fa8-8beb-0e9f3f4124b7" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7e5f96eb-a7f1-4004-926c-141d4ea8265b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_01b16799-a0a4-4fa8-8beb-0e9f3f4124b7" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7e5f96eb-a7f1-4004-926c-141d4ea8265b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_7e5f96eb-a7f1-4004-926c-141d4ea8265b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7e5f96eb-a7f1-4004-926c-141d4ea8265b" xlink:to="loc_us-gaap_SegmentDomain_7e5f96eb-a7f1-4004-926c-141d4ea8265b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_08afc2a0-9644-4b40-8efa-0195c510bb77" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7e5f96eb-a7f1-4004-926c-141d4ea8265b" xlink:to="loc_us-gaap_SegmentDomain_08afc2a0-9644-4b40-8efa-0195c510bb77" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_AAONOklahomaMember_257ffe0f-83bc-4efb-b0cd-184d65c3b0df" xlink:href="aaon-20221231.xsd#aaon_AAONOklahomaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_08afc2a0-9644-4b40-8efa-0195c510bb77" xlink:to="loc_aaon_AAONOklahomaMember_257ffe0f-83bc-4efb-b0cd-184d65c3b0df" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_AAONCoilProductsMember_1a2701fe-c44f-46bd-8e5b-7078b32af40f" xlink:href="aaon-20221231.xsd#aaon_AAONCoilProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_08afc2a0-9644-4b40-8efa-0195c510bb77" xlink:to="loc_aaon_AAONCoilProductsMember_1a2701fe-c44f-46bd-8e5b-7078b32af40f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXMember_f3bae85e-ed6d-47e0-9f5a-1572be82a363" xlink:href="aaon-20221231.xsd#aaon_BasXMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_08afc2a0-9644-4b40-8efa-0195c510bb77" xlink:to="loc_aaon_BasXMember_f3bae85e-ed6d-47e0-9f5a-1572be82a363" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_0a410f5f-2890-4b73-8e5d-4b52a9b82df4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_01b16799-a0a4-4fa8-8beb-0e9f3f4124b7" xlink:to="loc_srt_ProductOrServiceAxis_0a410f5f-2890-4b73-8e5d-4b52a9b82df4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_0a410f5f-2890-4b73-8e5d-4b52a9b82df4_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_0a410f5f-2890-4b73-8e5d-4b52a9b82df4" xlink:to="loc_srt_ProductsAndServicesDomain_0a410f5f-2890-4b73-8e5d-4b52a9b82df4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_0a410f5f-2890-4b73-8e5d-4b52a9b82df4" xlink:to="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_RooftopUnitsMember_9741f736-65b2-4119-8653-86060684d71f" xlink:href="aaon-20221231.xsd#aaon_RooftopUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_RooftopUnitsMember_9741f736-65b2-4119-8653-86060684d71f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_CondensingUnitsMember_58da51e9-3f47-472a-aee6-26708cda7c80" xlink:href="aaon-20221231.xsd#aaon_CondensingUnitsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_CondensingUnitsMember_58da51e9-3f47-472a-aee6-26708cda7c80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_AirHandlersMember_3c2e4673-2b93-4a5e-818f-e70a07fcd45c" xlink:href="aaon-20221231.xsd#aaon_AirHandlersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_AirHandlersMember_3c2e4673-2b93-4a5e-818f-e70a07fcd45c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_OutdoorMechanicalRoomsMember_2ca24938-229a-49ac-8496-5822b8b65258" xlink:href="aaon-20221231.xsd#aaon_OutdoorMechanicalRoomsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_OutdoorMechanicalRoomsMember_2ca24938-229a-49ac-8496-5822b8b65258" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_CleanroomSystemsMember_e1dfdfeb-649a-4f72-b505-2b35ef80fef5" xlink:href="aaon-20221231.xsd#aaon_CleanroomSystemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_CleanroomSystemsMember_e1dfdfeb-649a-4f72-b505-2b35ef80fef5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_DataCenterCoolingSolutionsMember_53cd55f2-a971-4a28-bb8a-a9bef6e17729" xlink:href="aaon-20221231.xsd#aaon_DataCenterCoolingSolutionsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_DataCenterCoolingSolutionsMember_53cd55f2-a971-4a28-bb8a-a9bef6e17729" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_WaterSourceHeatPumpsMember_cb1a64dc-f3b7-443e-a814-1e13c6ab1b72" xlink:href="aaon-20221231.xsd#aaon_WaterSourceHeatPumpsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_WaterSourceHeatPumpsMember_cb1a64dc-f3b7-443e-a814-1e13c6ab1b72" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_PartSalesMember_7126e5db-a3f3-4736-b36b-e5e0bc75cc12" xlink:href="aaon-20221231.xsd#aaon_PartSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_aaon_PartSalesMember_7126e5db-a3f3-4736-b36b-e5e0bc75cc12" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_38feeaf7-2706-427e-8c2e-49506492e105" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_0b21e98a-d3f9-4f08-ae0a-73f5872e1df9" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_38feeaf7-2706-427e-8c2e-49506492e105" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/BusinessCombinationDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#BusinessCombinationDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/BusinessCombinationDetails" xlink:type="extended" id="i4caf54f5dbcf4d39b3470d7a9c32c83b_BusinessCombinationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_e0b524f3-15b4-4a87-a92c-3345f4fe1112" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_e0b524f3-15b4-4a87-a92c-3345f4fe1112" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_d5304290-2734-4f98-baa7-50849573f70b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_d5304290-2734-4f98-baa7-50849573f70b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable_d2ca6b75-bc5b-46b4-8017-a30bc616fb39" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable_d2ca6b75-bc5b-46b4-8017-a30bc616fb39" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireRealEstate_6cf12594-491f-44c8-815e-d9e71afe2357" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsToAcquireRealEstate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_PaymentsToAcquireRealEstate_6cf12594-491f-44c8-815e-d9e71afe2357" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalFees_2d7e7a6c-4e7c-401b-af30-7b1f0868df48" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfessionalFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_ProfessionalFees_2d7e7a6c-4e7c-401b-af30-7b1f0868df48" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_2c7955df-8612-448b-8c95-1703cf2310db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables_2c7955df-8612-448b-8c95-1703cf2310db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_e3d5cf06-8d8e-4118-8616-c0f771e9b1e3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedInventory_e3d5cf06-8d8e-4118-8616-c0f771e9b1e3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_750fb435-bdd6-40b8-8594-9d4f034b77b7" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractAssets_750fb435-bdd6-40b8-8594-9d4f034b77b7" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_9eb9cca7-5bbd-4ed2-8db1-52a1f312ee58" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsPrepaidExpenseAndOtherAssets_9eb9cca7-5bbd-4ed2-8db1-52a1f312ee58" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_84a2d6af-afb7-42c9-8db4-70a040fc408a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_84a2d6af-afb7-42c9-8db4-70a040fc408a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_84c61dcb-9916-439e-92cf-c54a63b0a968" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAssets_84c61dcb-9916-439e-92cf-c54a63b0a968" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_e02272d0-381b-43c3-99d4-2bf33f2bb761" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_e02272d0-381b-43c3-99d4-2bf33f2bb761" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles_97f05c1a-2336-43fe-8434-40cb6ceab04a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIntangibles_97f05c1a-2336-43fe-8434-40cb6ceab04a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_67da429f-a55b-4c7d-aac5-305c5115b7c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Goodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_Goodwill_67da429f-a55b-4c7d-aac5-305c5115b7c6" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentGoodwill_db244da7-9299-4e91-b75b-f12bd62e2b44" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentGoodwill_db244da7-9299-4e91-b75b-f12bd62e2b44" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_3033b284-a113-46f5-bace-f82a452b0760" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_3033b284-a113-46f5-bace-f82a452b0760" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities_a9b767ef-9cb1-494d-9033-5ec59828718e" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilities_a9b767ef-9cb1-494d-9033-5ec59828718e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_d819b642-82e3-4e56-abb1-2f9ec8fe9c36" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContractLiabilities_d819b642-82e3-4e56-abb1-2f9ec8fe9c36" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilities_cfaad755-55df-4393-ad6d-63e0381a0a45" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseLiabilities_cfaad755-55df-4393-ad6d-63e0381a0a45" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_f6f21db0-1a3b-447e-bc52-0292be136b67" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_f6f21db0-1a3b-447e-bc52-0292be136b67" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContingentConsideration_5d0506ea-7e5e-4ad3-99af-b3a46749bf36" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContingentConsideration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentContingentConsideration_5d0506ea-7e5e-4ad3-99af-b3a46749bf36" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_81dbeb6f-9bbe-4e66-ad42-6147882154b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_81dbeb6f-9bbe-4e66-ad42-6147882154b9" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationTransferred_c48187fc-7566-4d74-9221-2ad81c9024f2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNetAbstract_a2ac7c6e-dadf-458f-9aa9-705d62bd9463" xlink:to="loc_us-gaap_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentConsiderationTransferred_c48187fc-7566-4d74-9221-2ad81c9024f2" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_0b24722a-bf38-48f2-9584-0a7aa8f3fc5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_0b24722a-bf38-48f2-9584-0a7aa8f3fc5b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentFiniteLivedIntangibles_f604aafd-adb1-4793-b220-685055d829ea" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentFiniteLivedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:to="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentFiniteLivedIntangibles_f604aafd-adb1-4793-b220-685055d829ea" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_9ac60e31-e8d2-411e-b117-564d87012db4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefinitelivedIntangibleAssetsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:to="loc_us-gaap_IndefinitelivedIntangibleAssetsAcquired_9ac60e31-e8d2-411e-b117-564d87012db4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIndefiniteLivedIntangibles_7de7610c-f187-4a15-bef8-9c7bdf21b095" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIndefiniteLivedIntangibles"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwillAbstract_47283f38-149d-40bb-8875-eafac7e4564a" xlink:to="loc_aaon_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentIndefiniteLivedIntangibles_7de7610c-f187-4a15-bef8-9c7bdf21b095" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_a4933725-9a58-43f3-8a78-392610b46897" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_BusinessAcquisitionPurchasePriceAllocationGoodwillExpectedTaxDeductibleAmount_a4933725-9a58-43f3-8a78-392610b46897" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionProFormaInformationAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_52ae588d-a45f-4acc-bfc4-c86844d0fd66" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaRevenue_52ae588d-a45f-4acc-bfc4-c86844d0fd66" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_79acd4e9-e4f6-4f6c-b243-d3686ea9060f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:to="loc_us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss_79acd4e9-e4f6-4f6c-b243-d3686ea9060f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_e382be5b-4c95-433d-8f0e-5d1627acf4e2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic_e382be5b-4c95-433d-8f0e-5d1627acf4e2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_90747987-ee98-4c91-ba97-d0e33410f401" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionProFormaInformationAbstract_3b53da60-482a-4243-b1e4-1d31cf947893" xlink:to="loc_us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted_90747987-ee98-4c91-ba97-d0e33410f401" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_56281798-b3b6-40c8-bfd3-e55d3f2c4edc" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9234a356-92bc-44cc-a201-01fb3f1e53cc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_cfdb1251-9c10-4564-9f8e-a8eabc2a3ab4" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9234a356-92bc-44cc-a201-01fb3f1e53cc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXLLCMember_632e9e79-d4e4-4453-9e74-ee84d0943cc8" xlink:href="aaon-20221231.xsd#aaon_BasXLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_9234a356-92bc-44cc-a201-01fb3f1e53cc" xlink:to="loc_aaon_BasXLLCMember_632e9e79-d4e4-4453-9e74-ee84d0943cc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_09345906-f18a-4baf-a5d7-27246e77a1f7" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:to="loc_srt_TitleOfIndividualAxis_09345906-f18a-4baf-a5d7-27246e77a1f7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_09345906-f18a-4baf-a5d7-27246e77a1f7_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_09345906-f18a-4baf-a5d7-27246e77a1f7" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_09345906-f18a-4baf-a5d7-27246e77a1f7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0a94b036-b015-40c4-84ab-6b93dab8dabc" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_09345906-f18a-4baf-a5d7-27246e77a1f7" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0a94b036-b015-40c4-84ab-6b93dab8dabc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_FormerOwnersOfBasXMember_23d315d3-2b19-410c-bb43-71887bfed42b" xlink:href="aaon-20221231.xsd#aaon_FormerOwnersOfBasXMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0a94b036-b015-40c4-84ab-6b93dab8dabc" xlink:to="loc_aaon_FormerOwnersOfBasXMember_23d315d3-2b19-410c-bb43-71887bfed42b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_KeyEmployeesOfBasXMember_74c0d71d-43b1-4bb9-a076-f024c28039ca" xlink:href="aaon-20221231.xsd#aaon_KeyEmployeesOfBasXMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_0a94b036-b015-40c4-84ab-6b93dab8dabc" xlink:to="loc_aaon_KeyEmployeesOfBasXMember_74c0d71d-43b1-4bb9-a076-f024c28039ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_d136b19f-c14d-4feb-b539-485a3b125891" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:to="loc_srt_CounterpartyNameAxis_d136b19f-c14d-4feb-b539-485a3b125891" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d136b19f-c14d-4feb-b539-485a3b125891_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_d136b19f-c14d-4feb-b539-485a3b125891" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_d136b19f-c14d-4feb-b539-485a3b125891_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a3d924e0-7d89-436c-8f55-4a65dadd745c" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_d136b19f-c14d-4feb-b539-485a3b125891" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a3d924e0-7d89-436c-8f55-4a65dadd745c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXPropertiesLLCMember_51cb477a-9587-4ef0-85ed-0a8e8c868313" xlink:href="aaon-20221231.xsd#aaon_BasXPropertiesLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_a3d924e0-7d89-436c-8f55-4a65dadd745c" xlink:to="loc_aaon_BasXPropertiesLLCMember_51cb477a-9587-4ef0-85ed-0a8e8c868313" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_159cd870-d71a-4269-b112-55e3c723e155" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_159cd870-d71a-4269-b112-55e3c723e155" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_159cd870-d71a-4269-b112-55e3c723e155_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_159cd870-d71a-4269-b112-55e3c723e155" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_159cd870-d71a-4269-b112-55e3c723e155_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_a4870dcb-3489-4a52-9ff3-e147df73624f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_159cd870-d71a-4269-b112-55e3c723e155" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_a4870dcb-3489-4a52-9ff3-e147df73624f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntellectualPropertyMember_5ee5a890-92df-4158-8957-50a97bb07d9f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntellectualPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_a4870dcb-3489-4a52-9ff3-e147df73624f" xlink:to="loc_us-gaap_IntellectualPropertyMember_5ee5a890-92df-4158-8957-50a97bb07d9f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_7a3a0e4c-4e00-4544-b4fc-e558af4148e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_a4870dcb-3489-4a52-9ff3-e147df73624f" xlink:to="loc_us-gaap_CustomerRelationshipsMember_7a3a0e4c-4e00-4544-b4fc-e558af4148e7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08e45942-6cd1-416e-abe1-01f7c3b34f86" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_7d0da67e-0bfa-4771-b0b1-87a8fd1fb35c" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08e45942-6cd1-416e-abe1-01f7c3b34f86" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_08e45942-6cd1-416e-abe1-01f7c3b34f86_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08e45942-6cd1-416e-abe1-01f7c3b34f86" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_08e45942-6cd1-416e-abe1-01f7c3b34f86_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_4b55f2fc-0198-4d03-93c5-ef133840afb3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_08e45942-6cd1-416e-abe1-01f7c3b34f86" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_4b55f2fc-0198-4d03-93c5-ef133840afb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_b717f76b-e398-4152-9cb4-99a11e398b03" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_4b55f2fc-0198-4d03-93c5-ef133840afb3" xlink:to="loc_us-gaap_TrademarksMember_b717f76b-e398-4152-9cb4-99a11e398b03" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/LeasesDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#LeasesDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/LeasesDetails" xlink:type="extended" id="ia50c443cf96f4603bc3d8df6ab10901e_LeasesDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_cb34b7b7-379c-4d78-9373-3daf26fdbe3d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_NumberOfSquareFeetInLeaseAgreement_f9e5a709-e5d0-470b-8320-40e27f41cbd9" xlink:href="aaon-20221231.xsd#aaon_NumberOfSquareFeetInLeaseAgreement"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cb34b7b7-379c-4d78-9373-3daf26fdbe3d" xlink:to="loc_aaon_NumberOfSquareFeetInLeaseAgreement_f9e5a709-e5d0-470b-8320-40e27f41cbd9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_ec9a8480-0ff4-4c2d-9ed7-1625e2ead7b4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_cb34b7b7-379c-4d78-9373-3daf26fdbe3d" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_ec9a8480-0ff4-4c2d-9ed7-1625e2ead7b4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_b8b60852-3c7b-4656-a29d-85d7a3f23291" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_ec9a8480-0ff4-4c2d-9ed7-1625e2ead7b4" xlink:to="loc_srt_StatementGeographicalAxis_b8b60852-3c7b-4656-a29d-85d7a3f23291" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_b8b60852-3c7b-4656-a29d-85d7a3f23291_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_b8b60852-3c7b-4656-a29d-85d7a3f23291" xlink:to="loc_srt_SegmentGeographicalDomain_b8b60852-3c7b-4656-a29d-85d7a3f23291_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_c36c60e5-69e0-4436-9a0a-e3940d5c9303" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_b8b60852-3c7b-4656-a29d-85d7a3f23291" xlink:to="loc_srt_SegmentGeographicalDomain_c36c60e5-69e0-4436-9a0a-e3940d5c9303" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_MO_58477570-8c89-40d7-be52-27049777dc87" xlink:href="https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd#stpr_MO"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_c36c60e5-69e0-4436-9a0a-e3940d5c9303" xlink:to="loc_stpr_MO_58477570-8c89-40d7-be52-27049777dc87" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_OK_51df3df9-c059-4f68-91d4-9648c0d36ded" xlink:href="https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd#stpr_OK"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_c36c60e5-69e0-4436-9a0a-e3940d5c9303" xlink:to="loc_stpr_OK_51df3df9-c059-4f68-91d4-9648c0d36ded" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_226da69f-e912-4b95-9fd7-49f5940e4c75" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_ec9a8480-0ff4-4c2d-9ed7-1625e2ead7b4" xlink:to="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_226da69f-e912-4b95-9fd7-49f5940e4c75" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_226da69f-e912-4b95-9fd7-49f5940e4c75_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MortgageLoansOnRealEstateNamePropertyTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_226da69f-e912-4b95-9fd7-49f5940e4c75" xlink:to="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_226da69f-e912-4b95-9fd7-49f5940e4c75_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_ab10fe14-cfd9-4cea-9cc8-33966cc0522f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MortgageLoansOnRealEstateNamePropertyTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_226da69f-e912-4b95-9fd7-49f5940e4c75" xlink:to="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_ab10fe14-cfd9-4cea-9cc8-33966cc0522f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_IndustrialPropertyMember_ac914d3d-fb42-4bbd-bac4-b801e5fc2b95" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_IndustrialPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_ab10fe14-cfd9-4cea-9cc8-33966cc0522f" xlink:to="loc_srt_IndustrialPropertyMember_ac914d3d-fb42-4bbd-bac4-b801e5fc2b95" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_OfficeBuildingMember_b954530e-bc12-4236-a714-b34d9cfac493" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_OfficeBuildingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_ab10fe14-cfd9-4cea-9cc8-33966cc0522f" xlink:to="loc_srt_OfficeBuildingMember_b954530e-bc12-4236-a714-b34d9cfac493" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/IntangibleAssetsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#IntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/IntangibleAssetsDetails" xlink:type="extended" id="ib71efd0758c4451cbefba6b5b01f9df6_IntangibleAssetsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_fba082a0-ab98-4989-bffb-2f2632cc8211" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_40d5e33c-af8c-488b-8cac-75236192259e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_fba082a0-ab98-4989-bffb-2f2632cc8211" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_40d5e33c-af8c-488b-8cac-75236192259e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25307601-bbb7-47c0-99e0-f24c1b1a1706" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_fba082a0-ab98-4989-bffb-2f2632cc8211" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25307601-bbb7-47c0-99e0-f24c1b1a1706" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_daaf7582-d128-4364-9482-d4f1f3374dab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_fba082a0-ab98-4989-bffb-2f2632cc8211" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_daaf7582-d128-4364-9482-d4f1f3374dab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d464e078-6161-49ac-b586-a179ae10aafa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_fba082a0-ab98-4989-bffb-2f2632cc8211" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d464e078-6161-49ac-b586-a179ae10aafa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4d1689c4-78f9-4ade-827b-0db3acf52694" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_d464e078-6161-49ac-b586-a179ae10aafa" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4d1689c4-78f9-4ade-827b-0db3acf52694" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4d1689c4-78f9-4ade-827b-0db3acf52694_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4d1689c4-78f9-4ade-827b-0db3acf52694" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4d1689c4-78f9-4ade-827b-0db3acf52694_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47b5a8f9-6b76-4498-b045-dd73558c7cf5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_4d1689c4-78f9-4ade-827b-0db3acf52694" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47b5a8f9-6b76-4498-b045-dd73558c7cf5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntellectualPropertyMember_3fe9a157-2346-414e-9ead-40e47c08a8db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntellectualPropertyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47b5a8f9-6b76-4498-b045-dd73558c7cf5" xlink:to="loc_us-gaap_IntellectualPropertyMember_3fe9a157-2346-414e-9ead-40e47c08a8db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerRelationshipsMember_640d5374-b456-4e0a-83c8-d44cf1c8874f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CustomerRelationshipsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_47b5a8f9-6b76-4498-b045-dd73558c7cf5" xlink:to="loc_us-gaap_CustomerRelationshipsMember_640d5374-b456-4e0a-83c8-d44cf1c8874f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_1e89ac81-4484-4712-b229-5249923dfdf9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_0eb99851-8342-41d6-b745-fb4c2219c211" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_1e89ac81-4484-4712-b229-5249923dfdf9" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_0eb99851-8342-41d6-b745-fb4c2219c211" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_53755710-ecc9-447b-9af7-7c2bea10ed96" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassLineItems_1e89ac81-4484-4712-b229-5249923dfdf9" xlink:to="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_53755710-ecc9-447b-9af7-7c2bea10ed96" xlink:type="arc" order="2" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_77155a56-79c1-47cc-95c4-b71b36792288" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfIndefiniteLivedIntangibleAssetsTable_53755710-ecc9-447b-9af7-7c2bea10ed96" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_77155a56-79c1-47cc-95c4-b71b36792288" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_77155a56-79c1-47cc-95c4-b71b36792288_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_77155a56-79c1-47cc-95c4-b71b36792288" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_77155a56-79c1-47cc-95c4-b71b36792288_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_bec609e3-6657-4abf-824b-846ca0a8065b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsByMajorClassAxis_77155a56-79c1-47cc-95c4-b71b36792288" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_bec609e3-6657-4abf-824b-846ca0a8065b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TrademarksMember_3379e332-b3a2-4913-a344-c80a88ef156c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TrademarksMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IndefiniteLivedIntangibleAssetsMajorClassNameDomain_bec609e3-6657-4abf-824b-846ca0a8065b" xlink:to="loc_us-gaap_TrademarksMember_3379e332-b3a2-4913-a344-c80a88ef156c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/RevolvingCreditFacilityDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#RevolvingCreditFacilityDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/RevolvingCreditFacilityDetails" xlink:type="extended" id="ibd63b25a89cb497780c411ab41a0c17c_RevolvingCreditFacilityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d97e5e8b-251b-4d69-b005-cf9c2579fc6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_d97e5e8b-251b-4d69-b005-cf9c2579fc6e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_LineOfCreditFacilityMaximumBorrowingCapacityOption_8e88d31b-a1a2-4448-8b68-eb619ab5ef59" xlink:href="aaon-20221231.xsd#aaon_LineOfCreditFacilityMaximumBorrowingCapacityOption"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_aaon_LineOfCreditFacilityMaximumBorrowingCapacityOption_8e88d31b-a1a2-4448-8b68-eb619ab5ef59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_2c5db173-e2d9-4e78-bf19-6fb3c4b2b19d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_LineOfCredit_2c5db173-e2d9-4e78-bf19-6fb3c4b2b19d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_LineOfCreditFacilityStandbyLetterOfCredit_55ba66b6-f994-40a0-a6cc-aeebe4724296" xlink:href="aaon-20221231.xsd#aaon_LineOfCreditFacilityStandbyLetterOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_aaon_LineOfCreditFacilityStandbyLetterOfCredit_55ba66b6-f994-40a0-a6cc-aeebe4724296" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_70ea63b6-0116-4096-b01b-fc13aba9ef2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity_70ea63b6-0116-4096-b01b-fc13aba9ef2f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_DebtInstrumentApplicableMargin_6c7f1a22-a512-48af-9de2-0b93dfff822f" xlink:href="aaon-20221231.xsd#aaon_DebtInstrumentApplicableMargin"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_aaon_DebtInstrumentApplicableMargin_6c7f1a22-a512-48af-9de2-0b93dfff822f" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_05205531-554c-4be1-aa45-25bc4cf80a7e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityCommitmentFeePercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_LineOfCreditFacilityCommitmentFeePercentage_05205531-554c-4be1-aa45-25bc4cf80a7e" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_b844e0c2-940a-40d8-bf10-911b2602aa70" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_b844e0c2-940a-40d8-bf10-911b2602aa70" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_c44abf7c-001b-4c6b-9f79-95dbed17cf80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_c44abf7c-001b-4c6b-9f79-95dbed17cf80" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_RatioOfTotalLiabilityToNetWorth_56910e64-18f3-4915-81d4-0be1dbf40b27" xlink:href="aaon-20221231.xsd#aaon_RatioOfTotalLiabilityToNetWorth"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_aaon_RatioOfTotalLiabilityToNetWorth_56910e64-18f3-4915-81d4-0be1dbf40b27" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_MaximumRatioOfTotalLiabilityToNetWorthRequiredForCompliance_9bf37309-835e-4ab0-beb2-204a12ebd5d8" xlink:href="aaon-20221231.xsd#aaon_MaximumRatioOfTotalLiabilityToNetWorthRequiredForCompliance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_aaon_MaximumRatioOfTotalLiabilityToNetWorthRequiredForCompliance_9bf37309-835e-4ab0-beb2-204a12ebd5d8" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_824d5e9a-bf26-4096-9c0f-de083ccca669" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_bf00d19a-a429-4290-bc3c-811d69edebb7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:to="loc_us-gaap_CreditFacilityAxis_bf00d19a-a429-4290-bc3c-811d69edebb7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_bf00d19a-a429-4290-bc3c-811d69edebb7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_bf00d19a-a429-4290-bc3c-811d69edebb7" xlink:to="loc_us-gaap_CreditFacilityDomain_bf00d19a-a429-4290-bc3c-811d69edebb7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_2e2361a6-0988-458a-8268-857461c621c2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_bf00d19a-a429-4290-bc3c-811d69edebb7" xlink:to="loc_us-gaap_CreditFacilityDomain_2e2361a6-0988-458a-8268-857461c621c2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_4535c718-707b-4321-a6a7-9a245fe184ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2e2361a6-0988-458a-8268-857461c621c2" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_4535c718-707b-4321-a6a7-9a245fe184ea" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LetterOfCreditMember_908f3c6c-0cb1-4f34-9d81-ee1f4e097a6b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LetterOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_2e2361a6-0988-458a-8268-857461c621c2" xlink:to="loc_us-gaap_LetterOfCreditMember_908f3c6c-0cb1-4f34-9d81-ee1f4e097a6b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_b39023d9-641c-4f38-81ba-b430ae2feb3f" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:to="loc_srt_RangeAxis_b39023d9-641c-4f38-81ba-b430ae2feb3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_b39023d9-641c-4f38-81ba-b430ae2feb3f_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_b39023d9-641c-4f38-81ba-b430ae2feb3f" xlink:to="loc_srt_RangeMember_b39023d9-641c-4f38-81ba-b430ae2feb3f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_9c95d210-81aa-4a90-968c-7c03be7cd317" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_b39023d9-641c-4f38-81ba-b430ae2feb3f" xlink:to="loc_srt_RangeMember_9c95d210-81aa-4a90-968c-7c03be7cd317" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_7f8e6f64-d9ed-43b6-a5a1-179c65641dc1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9c95d210-81aa-4a90-968c-7c03be7cd317" xlink:to="loc_srt_MinimumMember_7f8e6f64-d9ed-43b6-a5a1-179c65641dc1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_41b6a299-8fdd-45a1-a3fb-cd0a1c3270e1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_9c95d210-81aa-4a90-968c-7c03be7cd317" xlink:to="loc_srt_MaximumMember_41b6a299-8fdd-45a1-a3fb-cd0a1c3270e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis_3a2ba36d-25d5-4811-b5dd-24e7bad5844a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:to="loc_us-gaap_VariableRateAxis_3a2ba36d-25d5-4811-b5dd-24e7bad5844a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_3a2ba36d-25d5-4811-b5dd-24e7bad5844a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_3a2ba36d-25d5-4811-b5dd-24e7bad5844a" xlink:to="loc_us-gaap_VariableRateDomain_3a2ba36d-25d5-4811-b5dd-24e7bad5844a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain_ea494056-455b-4b0e-8d98-04ba0ebe77ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_VariableRateDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_3a2ba36d-25d5-4811-b5dd-24e7bad5844a" xlink:to="loc_us-gaap_VariableRateDomain_ea494056-455b-4b0e-8d98-04ba0ebe77ea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BaseRateMember_6b2755e0-6c57-461d-98b4-86dc383194c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BaseRateMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_ea494056-455b-4b0e-8d98-04ba0ebe77ea" xlink:to="loc_us-gaap_BaseRateMember_6b2755e0-6c57-461d-98b4-86dc383194c9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_SecuredOvernightFinancingRateSOFRMember_720db077-5c48-4377-906c-744e81684904" xlink:href="aaon-20221231.xsd#aaon_SecuredOvernightFinancingRateSOFRMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_ea494056-455b-4b0e-8d98-04ba0ebe77ea" xlink:to="loc_aaon_SecuredOvernightFinancingRateSOFRMember_720db077-5c48-4377-906c-744e81684904" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_189abaa6-4249-4a82-802f-65fc01ff40bf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_ea494056-455b-4b0e-8d98-04ba0ebe77ea" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_189abaa6-4249-4a82-802f-65fc01ff40bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_439c68e5-ef9b-4c9f-aee7-7353951177e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_2c16db3b-62fb-47cc-b6a2-4237c5c40dc0" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_439c68e5-ef9b-4c9f-aee7-7353951177e5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_439c68e5-ef9b-4c9f-aee7-7353951177e5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_439c68e5-ef9b-4c9f-aee7-7353951177e5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_439c68e5-ef9b-4c9f-aee7-7353951177e5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_d99cca8b-c8fc-49ce-bf0a-4ef89972f39d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_439c68e5-ef9b-4c9f-aee7-7353951177e5" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_d99cca8b-c8fc-49ce-bf0a-4ef89972f39d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_e99992b3-922c-414a-9aaa-65a9c404f2d1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_d99cca8b-c8fc-49ce-bf0a-4ef89972f39d" xlink:to="loc_us-gaap_SubsequentEventMember_e99992b3-922c-414a-9aaa-65a9c404f2d1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/IncomeTaxesNarrativeDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#IncomeTaxesNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" id="i2ced5a80c2c1458ba0d669f8a15cb5e4_IncomeTaxesNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationLineItems_4ea6f205-2810-4b5e-ae71-ce1499585ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExaminationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_182fbb8b-2f50-4635-a83b-693407f6d9fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_4ea6f205-2810-4b5e-ae71-ce1499585ae6" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_182fbb8b-2f50-4635-a83b-693407f6d9fc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_5c0b617d-563b-4e02-aa26-83b7950cb577" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_4ea6f205-2810-4b5e-ae71-ce1499585ae6" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_5c0b617d-563b-4e02-aa26-83b7950cb577" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_e11e88e5-884e-4b56-a878-d3df15350fcc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_4ea6f205-2810-4b5e-ae71-ce1499585ae6" xlink:to="loc_us-gaap_DeferredTaxAssetsInProcessResearchAndDevelopment_e11e88e5-884e-4b56-a878-d3df15350fcc" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExaminationTable_ccae138d-3ea0-46fc-b0c5-05d34a9cb476" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExaminationTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeTaxExaminationLineItems_4ea6f205-2810-4b5e-ae71-ce1499585ae6" xlink:to="loc_us-gaap_IncomeTaxExaminationTable_ccae138d-3ea0-46fc-b0c5-05d34a9cb476" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_299ab03c-7541-4028-a9a9-0cd28c829621" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeTaxExaminationTable_ccae138d-3ea0-46fc-b0c5-05d34a9cb476" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_299ab03c-7541-4028-a9a9-0cd28c829621" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_299ab03c-7541-4028-a9a9-0cd28c829621_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_299ab03c-7541-4028-a9a9-0cd28c829621" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_299ab03c-7541-4028-a9a9-0cd28c829621_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_3f19a593-7062-4113-aa04-96e1a76b31bc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_299ab03c-7541-4028-a9a9-0cd28c829621" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_3f19a593-7062-4113-aa04-96e1a76b31bc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_4836b26c-23c4-448a-b203-09633c9b559c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_3f19a593-7062-4113-aa04-96e1a76b31bc" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_4836b26c-23c4-448a-b203-09633c9b559c" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationNarrativeDetails" xlink:type="extended" id="i332cc53bce604b36bcdaba469f7d9509_ShareBasedCompensationNarrativeDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_0c0bed16-82eb-401a-a5c2-9b35aeefc154" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_0c0bed16-82eb-401a-a5c2-9b35aeefc154" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_329b5c69-fe95-4b2d-b0aa-a013e9e92b17" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_329b5c69-fe95-4b2d-b0aa-a013e9e92b17" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionExercisePricePercentageFairMarketValue_78619f4c-ef8e-4d32-97ae-c532a93556c6" xlink:href="aaon-20221231.xsd#aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionExercisePricePercentageFairMarketValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionExercisePricePercentageFairMarketValue_78619f4c-ef8e-4d32-97ae-c532a93556c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_63cb3045-cfa5-4d35-bdc4-5247e82a33f5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_63cb3045-cfa5-4d35-bdc4-5247e82a33f5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_6c1545c2-c77f-4be6-b348-5113ab0c1bff" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_6c1545c2-c77f-4be6-b348-5113ab0c1bff" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_4197aaae-8e13-4b7a-a356-f3fc26f5bf2a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_4197aaae-8e13-4b7a-a356-f3fc26f5bf2a" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_b425f210-46d5-4fa3-aa86-ef95504957a0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_b425f210-46d5-4fa3-aa86-ef95504957a0" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardConversionOfSharesPercent_8c37e552-df20-4b1a-b859-ccaebe472f32" xlink:href="aaon-20221231.xsd#aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardConversionOfSharesPercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardConversionOfSharesPercent_8c37e552-df20-4b1a-b859-ccaebe472f32" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_67fec9f1-ecf9-409a-8fc6-5bd870a79344" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_54a33446-a32b-47e5-a956-7d77ca2620d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:to="loc_us-gaap_PlanNameAxis_54a33446-a32b-47e5-a956-7d77ca2620d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_54a33446-a32b-47e5-a956-7d77ca2620d4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_54a33446-a32b-47e5-a956-7d77ca2620d4" xlink:to="loc_us-gaap_PlanNameDomain_54a33446-a32b-47e5-a956-7d77ca2620d4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_4d690d62-913f-4f40-aed9-d9e90aec6ad2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_54a33446-a32b-47e5-a956-7d77ca2620d4" xlink:to="loc_us-gaap_PlanNameDomain_4d690d62-913f-4f40-aed9-d9e90aec6ad2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_StockCompensationPlanAMember_9eda7fcc-e49b-442c-bb45-379769d5ab58" xlink:href="aaon-20221231.xsd#aaon_StockCompensationPlanAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_4d690d62-913f-4f40-aed9-d9e90aec6ad2" xlink:to="loc_aaon_StockCompensationPlanAMember_9eda7fcc-e49b-442c-bb45-379769d5ab58" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_A2016LongTermIncentivePlanMember_6d118c96-2f6e-4516-a4ab-6f682fd9499a" xlink:href="aaon-20221231.xsd#aaon_A2016LongTermIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_4d690d62-913f-4f40-aed9-d9e90aec6ad2" xlink:to="loc_aaon_A2016LongTermIncentivePlanMember_6d118c96-2f6e-4516-a4ab-6f682fd9499a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_78f8bef3-f091-4003-8d32-61dea4fcea3f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:to="loc_us-gaap_AwardTypeAxis_78f8bef3-f091-4003-8d32-61dea4fcea3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78f8bef3-f091-4003-8d32-61dea4fcea3f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_78f8bef3-f091-4003-8d32-61dea4fcea3f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_78f8bef3-f091-4003-8d32-61dea4fcea3f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0010046-d920-419d-a85d-48e8b9a661f4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_78f8bef3-f091-4003-8d32-61dea4fcea3f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0010046-d920-419d-a85d-48e8b9a661f4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockOptionMember_cc6cc0ec-b345-444b-8457-7c7c5b76a2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0010046-d920-419d-a85d-48e8b9a661f4" xlink:to="loc_us-gaap_StockOptionMember_cc6cc0ec-b345-444b-8457-7c7c5b76a2a3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_7e94f07d-ea0a-4668-b61c-c20848dba9dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0010046-d920-419d-a85d-48e8b9a661f4" xlink:to="loc_us-gaap_RestrictedStockMember_7e94f07d-ea0a-4668-b61c-c20848dba9dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_fbd283cb-c7b6-4954-9ac2-0ef3f5bbf291" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_c0010046-d920-419d-a85d-48e8b9a661f4" xlink:to="loc_us-gaap_PerformanceSharesMember_fbd283cb-c7b6-4954-9ac2-0ef3f5bbf291" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_1f37a019-04c9-4f19-a1bd-34f22256ab87" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:to="loc_srt_RangeAxis_1f37a019-04c9-4f19-a1bd-34f22256ab87" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_1f37a019-04c9-4f19-a1bd-34f22256ab87_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_1f37a019-04c9-4f19-a1bd-34f22256ab87" xlink:to="loc_srt_RangeMember_1f37a019-04c9-4f19-a1bd-34f22256ab87_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_5f45df26-2e83-45f6-b25c-11693c76bce2" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_1f37a019-04c9-4f19-a1bd-34f22256ab87" xlink:to="loc_srt_RangeMember_5f45df26-2e83-45f6-b25c-11693c76bce2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_66016041-79cd-431c-9d92-d61888bbd06a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_5f45df26-2e83-45f6-b25c-11693c76bce2" xlink:to="loc_srt_MinimumMember_66016041-79cd-431c-9d92-d61888bbd06a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_4ce186a8-8354-4557-b061-9c7c78784d32" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_5f45df26-2e83-45f6-b25c-11693c76bce2" xlink:to="loc_srt_MaximumMember_4ce186a8-8354-4557-b061-9c7c78784d32" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_6392c8d9-a80d-4974-8a38-ef67980cf05d" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_ec6c2304-40ed-4054-bdbf-438903b2d3fa" xlink:to="loc_srt_TitleOfIndividualAxis_6392c8d9-a80d-4974-8a38-ef67980cf05d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6392c8d9-a80d-4974-8a38-ef67980cf05d_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_6392c8d9-a80d-4974-8a38-ef67980cf05d" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6392c8d9-a80d-4974-8a38-ef67980cf05d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55b8dc3c-d23d-4491-9e70-8cabf9c8d7b5" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_6392c8d9-a80d-4974-8a38-ef67980cf05d" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55b8dc3c-d23d-4491-9e70-8cabf9c8d7b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_KeyEmployeeMember_11b4601c-bc65-406d-bdf1-691f41a1472b" xlink:href="aaon-20221231.xsd#aaon_KeyEmployeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_55b8dc3c-d23d-4491-9e70-8cabf9c8d7b5" xlink:to="loc_aaon_KeyEmployeeMember_11b4601c-bc65-406d-bdf1-691f41a1472b" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofAssumptionsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofAssumptionsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofAssumptionsDetails" xlink:type="extended" id="idea3113f3e1d4b538a5eb52ca7638c3f_ShareBasedCompensationSummaryofAssumptionsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_62ce03d8-165a-4566-9aa8-8a1f25eabf88" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_62ce03d8-165a-4566-9aa8-8a1f25eabf88" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_442cddda-8dca-44ad-a95d-1fdb9e05f3e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_442cddda-8dca-44ad-a95d-1fdb9e05f3e5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_d34a7066-5f48-4856-b5cf-33951295d05e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_d34a7066-5f48-4856-b5cf-33951295d05e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_5ab3a6e2-299d-4b5e-a558-b5d40fa0e0e0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_5ab3a6e2-299d-4b5e-a558-b5d40fa0e0e0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_af87616d-5479-4bcc-b905-3e0dd216a2ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_792f769b-c4f3-49bd-88e1-e89f899644ef" xlink:to="loc_us-gaap_StatementTable_af87616d-5479-4bcc-b905-3e0dd216a2ec" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_af87616d-5479-4bcc-b905-3e0dd216a2ec" xlink:to="loc_us-gaap_PlanNameAxis_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab" xlink:to="loc_us-gaap_PlanNameDomain_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_35aa5197-9280-4e47-93b1-abc66e2b9a9a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_7e7e1ef7-6ba0-47f5-94a7-c574a41e8fab" xlink:to="loc_us-gaap_PlanNameDomain_35aa5197-9280-4e47-93b1-abc66e2b9a9a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_StockCompensationPlanAMember_f3e5182f-0fde-4923-beaf-de8bd1f951db" xlink:href="aaon-20221231.xsd#aaon_StockCompensationPlanAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_35aa5197-9280-4e47-93b1-abc66e2b9a9a" xlink:to="loc_aaon_StockCompensationPlanAMember_f3e5182f-0fde-4923-beaf-de8bd1f951db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_eb959cc4-f0a7-4d02-853f-7ffcea185d26" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_af87616d-5479-4bcc-b905-3e0dd216a2ec" xlink:to="loc_srt_TitleOfIndividualAxis_eb959cc4-f0a7-4d02-853f-7ffcea185d26" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_eb959cc4-f0a7-4d02-853f-7ffcea185d26_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_eb959cc4-f0a7-4d02-853f-7ffcea185d26" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_eb959cc4-f0a7-4d02-853f-7ffcea185d26_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6f2eae35-0526-4975-9ec3-8302a1f8ef44" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_eb959cc4-f0a7-4d02-853f-7ffcea185d26" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6f2eae35-0526-4975-9ec3-8302a1f8ef44" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_DirectorandOfficersMember_60580dab-a597-4d1c-98a1-176e6f7a9769" xlink:href="aaon-20221231.xsd#aaon_DirectorandOfficersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6f2eae35-0526-4975-9ec3-8302a1f8ef44" xlink:to="loc_aaon_DirectorandOfficersMember_60580dab-a597-4d1c-98a1-176e6f7a9769" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_StockOptionsAMember_d9fb41bd-895c-4e25-a600-48f86b51f1fa" xlink:href="aaon-20221231.xsd#aaon_StockOptionsAMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_6f2eae35-0526-4975-9ec3-8302a1f8ef44" xlink:to="loc_aaon_StockOptionsAMember_d9fb41bd-895c-4e25-a600-48f86b51f1fa" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_f40d24f4-a9c4-4a00-89f1-69f03d35412c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_af87616d-5479-4bcc-b905-3e0dd216a2ec" xlink:to="loc_us-gaap_AwardTypeAxis_f40d24f4-a9c4-4a00-89f1-69f03d35412c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f40d24f4-a9c4-4a00-89f1-69f03d35412c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_f40d24f4-a9c4-4a00-89f1-69f03d35412c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_f40d24f4-a9c4-4a00-89f1-69f03d35412c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0de38f7c-4898-4728-abd0-7e5f2e5078ab" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_f40d24f4-a9c4-4a00-89f1-69f03d35412c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0de38f7c-4898-4728-abd0-7e5f2e5078ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_54402856-c51a-4ad2-95eb-06808b7786e7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0de38f7c-4898-4728-abd0-7e5f2e5078ab" xlink:to="loc_us-gaap_PerformanceSharesMember_54402856-c51a-4ad2-95eb-06808b7786e7" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofStockOptionsOutstandingDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofStockOptionsOutstandingDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofStockOptionsOutstandingDetails" xlink:type="extended" id="id1a0732bd1fe42ad9c43c406833e0190_ShareBasedCompensationSummaryofStockOptionsOutstandingDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_14693397-f1ff-4ad8-8891-77fd3c64bf5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_14693397-f1ff-4ad8-8891-77fd3c64bf5b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7dd8c471-b05a-4b6a-beef-dcfeee0bc99a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7dd8c471-b05a-4b6a-beef-dcfeee0bc99a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_38552a21-d0be-4bf6-aaa9-ff98e3127ef0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_38552a21-d0be-4bf6-aaa9-ff98e3127ef0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageRemainingContractualTerm2_75c1a0ca-d14e-4fe3-896a-bc57c80f2b73" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageRemainingContractualTerm2_75c1a0ca-d14e-4fe3-896a-bc57c80f2b73" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_51cbf034-d939-44e1-aec9-f9962158b3b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_51cbf034-d939-44e1-aec9-f9962158b3b7" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_09523161-ebad-4792-b4c9-3bc967db0f54" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1_09523161-ebad-4792-b4c9-3bc967db0f54" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_b96414cd-6176-412d-8fab-7fa8148a9cbf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_e26980a3-57d2-43a1-9504-a0c1cc24ce71" xlink:to="loc_us-gaap_StatementTable_b96414cd-6176-412d-8fab-7fa8148a9cbf" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_433421b1-6de5-404f-9920-3275d7a278a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_b96414cd-6176-412d-8fab-7fa8148a9cbf" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_433421b1-6de5-404f-9920-3275d7a278a6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_433421b1-6de5-404f-9920-3275d7a278a6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_433421b1-6de5-404f-9920-3275d7a278a6" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_433421b1-6de5-404f-9920-3275d7a278a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6cdd119b-61ab-4be1-8462-ae581ef854d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_433421b1-6de5-404f-9920-3275d7a278a6" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6cdd119b-61ab-4be1-8462-ae581ef854d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ExercisePriceRange1Member_a442e5bf-d59c-4e79-abf5-65f96b626bc7" xlink:href="aaon-20221231.xsd#aaon_ExercisePriceRange1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6cdd119b-61ab-4be1-8462-ae581ef854d2" xlink:to="loc_aaon_ExercisePriceRange1Member_a442e5bf-d59c-4e79-abf5-65f96b626bc7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ExercisePriceRange2Member_b1fa411a-d563-4616-8658-e6ed71e8868a" xlink:href="aaon-20221231.xsd#aaon_ExercisePriceRange2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6cdd119b-61ab-4be1-8462-ae581ef854d2" xlink:to="loc_aaon_ExercisePriceRange2Member_b1fa411a-d563-4616-8658-e6ed71e8868a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_RangeofExercisePrice7Member_0cb728e5-8005-4c51-9c9b-956a93e91962" xlink:href="aaon-20221231.xsd#aaon_RangeofExercisePrice7Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_6cdd119b-61ab-4be1-8462-ae581ef854d2" xlink:to="loc_aaon_RangeofExercisePrice7Member_0cb728e5-8005-4c51-9c9b-956a93e91962" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofUnvestedStockAwardsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofUnvestedStockAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofUnvestedStockAwardsDetails" xlink:type="extended" id="i86e25fbb043f4a68bef98106651952fa_ShareBasedCompensationSummaryofUnvestedStockAwardsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6e8615ab-d944-4bf1-80db-3339f109bf7f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6e8615ab-d944-4bf1-80db-3339f109bf7f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_d3afe611-0695-45bf-964a-4ed5a28c79c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_d3afe611-0695-45bf-964a-4ed5a28c79c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_55e76c3e-edfa-4605-b65e-063aee83f4a9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_55e76c3e-edfa-4605-b65e-063aee83f4a9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9a4eb43f-49f6-4593-a818-b28737b5c1af" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_9a4eb43f-49f6-4593-a818-b28737b5c1af" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_a1b64e2e-f8d3-4ef4-ad42-626e8c657448" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_9aeb3cbc-1e3c-43c8-b9cf-4a7b7a89117f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_a1b64e2e-f8d3-4ef4-ad42-626e8c657448" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_df34247a-0b38-4cde-ab2b-5d0567d3c9da" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6e8615ab-d944-4bf1-80db-3339f109bf7f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1fff79fc-5554-46ca-b8a5-2304f3bacea2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_1fff79fc-5554-46ca-b8a5-2304f3bacea2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_6776a1ec-a341-4da9-8757-5183fbd424c3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_6776a1ec-a341-4da9-8757-5183fbd424c3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_64dd0341-12dd-44af-bc1a-4eef2daffc4c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_64dd0341-12dd-44af-bc1a-4eef2daffc4c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_c341b00a-6b61-4c38-8ee1-af8037253530" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_7575faa1-5954-46d9-81b8-b7a2c4eb2dea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_c341b00a-6b61-4c38-8ee1-af8037253530" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_f76dbccf-ffbe-470a-bdc3-e943c8b093d5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_679e62e0-685e-413a-9f4b-1fd1d4ab7199" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_6e8615ab-d944-4bf1-80db-3339f109bf7f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_679e62e0-685e-413a-9f4b-1fd1d4ab7199" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_a400dc43-60f1-4320-b0ba-e795761e6f37" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_679e62e0-685e-413a-9f4b-1fd1d4ab7199" xlink:to="loc_us-gaap_AwardTypeAxis_a400dc43-60f1-4320-b0ba-e795761e6f37" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a400dc43-60f1-4320-b0ba-e795761e6f37_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_a400dc43-60f1-4320-b0ba-e795761e6f37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_a400dc43-60f1-4320-b0ba-e795761e6f37_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77144684-5a8e-47bf-919b-20448627c674" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_a400dc43-60f1-4320-b0ba-e795761e6f37" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77144684-5a8e-47bf-919b-20448627c674" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_d42d141d-6c96-4804-ae41-444ccd1d570f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77144684-5a8e-47bf-919b-20448627c674" xlink:to="loc_us-gaap_RestrictedStockMember_d42d141d-6c96-4804-ae41-444ccd1d570f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_9cf33616-da07-481b-baa5-40546aaae250" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_77144684-5a8e-47bf-919b-20448627c674" xlink:to="loc_us-gaap_PerformanceSharesMember_9cf33616-da07-481b-baa5-40546aaae250" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_a28fcc67-a4d6-425a-bc1d-b5e005f60d97" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_679e62e0-685e-413a-9f4b-1fd1d4ab7199" xlink:to="loc_srt_TitleOfIndividualAxis_a28fcc67-a4d6-425a-bc1d-b5e005f60d97" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_a28fcc67-a4d6-425a-bc1d-b5e005f60d97_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_a28fcc67-a4d6-425a-bc1d-b5e005f60d97" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_a28fcc67-a4d6-425a-bc1d-b5e005f60d97_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_8f834384-caf1-4229-bc3b-82e1fab89fc1" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_a28fcc67-a4d6-425a-bc1d-b5e005f60d97" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_8f834384-caf1-4229-bc3b-82e1fab89fc1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_KeyEmployeeMember_80e7399e-cbd2-4447-97cf-65515742b261" xlink:href="aaon-20221231.xsd#aaon_KeyEmployeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_8f834384-caf1-4229-bc3b-82e1fab89fc1" xlink:to="loc_aaon_KeyEmployeeMember_80e7399e-cbd2-4447-97cf-65515742b261" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofGrantDateFairValueofAwardsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofGrantDateFairValueofAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofGrantDateFairValueofAwardsDetails" xlink:type="extended" id="i27bf6f11daad44b2a918f3b8b8ce8a0b_ShareBasedCompensationSummaryofGrantDateFairValueofAwardsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_20d4dfa5-e9df-4756-a3e6-a49b7861e278" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardTotalAwardedInPeriodFairValue_532dc8cb-b77d-4b4c-b360-3193fdebb010" xlink:href="aaon-20221231.xsd#aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardTotalAwardedInPeriodFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_20d4dfa5-e9df-4756-a3e6-a49b7861e278" xlink:to="loc_aaon_ShareBasedCompensationArrangementByShareBasedPaymentAwardTotalAwardedInPeriodFairValue_532dc8cb-b77d-4b4c-b360-3193fdebb010" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2b0c0e7e-da52-425c-926e-a3797a946170" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_20d4dfa5-e9df-4756-a3e6-a49b7861e278" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2b0c0e7e-da52-425c-926e-a3797a946170" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_5f045d8c-c3aa-4f9d-8206-bbbff79592cf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_2b0c0e7e-da52-425c-926e-a3797a946170" xlink:to="loc_us-gaap_AwardTypeAxis_5f045d8c-c3aa-4f9d-8206-bbbff79592cf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5f045d8c-c3aa-4f9d-8206-bbbff79592cf_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5f045d8c-c3aa-4f9d-8206-bbbff79592cf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5f045d8c-c3aa-4f9d-8206-bbbff79592cf_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5f045d8c-c3aa-4f9d-8206-bbbff79592cf" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_0562efbd-4879-4998-a0fb-339f9d169f83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:to="loc_us-gaap_EmployeeStockOptionMember_0562efbd-4879-4998-a0fb-339f9d169f83" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_371a572c-df3d-4fcf-a358-3e54c945d18a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:to="loc_us-gaap_PerformanceSharesMember_371a572c-df3d-4fcf-a358-3e54c945d18a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_906033cc-2012-4846-9406-c9ec5963d6fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:to="loc_us-gaap_RestrictedStockMember_906033cc-2012-4846-9406-c9ec5963d6fb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_KeyEmployeeRestrictedStockMember_26a1e24c-fbae-407d-850d-e2c43cb4a86b" xlink:href="aaon-20221231.xsd#aaon_KeyEmployeeRestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_3c916946-8443-4766-982a-e6fc2b6cff8b" xlink:to="loc_aaon_KeyEmployeeRestrictedStockMember_26a1e24c-fbae-407d-850d-e2c43cb4a86b" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofShareBasedCompensationExpenseDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofShareBasedCompensationExpenseDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofShareBasedCompensationExpenseDetails" xlink:type="extended" id="i42dc503f1a1e4475a85c09e6bc40a5fa_ShareBasedCompensationSummaryofShareBasedCompensationExpenseDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0a69907-fa8b-491e-a274-87e20d19fe79" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_c35268aa-98a4-4005-b580-9d91ccafbc3a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0a69907-fa8b-491e-a274-87e20d19fe79" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_c35268aa-98a4-4005-b580-9d91ccafbc3a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_98a93b2e-56ea-4c1b-b8cb-e7e8fcc9fd1f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_f0a69907-fa8b-491e-a274-87e20d19fe79" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_98a93b2e-56ea-4c1b-b8cb-e7e8fcc9fd1f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_9b3308e9-edca-4d5d-919b-3dcd768e7d33" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_98a93b2e-56ea-4c1b-b8cb-e7e8fcc9fd1f" xlink:to="loc_us-gaap_AwardTypeAxis_9b3308e9-edca-4d5d-919b-3dcd768e7d33" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b3308e9-edca-4d5d-919b-3dcd768e7d33_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9b3308e9-edca-4d5d-919b-3dcd768e7d33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9b3308e9-edca-4d5d-919b-3dcd768e7d33_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9b3308e9-edca-4d5d-919b-3dcd768e7d33" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_d3582e94-fd4c-414b-bf9a-f8749bee3b01" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:to="loc_us-gaap_EmployeeStockOptionMember_d3582e94-fd4c-414b-bf9a-f8749bee3b01" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_53c61ac8-4666-4937-9141-94c80dcdd0e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:to="loc_us-gaap_RestrictedStockMember_53c61ac8-4666-4937-9141-94c80dcdd0e6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_d0e19232-d62e-4e99-b490-2f348fea2756" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:to="loc_us-gaap_PerformanceSharesMember_d0e19232-d62e-4e99-b490-2f348fea2756" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_KeyEmployeeRestrictedStockMember_af5cabc9-5dda-416d-9898-3e351a4e067e" xlink:href="aaon-20221231.xsd#aaon_KeyEmployeeRestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_0141cbc6-3d2f-4e5c-9e1d-b4866585f062" xlink:to="loc_aaon_KeyEmployeeRestrictedStockMember_af5cabc9-5dda-416d-9898-3e351a4e067e" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareBasedCompensationSummaryofIncomeTaxBenefitRelatedtoShareBasedCompensationDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareBasedCompensationSummaryofIncomeTaxBenefitRelatedtoShareBasedCompensationDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareBasedCompensationSummaryofIncomeTaxBenefitRelatedtoShareBasedCompensationDetails" xlink:type="extended" id="i75028b9252864c20bbc062fd3c02af0f_ShareBasedCompensationSummaryofIncomeTaxBenefitRelatedtoShareBasedCompensationDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26b43a27-366f-4aec-8156-a062fe34b6df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_9a0fee9a-df25-4dc8-8d81-019fcf2608db" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26b43a27-366f-4aec-8156-a062fe34b6df" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_9a0fee9a-df25-4dc8-8d81-019fcf2608db" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8601370c-69e8-432b-8466-bd98bd434f36" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_26b43a27-366f-4aec-8156-a062fe34b6df" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8601370c-69e8-432b-8466-bd98bd434f36" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_9deec1b6-e2ab-4d77-bbcc-15133b606350" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_8601370c-69e8-432b-8466-bd98bd434f36" xlink:to="loc_us-gaap_AwardTypeAxis_9deec1b6-e2ab-4d77-bbcc-15133b606350" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9deec1b6-e2ab-4d77-bbcc-15133b606350_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9deec1b6-e2ab-4d77-bbcc-15133b606350" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_9deec1b6-e2ab-4d77-bbcc-15133b606350_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bd3f0997-3a32-4e95-b51e-da06dbeaf67d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9deec1b6-e2ab-4d77-bbcc-15133b606350" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bd3f0997-3a32-4e95-b51e-da06dbeaf67d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2c8b74b7-b061-4327-a1af-0c1a6661995d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bd3f0997-3a32-4e95-b51e-da06dbeaf67d" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2c8b74b7-b061-4327-a1af-0c1a6661995d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_1bd515bb-c7e4-472f-92b6-ff755bd1c168" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_bd3f0997-3a32-4e95-b51e-da06dbeaf67d" xlink:to="loc_us-gaap_RestrictedStockMember_1bd515bb-c7e4-472f-92b6-ff755bd1c168" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/EmployeeBenefitsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#EmployeeBenefitsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/EmployeeBenefitsDetails" xlink:type="extended" id="iafc3884d44014835b6247cb52e8c83ec_EmployeeBenefitsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_Definedcontributionemployeeautomaticcontributionpercentag_f2a7156a-ec6b-40a7-8c9f-7a0e497a6b37" xlink:href="aaon-20221231.xsd#aaon_Definedcontributionemployeeautomaticcontributionpercentag"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_aaon_Definedcontributionemployeeautomaticcontributionpercentag_f2a7156a-ec6b-40a7-8c9f-7a0e497a6b37" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanAdministrativeExpenses_337cba78-6646-4260-8310-04b453490b59" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedContributionPlanAdministrativeExpenses"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_us-gaap_DefinedContributionPlanAdministrativeExpenses_337cba78-6646-4260-8310-04b453490b59" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_e2e40827-fa12-453b-8b0d-025277164c94" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch_e2e40827-fa12-453b-8b0d-025277164c94" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_Definedcontributionemployermaximummatchpercent_fbe8c0a3-e8f2-46d6-a779-dc771fe6dd06" xlink:href="aaon-20221231.xsd#aaon_Definedcontributionemployermaximummatchpercent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_aaon_Definedcontributionemployermaximummatchpercent_fbe8c0a3-e8f2-46d6-a779-dc771fe6dd06" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_1b69c694-900b-4ea8-8f5a-606273dda49f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedContributionPlanCostRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_1b69c694-900b-4ea8-8f5a-606273dda49f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ProfitSharingPercentofPretaxProfitPaidtoEligibleEmployeesonQuarterlyBasis_03c28123-fced-44cb-afb4-b80383a5d8eb" xlink:href="aaon-20221231.xsd#aaon_ProfitSharingPercentofPretaxProfitPaidtoEligibleEmployeesonQuarterlyBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_aaon_ProfitSharingPercentofPretaxProfitPaidtoEligibleEmployeesonQuarterlyBasis_03c28123-fced-44cb-afb4-b80383a5d8eb" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_c50645a4-76aa-4621-a021-688511875a4d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_us-gaap_LaborAndRelatedExpense_c50645a4-76aa-4621-a021-688511875a4d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_DefinedBenefitPlanMedicalClaimPayments_9021d773-13d1-4ffa-8389-cd9edad5445d" xlink:href="aaon-20221231.xsd#aaon_DefinedBenefitPlanMedicalClaimPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_aaon_DefinedBenefitPlanMedicalClaimPayments_9021d773-13d1-4ffa-8389-cd9edad5445d" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_DefinedBenefitPlanHeathSavingAccountPayments_aaedd94f-6103-448e-85b1-bc93a394295a" xlink:href="aaon-20221231.xsd#aaon_DefinedBenefitPlanHeathSavingAccountPayments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_aaon_DefinedBenefitPlanHeathSavingAccountPayments_aaedd94f-6103-448e-85b1-bc93a394295a" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_bd6863ec-fe91-4358-bae0-3cae9232c177" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5e06e2bd-97fe-4e31-83c8-8348aa0d3309" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_bd6863ec-fe91-4358-bae0-3cae9232c177" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_TriggeringEventAxis_6560453f-f6f5-458c-abb2-a4166c28a690" xlink:href="aaon-20221231.xsd#aaon_TriggeringEventAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_bd6863ec-fe91-4358-bae0-3cae9232c177" xlink:to="loc_aaon_TriggeringEventAxis_6560453f-f6f5-458c-abb2-a4166c28a690" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_TriggeringEventDomain_6560453f-f6f5-458c-abb2-a4166c28a690_default" xlink:href="aaon-20221231.xsd#aaon_TriggeringEventDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_aaon_TriggeringEventAxis_6560453f-f6f5-458c-abb2-a4166c28a690" xlink:to="loc_aaon_TriggeringEventDomain_6560453f-f6f5-458c-abb2-a4166c28a690_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_TriggeringEventDomain_4278fbb2-5238-4898-a2ae-db92cc365458" xlink:href="aaon-20221231.xsd#aaon_TriggeringEventDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_aaon_TriggeringEventAxis_6560453f-f6f5-458c-abb2-a4166c28a690" xlink:to="loc_aaon_TriggeringEventDomain_4278fbb2-5238-4898-a2ae-db92cc365458" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_EffectiveJanuary12016Member_84c5fcad-c0ad-4921-888d-8c564bcf0479" xlink:href="aaon-20221231.xsd#aaon_EffectiveJanuary12016Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_TriggeringEventDomain_4278fbb2-5238-4898-a2ae-db92cc365458" xlink:to="loc_aaon_EffectiveJanuary12016Member_84c5fcad-c0ad-4921-888d-8c564bcf0479" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3e14d951-c426-422c-a9c0-508d4e50ec68" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_bd6863ec-fe91-4358-bae0-3cae9232c177" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3e14d951-c426-422c-a9c0-508d4e50ec68" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3e14d951-c426-422c-a9c0-508d4e50ec68_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3e14d951-c426-422c-a9c0-508d4e50ec68" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3e14d951-c426-422c-a9c0-508d4e50ec68_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f73f446-960e-477a-aea9-25a443ade984" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3e14d951-c426-422c-a9c0-508d4e50ec68" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f73f446-960e-477a-aea9-25a443ade984" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXMember_eb8583cc-bb76-451a-88fc-d64ed4bea0b1" xlink:href="aaon-20221231.xsd#aaon_BasXMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_3f73f446-960e-477a-aea9-25a443ade984" xlink:to="loc_aaon_BasXMember_eb8583cc-bb76-451a-88fc-d64ed4bea0b1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/ShareholdersEquityDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#ShareholdersEquityDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/ShareholdersEquityDetails" xlink:type="extended" id="ic821ee20df4845329e58ba648b543f58_ShareholdersEquityDetails">
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:href="aaon-20221231.xsd#aaon_ScheduleOfShareholdersEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_1f30dc14-e5fc-4651-bf65-4aeb9dfb6fd4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_1f30dc14-e5fc-4651-bf65-4aeb9dfb6fd4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_1e45271b-0df1-4291-aadd-da9a2c1247d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_1e45271b-0df1-4291-aadd-da9a2c1247d2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_0979dbdf-b897-4b89-a9c7-503fe40da490" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_0979dbdf-b897-4b89-a9c7-503fe40da490" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_1fd4af05-2673-42c2-b4a7-3d5a9279a138" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_1fd4af05-2673-42c2-b4a7-3d5a9279a138" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockDividendsPerShareDeclared_bf16e9d1-a84e-4549-a8be-4c400e481a91" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CommonStockDividendsPerShareDeclared"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_CommonStockDividendsPerShareDeclared_bf16e9d1-a84e-4549-a8be-4c400e481a91" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_936c0291-f7ae-46e9-8a95-b71a0327c4ef" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_936c0291-f7ae-46e9-8a95-b71a0327c4ef" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_e20872eb-545b-4582-aad9-bfa576e519d9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_e20872eb-545b-4582-aad9-bfa576e519d9" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_2cc6ce37-f89b-4431-865f-3deb707e86eb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued_2cc6ce37-f89b-4431-865f-3deb707e86eb" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable_de28bbac-1254-4370-9e6b-ed2e81016f00" xlink:href="aaon-20221231.xsd#aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_aaon_BusinessCombinationConsiderationTransferredEquityInterestsIssuable_de28bbac-1254-4370-9e6b-ed2e81016f00" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_34e6b1c7-6e1c-4b9f-ad59-4b279e149964" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedContingentLiability_34e6b1c7-6e1c-4b9f-ad59-4b279e149964" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_5943e8b3-abd6-484a-966f-638ec6654e19" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesIssuedForServices"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_5943e8b3-abd6-484a-966f-638ec6654e19" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:href="aaon-20221231.xsd#aaon_ScheduleOfShareholdersEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_aaon_ScheduleOfShareholdersEquityLineItems_47544bcc-9776-4718-9c63-0439f80378e7" xlink:to="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramAxis_3de145c8-6087-4048-94ce-2232f5a44a53" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:to="loc_us-gaap_ShareRepurchaseProgramAxis_3de145c8-6087-4048-94ce-2232f5a44a53" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_3de145c8-6087-4048-94ce-2232f5a44a53_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_3de145c8-6087-4048-94ce-2232f5a44a53" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_3de145c8-6087-4048-94ce-2232f5a44a53_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareRepurchaseProgramDomain_6a6c0400-aa26-44c9-8d4d-2e54ff9a4462" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareRepurchaseProgramDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareRepurchaseProgramAxis_3de145c8-6087-4048-94ce-2232f5a44a53" xlink:to="loc_us-gaap_ShareRepurchaseProgramDomain_6a6c0400-aa26-44c9-8d4d-2e54ff9a4462" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_A2010StockRepurchaseProgramMember_d58717cf-3499-4e09-9d98-5d5ddf0c8482" xlink:href="aaon-20221231.xsd#aaon_A2010StockRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_6a6c0400-aa26-44c9-8d4d-2e54ff9a4462" xlink:to="loc_aaon_A2010StockRepurchaseProgramMember_d58717cf-3499-4e09-9d98-5d5ddf0c8482" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_A2005401kStockRepurchaseProgramMember_fe7de3c8-3037-41c7-bf68-37683434256f" xlink:href="aaon-20221231.xsd#aaon_A2005401kStockRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_6a6c0400-aa26-44c9-8d4d-2e54ff9a4462" xlink:to="loc_aaon_A2005401kStockRepurchaseProgramMember_fe7de3c8-3037-41c7-bf68-37683434256f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_A2006DirectorandOfficerRepurchaseProgramMember_c2ab0f14-34e5-47f2-95a4-249d3f62580c" xlink:href="aaon-20221231.xsd#aaon_A2006DirectorandOfficerRepurchaseProgramMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareRepurchaseProgramDomain_6a6c0400-aa26-44c9-8d4d-2e54ff9a4462" xlink:to="loc_aaon_A2006DirectorandOfficerRepurchaseProgramMember_c2ab0f14-34e5-47f2-95a4-249d3f62580c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsAxis_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:to="loc_us-gaap_DividendsAxis_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce" xlink:to="loc_us-gaap_DividendsDomain_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendsDomain_4280cf37-c816-4e23-8685-24d64886fcaf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_9a1897b4-abfa-4efc-a1ca-b9c4f8c5d6ce" xlink:to="loc_us-gaap_DividendsDomain_4280cf37-c816-4e23-8685-24d64886fcaf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DividendDeclaredMember_4b1e0481-4b39-458b-af35-fb7dfe79c02d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DividendDeclaredMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_4280cf37-c816-4e23-8685-24d64886fcaf" xlink:to="loc_us-gaap_DividendDeclaredMember_4b1e0481-4b39-458b-af35-fb7dfe79c02d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_6d3b330b-53d3-418c-a57e-5b30bdfa37ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_6d3b330b-53d3-418c-a57e-5b30bdfa37ec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6d3b330b-53d3-418c-a57e-5b30bdfa37ec_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6d3b330b-53d3-418c-a57e-5b30bdfa37ec" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_6d3b330b-53d3-418c-a57e-5b30bdfa37ec_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0ea2d7cd-9181-4013-8742-14fb91f2e3c9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_6d3b330b-53d3-418c-a57e-5b30bdfa37ec" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0ea2d7cd-9181-4013-8742-14fb91f2e3c9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXLLCMember_dfadcd73-2531-4f7c-8196-712f31aef5e5" xlink:href="aaon-20221231.xsd#aaon_BasXLLCMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_0ea2d7cd-9181-4013-8742-14fb91f2e3c9" xlink:to="loc_aaon_BasXLLCMember_dfadcd73-2531-4f7c-8196-712f31aef5e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_4210d227-2b9a-44f2-9cfe-a280bca82b80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_aaon_ScheduleOfShareholdersEquityTable_9ce46ccc-1433-474f-b84b-81e35f075146" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_4210d227-2b9a-44f2-9cfe-a280bca82b80" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_4210d227-2b9a-44f2-9cfe-a280bca82b80_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4210d227-2b9a-44f2-9cfe-a280bca82b80" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_4210d227-2b9a-44f2-9cfe-a280bca82b80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_bae76633-0781-4497-9098-39341a6617e4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_4210d227-2b9a-44f2-9cfe-a280bca82b80" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_bae76633-0781-4497-9098-39341a6617e4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_0bed86ca-b6f8-4587-9f98-d2e49160a620" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_bae76633-0781-4497-9098-39341a6617e4" xlink:to="loc_us-gaap_SubsequentEventMember_0bed86ca-b6f8-4587-9f98-d2e49160a620" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/NewMarketsTaxCreditDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#NewMarketsTaxCreditDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/NewMarketsTaxCreditDetails" xlink:type="extended" id="i698f3940fa4141d8a0fab2bd7f7324d8_NewMarketsTaxCreditDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4c86b060-4666-4c8b-89e7-5f4c379f4406" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4c86b060-4666-4c8b-89e7-5f4c379f4406" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_79dea459-f2c5-4bdb-9ffe-a2eee377f4be" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_79dea459-f2c5-4bdb-9ffe-a2eee377f4be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_LoansAndLeasesReceivableGrossTerm_c6faa45b-c366-49c3-8471-e8fedb468730" xlink:href="aaon-20221231.xsd#aaon_LoansAndLeasesReceivableGrossTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_aaon_LoansAndLeasesReceivableGrossTerm_c6faa45b-c366-49c3-8471-e8fedb468730" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_LoansAndLeasesReceivableGrossInterestRate_bad909db-c718-4d80-bc4e-6be6848a81d0" xlink:href="aaon-20221231.xsd#aaon_LoansAndLeasesReceivableGrossInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_aaon_LoansAndLeasesReceivableGrossInterestRate_bad909db-c718-4d80-bc4e-6be6848a81d0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_57813972-c493-4693-8816-0bb9380b19b0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromDebtNetOfIssuanceCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_ProceedsFromDebtNetOfIssuanceCosts_57813972-c493-4693-8816-0bb9380b19b0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_aee404d7-5831-4323-9587-ff587a708301" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DueToRelatedPartiesCurrentAndNoncurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_aee404d7-5831-4323-9587-ff587a708301" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_InterestFromCounterparty_4dfde386-9926-47f3-a1a9-d6ed1e68742a" xlink:href="aaon-20221231.xsd#aaon_InterestFromCounterparty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_aaon_InterestFromCounterparty_4dfde386-9926-47f3-a1a9-d6ed1e68742a" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_ec1ed75d-1086-41be-9dd1-26735abb7eee" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_ec1ed75d-1086-41be-9dd1-26735abb7eee" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_fc316d1f-b990-4746-824f-dff9ecbc8aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LineOfCreditFacilityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_fdbf641a-5e4c-42ff-866b-9937e710fc92" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_fc316d1f-b990-4746-824f-dff9ecbc8aa9" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_0b468387-1f7b-4cf8-92d7-d8a2c4986158" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_fc316d1f-b990-4746-824f-dff9ecbc8aa9" xlink:to="loc_us-gaap_CreditFacilityAxis_0b468387-1f7b-4cf8-92d7-d8a2c4986158" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_0b468387-1f7b-4cf8-92d7-d8a2c4986158_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_0b468387-1f7b-4cf8-92d7-d8a2c4986158" xlink:to="loc_us-gaap_CreditFacilityDomain_0b468387-1f7b-4cf8-92d7-d8a2c4986158_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_51535215-e75d-4e3b-8a94-a1550d9258b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_0b468387-1f7b-4cf8-92d7-d8a2c4986158" xlink:to="loc_us-gaap_CreditFacilityDomain_51535215-e75d-4e3b-8a94-a1550d9258b9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_d9b5559a-e4cd-4eb1-9211-6f3a03f05b80" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_51535215-e75d-4e3b-8a94-a1550d9258b9" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_d9b5559a-e4cd-4eb1-9211-6f3a03f05b80" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis_c35c9647-822d-49cc-b758-58a03e1ea64a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_CounterpartyNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_fc316d1f-b990-4746-824f-dff9ecbc8aa9" xlink:to="loc_srt_CounterpartyNameAxis_c35c9647-822d-49cc-b758-58a03e1ea64a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_c35c9647-822d-49cc-b758-58a03e1ea64a_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_c35c9647-822d-49cc-b758-58a03e1ea64a" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_c35c9647-822d-49cc-b758-58a03e1ea64a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0204e921-c7d1-4534-938c-d2305739c99a" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_c35c9647-822d-49cc-b758-58a03e1ea64a" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0204e921-c7d1-4534-938c-d2305739c99a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_Investor1Member_b82d0fd0-1620-47f8-8950-d57cd0a15d9c" xlink:href="aaon-20221231.xsd#aaon_Investor1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_0204e921-c7d1-4534-938c-d2305739c99a" xlink:to="loc_aaon_Investor1Member_b82d0fd0-1620-47f8-8950-d57cd0a15d9c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d00d4c04-b070-465d-af30-fdbb67807e8a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_fc316d1f-b990-4746-824f-dff9ecbc8aa9" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d00d4c04-b070-465d-af30-fdbb67807e8a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_d00d4c04-b070-465d-af30-fdbb67807e8a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d00d4c04-b070-465d-af30-fdbb67807e8a" xlink:to="loc_us-gaap_RelatedPartyDomain_d00d4c04-b070-465d-af30-fdbb67807e8a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain_075ee114-dc9a-49c7-bede-f30b81329e82" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RelatedPartyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_d00d4c04-b070-465d-af30-fdbb67807e8a" xlink:to="loc_us-gaap_RelatedPartyDomain_075ee114-dc9a-49c7-bede-f30b81329e82" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AffiliatedEntityMember_18c5e2f7-cab3-4d22-97ab-914760d18725" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_AffiliatedEntityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_075ee114-dc9a-49c7-bede-f30b81329e82" xlink:to="loc_srt_AffiliatedEntityMember_18c5e2f7-cab3-4d22-97ab-914760d18725" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.aaon.com/role/SegmentsDetails" xlink:type="simple" xlink:href="aaon-20221231.xsd#SegmentsDetails"/>
  <link:definitionLink xlink:role="http://www.aaon.com/role/SegmentsDetails" xlink:type="extended" id="ia0164f63ed5b4ee5b298cd4646e9f82a_SegmentsDetails">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_23b7938e-5c5c-4d1a-a266-1b416bdf0994" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_23b7938e-5c5c-4d1a-a266-1b416bdf0994" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_4770ab3e-26c2-4582-bc89-a57daa9c7ddc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:to="loc_us-gaap_GrossProfit_4770ab3e-26c2-4582-bc89-a57daa9c7ddc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_f91f8f10-36cf-464c-8a0b-1b72445ff7c6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:to="loc_us-gaap_NoncurrentAssets_f91f8f10-36cf-464c-8a0b-1b72445ff7c6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_673c4a10-abab-4cea-a24a-c4de97dea358" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_673c4a10-abab-4cea-a24a-c4de97dea358" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5357b472-3258-41ad-9ca8-f8911aff08d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_2dd78412-c3ca-48c9-a2ed-29693c504ae0" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5357b472-3258-41ad-9ca8-f8911aff08d3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5357b472-3258-41ad-9ca8-f8911aff08d3" xlink:to="loc_srt_ConsolidationItemsAxis_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4_default" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4" xlink:to="loc_srt_ConsolidationItemsDomain_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_a7945ea7-6a8a-4727-aaaf-5dbfe6d78ba4" xlink:to="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember_824bb683-61a0-471b-8f41-89ee5f7d3998" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:to="loc_us-gaap_OperatingSegmentsMember_824bb683-61a0-471b-8f41-89ee5f7d3998" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_4acb5984-4892-4541-b769-b5110cd35bad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_MaterialReconcilingItemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_4acb5984-4892-4541-b769-b5110cd35bad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntersegmentEliminationMember_31fec022-3998-4a1a-9b73-0d7b602e7509" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IntersegmentEliminationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:to="loc_us-gaap_IntersegmentEliminationMember_31fec022-3998-4a1a-9b73-0d7b602e7509" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationEliminationsMember_3fb2bcef-d5c1-4926-a376-909cb86e9204" xlink:href="https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd#srt_ConsolidationEliminationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_8fe13070-1969-45d3-be0b-b2313cd311ba" xlink:to="loc_srt_ConsolidationEliminationsMember_3fb2bcef-d5c1-4926-a376-909cb86e9204" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_53d8bc68-3f0b-49c7-980b-76e85e9e8acb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_5357b472-3258-41ad-9ca8-f8911aff08d3" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_53d8bc68-3f0b-49c7-980b-76e85e9e8acb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_53d8bc68-3f0b-49c7-980b-76e85e9e8acb_default" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_53d8bc68-3f0b-49c7-980b-76e85e9e8acb" xlink:to="loc_us-gaap_SegmentDomain_53d8bc68-3f0b-49c7-980b-76e85e9e8acb_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain_031ad4f1-60f4-4ecb-bced-000caabf8644" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_SegmentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_53d8bc68-3f0b-49c7-980b-76e85e9e8acb" xlink:to="loc_us-gaap_SegmentDomain_031ad4f1-60f4-4ecb-bced-000caabf8644" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_AAONOklahomaMember_d6f0a16b-f519-4ad9-8938-5c5ff2f80937" xlink:href="aaon-20221231.xsd#aaon_AAONOklahomaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_031ad4f1-60f4-4ecb-bced-000caabf8644" xlink:to="loc_aaon_AAONOklahomaMember_d6f0a16b-f519-4ad9-8938-5c5ff2f80937" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_AAONCoilProductsMember_f2dc93c9-6e10-43cb-b0c8-62c70e418558" xlink:href="aaon-20221231.xsd#aaon_AAONCoilProductsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_031ad4f1-60f4-4ecb-bced-000caabf8644" xlink:to="loc_aaon_AAONCoilProductsMember_f2dc93c9-6e10-43cb-b0c8-62c70e418558" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_aaon_BasXMember_a2ffc2c8-4c44-42bf-9a6e-dd292aa6bfe5" xlink:href="aaon-20221231.xsd#aaon_BasXMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_031ad4f1-60f4-4ecb-bced-000caabf8644" xlink:to="loc_aaon_BasXMember_a2ffc2c8-4c44-42bf-9a6e-dd292aa6bfe5" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
