<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.19.3.a.u2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>250</ContextCount>
  <ElementCount>451</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>57</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0102101 - Document - Business Description</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/BusinessDescription</Role>
      <ShortName>Business Description</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0103121 - Document - New Accounting Pronouncements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/NewAccountingPronouncements</Role>
      <ShortName>New Accounting Pronouncements</ShortName>
      <MenuCategory>Uncategorized</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1001002 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003003 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004004 - Statement - Consolidated Statements of Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ConsolidatedStatementsofStockholdersEquity</Role>
      <ShortName>Consolidated Statements of Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1005005 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1106104 - Statement - Revenue Recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevenueRecognition</Role>
      <ShortName>Revenue Recognition</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1110105 - Statement - Business Combination</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/BusinessCombination</Role>
      <ShortName>Business Combination</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1113109 - Statement - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>1116111 - Statement - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>1307303 - Statement - Revenue Recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue Recognition (Tables)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>1311304 - Statement - Business Combination (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/BusinessCombinationTables</Role>
      <ShortName>Business Combination (Tables)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>1314307 - Statement - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>1317308 - Statement - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>1402401 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>1408406 - Statement - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevenueRecognitionDetails</Role>
      <ShortName>Revenue Recognition (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>1409407 - Statement - Revenue Recognition (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevenueRecognitionNarrativeDetails</Role>
      <ShortName>Revenue Recognition (Narrative) (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>1412408 - Statement - Business Combination (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/BusinessCombinationDetails</Role>
      <ShortName>Business Combination (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>1415414 - Statement - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>1418416 - Statement - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2101102 - Disclosure - Error Correction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ErrorCorrection</Role>
      <ShortName>Error Correction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2105103 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2110106 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2112107 - Disclosure - Accounts Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccountsReceivable</Role>
      <ShortName>Accounts Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2116108 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/Inventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2120110 - Disclosure - Note Receivable</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/NoteReceivable</Role>
      <ShortName>Note Receivable</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2122112 - Disclosure - Warranties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/Warranties</Role>
      <ShortName>Warranties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2126113 - Disclosure - Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccruedLiabilities</Role>
      <ShortName>Accrued Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2129114 - Disclosure - Revolving Credit Facility</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevolvingCreditFacility</Role>
      <ShortName>Revolving Credit Facility</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2131115 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2137116 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2147117 - Disclosure - Employee Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EmployeeBenefits</Role>
      <ShortName>Employee Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2150118 - Disclosure - Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareholdersEquity</Role>
      <ShortName>Shareholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2153119 - Disclosure - New Markets Tax Credit</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/NewMarketsTaxCredit</Role>
      <ShortName>New Markets Tax Credit</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2155120 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2157122 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2160123 - Disclosure - Related Parties</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RelatedParties</Role>
      <ShortName>Related Parties</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2163124 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2165125 - Disclosure - Quarterly Results (Unaudited) (As Corrected)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrected</Role>
      <ShortName>Quarterly Results (Unaudited) (As Corrected)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2170126 - Disclosure - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/Segments</Role>
      <ShortName>Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2206201 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.aaon.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Error Correction (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ErrorCorrectionTables</Role>
      <ShortName>Error Correction (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ErrorCorrection</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2307302 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2313305 - Disclosure - Accounts Receivable (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccountsReceivableTables</Role>
      <ShortName>Accounts Receivable (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/AccountsReceivable</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2317306 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/InventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/Inventories</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2323309 - Disclosure - Warranties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/WarrantiesTables</Role>
      <ShortName>Warranties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/Warranties</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2327310 - Disclosure - Accrued Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccruedLiabilitiesTables</Role>
      <ShortName>Accrued Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/AccruedLiabilities</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2332311 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/IncomeTaxes</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2338312 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ShareBasedCompensation</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2348313 - Disclosure - Employee Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EmployeeBenefitsTables</Role>
      <ShortName>Employee Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/EmployeeBenefits</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2351314 - Disclosure - Shareholders' Equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareholdersEquityTables</Role>
      <ShortName>Shareholders' Equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ShareholdersEquity</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2358315 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/EarningsPerShare</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2361316 - Disclosure - Related Parties (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RelatedPartiesTables</Role>
      <ShortName>Related Parties (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/RelatedParties</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2366317 - Disclosure - Quarterly Results (Unaudited) (As Corrected) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedTables</Role>
      <ShortName>Quarterly Results (Unaudited) (As Corrected) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrected</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2371318 - Disclosure - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SegmentsTables</Role>
      <ShortName>Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.aaon.com/role/Segments</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Error Correction (Restated Consolidated Statements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ErrorCorrectionRestatedConsolidatedStatementsDetails</Role>
      <ShortName>Error Correction (Restated Consolidated Statements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ErrorCorrectionTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Error Correction (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ErrorCorrectionNarrativeDetails</Role>
      <ShortName>Error Correction (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ErrorCorrectionTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Summary of Significant Accounting Policies - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesNarrativeDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Summary of Significant Accounting Policies - Estimated Useful Lives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SummaryofSignificantAccountingPoliciesEstimatedUsefulLivesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Estimated Useful Lives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2411409 - Disclosure - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/LeasesDetails</Role>
      <ShortName>Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/Leases</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2414410 - Disclosure - Accounts Receivable (Balance) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccountsReceivableBalanceDetails</Role>
      <ShortName>Accounts Receivable (Balance) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/AccountsReceivableTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2415411 - Disclosure - Accounts Receivable (Allowance) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccountsReceivableAllowanceDetails</Role>
      <ShortName>Accounts Receivable (Allowance) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/AccountsReceivableTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2418412 - Disclosure - Inventories - Components (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/InventoriesComponentsDetails</Role>
      <ShortName>Inventories - Components (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2419413 - Disclosure - Inventories - Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/InventoriesAllowanceDetails</Role>
      <ShortName>Inventories - Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2421415 - Disclosure - Note Receivable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/NoteReceivableDetails</Role>
      <ShortName>Note Receivable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/NoteReceivable</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2424417 - Disclosure - Warranties - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/WarrantiesNarrativeDetails</Role>
      <ShortName>Warranties - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2425418 - Disclosure - Warranties - Changes in Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/WarrantiesChangesinWarrantsDetails</Role>
      <ShortName>Warranties - Changes in Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2428419 - Disclosure - Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/AccruedLiabilitiesDetails</Role>
      <ShortName>Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/AccruedLiabilitiesTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2430420 - Disclosure - Revolving Credit Facility (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RevolvingCreditFacilityDetails</Role>
      <ShortName>Revolving Credit Facility (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/RevolvingCreditFacility</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2433421 - Disclosure - Income Taxes - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2434422 - Disclosure - Income Taxes - Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxesProvisionforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2435423 - Disclosure - Income Taxes - Federal Statutory Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxesFederalStatutoryIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Federal Statutory Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2436424 - Disclosure - Income Taxes - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/IncomeTaxesDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2439425 - Disclosure - Share-Based Compensation - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationNarrativeDetails</Role>
      <ShortName>Share-Based Compensation - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2440426 - Disclosure - Share-Based Compensation - Summary of Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofAssumptionsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2441427 - Disclosure - Share-Based Compensation - Summary of Stock Options Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofStockOptionsOutstandingDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock Options Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2442428 - Disclosure - Share-Based Compensation - Summary of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofStockOptionActivityDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2443429 - Disclosure - Share-Based Compensation - Summary of Unvested Restricted Stock Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofUnvestedRestrictedStockAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Unvested Restricted Stock Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2444430 - Disclosure - Share-Based Compensation - Summary of Grant Date Fair Value of Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofGrantDateFairValueofAwardsDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Grant Date Fair Value of Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2445431 - Disclosure - Share-Based Compensation - Summary of Share-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofShareBasedCompensationExpenseDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Share-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2446432 - Disclosure - Share-Based Compensation - Summary of Income Tax Benefit Related to Share-Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareBasedCompensationSummaryofIncomeTaxBenefitRelatedtoShareBasedCompensationDetails</Role>
      <ShortName>Share-Based Compensation - Summary of Income Tax Benefit Related to Share-Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2449433 - Disclosure - Employee Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EmployeeBenefitsDetails</Role>
      <ShortName>Employee Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/EmployeeBenefitsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2452434 - Disclosure - Shareholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/ShareholdersEquityDetails</Role>
      <ShortName>Shareholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/ShareholdersEquityTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2454435 - Disclosure - New Markets Tax Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/NewMarketsTaxCreditDetails</Role>
      <ShortName>New Markets Tax Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/NewMarketsTaxCredit</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2456436 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/CommitmentsandContingencies</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2459437 - Disclosure - Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/EarningsPerShareTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2462438 - Disclosure - Related Parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/RelatedPartiesDetails</Role>
      <ShortName>Related Parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/RelatedPartiesTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2464439 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/SubsequentEvents</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2467440 - Disclosure - Quarterly Results (Unaudited) (As Corrected) (Quarterly Results) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedQuarterlyResultsDetails</Role>
      <ShortName>Quarterly Results (Unaudited) (As Corrected) (Quarterly Results) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2468441 - Disclosure - Quarterly Results (Unaudited) (As Corrected) (Previously Reported Quarterly Results) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedPreviouslyReportedQuarterlyResultsDetails</Role>
      <ShortName>Quarterly Results (Unaudited) (As Corrected) (Previously Reported Quarterly Results) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2469442 - Disclosure - Quarterly Results (Unaudited) (As Corrected) (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedNarrativeDetails</Role>
      <ShortName>Quarterly Results (Unaudited) (As Corrected) (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/QuarterlyResultsUnauditedAsCorrectedTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="aaon-20191231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2472443 - Disclosure - Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.aaon.com/role/SegmentsDetails</Role>
      <ShortName>Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.aaon.com/role/SegmentsTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" original="aaon-20191231.htm">aaon-20191231.htm</File>
    <File>aaon-20191231.xsd</File>
    <File>aaon-20191231_cal.xml</File>
    <File>aaon-20191231_def.xml</File>
    <File>aaon-20191231_lab.xml</File>
    <File>aaon-20191231_pre.xml</File>
    <File>aaon10k123119ex23.htm</File>
    <File>aaon10k123119ex311.htm</File>
    <File>aaon10k123119ex312.htm</File>
    <File>aaon10k123119ex321.htm</File>
    <File>aaon10k123119ex322.htm</File>
    <File>aaon10k123119ex416.htm</File>
  </InputFiles>
  <SupplementalFiles>
    <File>aaon-20191231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/srt/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2019-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2019-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
