<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.2.u1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>385</ContextCount>
  <ElementCount>331</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>65</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>00000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>00000002 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/ConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>00000003 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>00000004 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>00000005 - Statement - STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StatementsOfChangesInStockholdersEquity</Role>
      <ShortName>STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>00000006 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995512 - Disclosure - NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/NatureOfOperationsAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995513 - Disclosure - LIQUIDITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/Liquidity</Role>
      <ShortName>LIQUIDITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995514 - Disclosure - INTANGIBLE ASSET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/IntangibleAsset</Role>
      <ShortName>INTANGIBLE ASSET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995515 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/Debt</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995516 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/CommitmentsAndContingencies</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995517 - Disclosure - STOCKHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquity</Role>
      <ShortName>STOCKHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995518 - Disclosure - REVENUE AND CONTRACT ACCOUNTING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccounting</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995519 - Disclosure - DEFINED CONTRIBUTION PLAN</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/DefinedContributionPlan</Role>
      <ShortName>DEFINED CONTRIBUTION PLAN</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995520 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RelatedPartyTransactions</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995521 - Disclosure - SALE OF ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SaleOfAssets</Role>
      <ShortName>SALE OF ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995522 - Disclosure - SUBSEQUENT EVENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SubsequentEvents</Role>
      <ShortName>SUBSEQUENT EVENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995523 - Disclosure - NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995524 - Disclosure - INTANGIBLE ASSET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/IntangibleAssetTables</Role>
      <ShortName>INTANGIBLE ASSET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/IntangibleAsset</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995525 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/DebtTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/Debt</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995526 - Disclosure - COMMITMENTS AND CONTINGENCIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/CommitmentsAndContingenciesTables</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/CommitmentsAndContingencies</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995527 - Disclosure - STOCKHOLDERS??? EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityTables</Role>
      <ShortName>STOCKHOLDERS??? EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/StockholdersEquity</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995528 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingTables</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccounting</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995529 - Disclosure - SALE OF ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SaleOfAssetsTables</Role>
      <ShortName>SALE OF ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://duostechnologies/role/SaleOfAssets</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995530 - Disclosure - NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesDetailsNarrative</Role>
      <ShortName>NATURE OF OPERATIONS AND SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995531 - Disclosure - LIQUIDITY (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/LiquidityDetailsNarrative</Role>
      <ShortName>LIQUIDITY (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/Liquidity</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995532 - Disclosure - INTANGIBLE ASSET (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/IntangibleAssetDetails</Role>
      <ShortName>INTANGIBLE ASSET (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/IntangibleAssetTables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>995533 - Disclosure - INTANGIBLE ASSET (Details - Future amortization)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/IntangibleAssetDetails-FutureAmortization</Role>
      <ShortName>INTANGIBLE ASSET (Details - Future amortization)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/IntangibleAssetTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>995534 - Disclosure - INTANGIBLE ASSET (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/IntangibleAssetDetailsNarrative</Role>
      <ShortName>INTANGIBLE ASSET (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/IntangibleAssetTables</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>995535 - Disclosure - DEBT (Details - Notes payable financing agreements)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://duostechnologies/role/DebtDetails-NotesPayableFinancingAgreements</Role>
      <ShortName>DEBT (Details - Notes payable financing agreements)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/DebtTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>995536 - Disclosure - DEBT (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/DebtDetailsNarrative</Role>
      <ShortName>DEBT (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/DebtTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>995537 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details - Supplemental information related to leases)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/CommitmentsAndContingenciesDetails-SupplementalInformationRelatedToLeases</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details - Supplemental information related to leases)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>995538 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details - Future minimum lease payments)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/CommitmentsAndContingenciesDetails-FutureMinimumLeasePayments</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details - Future minimum lease payments)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>995539 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/CommitmentsAndContingenciesDetailsNarrative</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/CommitmentsAndContingenciesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>995540 - Disclosure - STOCKHOLDERS' EQUITY (Details - Assumptions )</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityDetails-Assumptions</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Details - Assumptions )</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>995541 - Disclosure - STOCKHOLDERS' EQUITY (Details - Employee stock purchase plan)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityDetails-EmployeeStockPurchasePlan</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Details - Employee stock purchase plan)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>995542 - Disclosure - STOCKHOLDERS' EQUITY (Details - Non plan options)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityDetails-NonPlanOptions</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Details - Non plan options)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>995543 - Disclosure - STOCKHOLDERS' EQUITY (Details - Warrants)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityDetails-Warrants</Role>
      <ShortName>STOCKHOLDERS' EQUITY (Details - Warrants)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>995544 - Disclosure - STOCKHOLDERS??? EQUITY (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/StockholdersEquityDetailsNarrative</Role>
      <ShortName>STOCKHOLDERS??? EQUITY (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/StockholdersEquityTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>995545 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Details - Contract assets)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingDetails-ContractAssets</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Details - Contract assets)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccountingTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>995546 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Details - Contract liabilities)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingDetails-ContractLiabilities</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Details - Contract liabilities)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccountingTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>995547 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Details - Contract liabilities agreement)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingDetails-ContractLiabilitiesAgreement</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Details - Contract liabilities agreement)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccountingTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>995548 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Details - Disaggregated revenue)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingDetails-DisaggregatedRevenue</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Details - Disaggregated revenue)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccountingTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>995549 - Disclosure - REVENUE AND CONTRACT ACCOUNTING (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RevenueAndContractAccountingDetailsNarrative</Role>
      <ShortName>REVENUE AND CONTRACT ACCOUNTING (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RevenueAndContractAccountingTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>995550 - Disclosure - DEFINED CONTRIBUTION PLAN (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/DefinedContributionPlanDetailsNarrative</Role>
      <ShortName>DEFINED CONTRIBUTION PLAN (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/DefinedContributionPlan</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>995551 - Disclosure - RELATED PARTY TRANSACTIONS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/RelatedPartyTransactionsDetailsNarrative</Role>
      <ShortName>RELATED PARTY TRANSACTIONS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/RelatedPartyTransactions</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>995552 - Disclosure - SALE OF ASSETS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SaleOfAssetsDetails</Role>
      <ShortName>SALE OF ASSETS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/SaleOfAssetsTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>995553 - Disclosure - SALE OF ASSETS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SaleOfAssetsDetailsNarrative</Role>
      <ShortName>SALE OF ASSETS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/SaleOfAssetsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="duos_10q-06302024.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>995554 - Disclosure - SUBSEQUENT EVENTS (Details Narrative)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://duostechnologies/role/SubsequentEventsDetailsNarrative</Role>
      <ShortName>SUBSEQUENT EVENTS (Details Narrative)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://duostechnologies/role/SubsequentEvents</ParentRole>
      <Position>51</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-Q" isDefinitelyFs="true" isUsgaap="true" original="duos_10q-06302024.htm">duos_10q-06302024.htm</File>
    <File>duot-20240630.xsd</File>
    <File>duot-20240630_cal.xml</File>
    <File>duot-20240630_def.xml</File>
    <File>duot-20240630_lab.xml</File>
    <File>duot-20240630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="982">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="30">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
