<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>194</ContextCount>
  <ElementCount>416</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>75</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>10</UnitCount>
  <MyReports>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995200090 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedStatementsOfIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedStatementsOfComprehensiveIncome</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200400 - Statement - CONSOLIDATED STATEMENT OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedStatementOfStockholdersEquity</Role>
      <ShortName>CONSOLIDATED STATEMENT OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200405 - Statement - CONSOLIDATED STATEMENT OF STOCKHOLDERS' EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedStatementOfStockholdersEquityParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENT OF STOCKHOLDERS' EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995200500 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Revenue Recognition and Contracts with Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomers</Role>
      <ShortName>Revenue Recognition and Contracts with Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Business and Credit Concentrations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureBusinessAndCreditConcentrations</Role>
      <ShortName>Business and Credit Concentrations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Marketable Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecurities</Role>
      <ShortName>Marketable Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Inventories</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureInventories</Role>
      <ShortName>Inventories</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Property, Plant, and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosurePropertyPlantAndEquipment</Role>
      <ShortName>Property, Plant, and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Stock Options</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptions</Role>
      <ShortName>Stock Options</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Stockholders' Equity Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactions</Role>
      <ShortName>Stockholders' Equity Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Related Party Transaction</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRelatedPartyTransaction</Role>
      <ShortName>Related Party Transaction</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995211301 - Disclosure - 401(k) Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/Disclosure401KPlan</Role>
      <ShortName>401(k) Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995211401 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>995211501 - Disclosure - Segment and Geographical Data</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSegmentAndGeographicalData</Role>
      <ShortName>Segment and Geographical Data</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>995211601 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.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>25</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.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>26</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99920102 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930103 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930203 - Disclosure - Revenue Recognition and Contracts with Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersTables</Role>
      <ShortName>Revenue Recognition and Contracts with Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomers</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Marketable Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecuritiesTables</Role>
      <ShortName>Marketable Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureMarketableSecurities</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Inventories (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureInventoriesTables</Role>
      <ShortName>Inventories (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureInventories</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Property, Plant, and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosurePropertyPlantAndEquipmentTables</Role>
      <ShortName>Property, Plant, and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosurePropertyPlantAndEquipment</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureIncomeTaxes</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Stock Options (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptionsTables</Role>
      <ShortName>Stock Options (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureStockOptions</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99931103 - Disclosure - Stockholders' Equity Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactionsTables</Role>
      <ShortName>Stockholders' Equity Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactions</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99931403 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99931503 - Disclosure - Segment and Geographical Data (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSegmentAndGeographicalDataTables</Role>
      <ShortName>Segment and Geographical Data (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureSegmentAndGeographicalData</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940102 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940103 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesIntangibleAssetsDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940104 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Income Statement location (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesIncomeStatementLocationDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Income Statement location (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940105 - Disclosure - Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Net (Loss) Income per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesNetLossIncomePerShareDetails</Role>
      <ShortName>Description of Business, Basis of Presentation and Summary of Significant Accounting Policies - Net (Loss) Income per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDescriptionOfBusinessBasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Revenue Recognition and Contracts with Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersDetails</Role>
      <ShortName>Revenue Recognition and Contracts with Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940202 - Disclosure - Revenue Recognition and Contracts with Customers - Disaggregation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersDisaggregationDetails</Role>
      <ShortName>Revenue Recognition and Contracts with Customers - Disaggregation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940203 - Disclosure - Revenue Recognition and Contracts with Customers - Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersAllowanceDetails</Role>
      <ShortName>Revenue Recognition and Contracts with Customers - Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureRevenueRecognitionAndContractsWithCustomersTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Business and Credit Concentrations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureBusinessAndCreditConcentrationsDetails</Role>
      <ShortName>Business and Credit Concentrations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureBusinessAndCreditConcentrations</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Fair Value Measurements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureFairValueMeasurementsDetails</Role>
      <ShortName>Fair Value Measurements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Marketable Securities - Investment in marketable securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecuritiesInvestmentInMarketableSecuritiesDetails</Role>
      <ShortName>Marketable Securities - Investment in marketable securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - Marketable Securities - Investments in net gains and losses on the equity securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecuritiesInvestmentsInNetGainsAndLossesOnEquitySecuritiesDetails</Role>
      <ShortName>Marketable Securities - Investments in net gains and losses on the equity securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99940503 - Disclosure - Marketable Securities - Investments in equity securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecuritiesInvestmentsInEquitySecuritiesDetails</Role>
      <ShortName>Marketable Securities - Investments in equity securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99940505 - Disclosure - Marketable Securities - Investments in debt securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureMarketableSecuritiesInvestmentsInDebtSecuritiesDetails</Role>
      <ShortName>Marketable Securities - Investments in debt securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Inventories - Types (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureInventoriesTypesDetails</Role>
      <ShortName>Inventories - Types (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Inventories - Classification (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureInventoriesClassificationDetails</Role>
      <ShortName>Inventories - Classification (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>99940603 - Disclosure - Inventories - Excess and slow-moving inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureInventoriesExcessAndSlowMovingInventoryDetails</Role>
      <ShortName>Inventories - Excess and slow-moving inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Property, Plant, and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosurePropertyPlantAndEquipmentDetails</Role>
      <ShortName>Property, Plant, and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosurePropertyPlantAndEquipmentTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Income Taxes - Income (loss) before income taxes attributable to domestic and foreign operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesIncomeLossBeforeIncomeTaxesAttributableToDomesticAndForeignOperationsDetails</Role>
      <ShortName>Income Taxes - Income (loss) before income taxes attributable to domestic and foreign operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Income Taxes - Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesProvisionDetails</Role>
      <ShortName>Income Taxes - Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Income Taxes - Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesReconciliationDetails</Role>
      <ShortName>Income Taxes - Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>99940804 - Disclosure - Income Taxes - Deferred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesDeferredDetails</Role>
      <ShortName>Income Taxes - Deferred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>99940805 - Disclosure - Income Taxes - Income taxes paid, net of refunds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesIncomeTaxesPaidNetOfRefundsDetails</Role>
      <ShortName>Income Taxes - Income taxes paid, net of refunds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>99940806 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureIncomeTaxesTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>99940807 - Disclosure - Income Taxes - Unrecognized Roll Forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureIncomeTaxesUnrecognizedRollForwardDetails</Role>
      <ShortName>Income Taxes - Unrecognized Roll Forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureDebtDetails</Role>
      <ShortName>Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureDebt</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Stock Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptionsDetails</Role>
      <ShortName>Stock Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureStockOptionsTables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>99941002 - Disclosure - Stock Options - Stock Option Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptionsStockOptionPlansDetails</Role>
      <ShortName>Stock Options - Stock Option Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>99941003 - Disclosure - Stock Options - Fair Value Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptionsFairValueAssumptionsDetails</Role>
      <ShortName>Stock Options - Fair Value Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>99941004 - Disclosure - Stock Options - Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockOptionsActivityDetails</Role>
      <ShortName>Stock Options - Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Stockholders' Equity Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactionsDetails</Role>
      <ShortName>Stockholders' Equity Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactionsTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - Stockholders' Equity Transactions - Shares repurchased (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureStockholdersEquityTransactionsSharesRepurchasedDetails</Role>
      <ShortName>Stockholders' Equity Transactions - Shares repurchased (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Related Party Transaction (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureRelatedPartyTransactionDetails</Role>
      <ShortName>Related Party Transaction (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureRelatedPartyTransaction</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>99941301 - Disclosure - 401(k) Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/Disclosure401KPlanDetails</Role>
      <ShortName>401(k) Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/Disclosure401KPlan</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>99941401 - Disclosure - Commitments and Contingencies - Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesLeasesDetails</Role>
      <ShortName>Commitments and Contingencies - Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>99941402 - Disclosure - Commitments and Contingencies - Lease maturities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesLeaseMaturitiesDetails</Role>
      <ShortName>Commitments and Contingencies - Lease maturities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>99941403 - Disclosure - Commitments and Contingencies - Litigation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesLitigationDetails</Role>
      <ShortName>Commitments and Contingencies - Litigation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>99941404 - Disclosure - Commitments and Contingencies - IEEPA Tariff Refunds (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesIeepaTariffRefundsDetails</Role>
      <ShortName>Commitments and Contingencies - IEEPA Tariff Refunds (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>99941405 - Disclosure - Commitments and Contingencies - Employment Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureCommitmentsAndContingenciesEmploymentAgreementsDetails</Role>
      <ShortName>Commitments and Contingencies - Employment Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>99941501 - Disclosure - Segment and Geographical Data - Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSegmentAndGeographicalDataSegmentInformationDetails</Role>
      <ShortName>Segment and Geographical Data - Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>99941502 - Disclosure - Segment and Geographical Data - Domestic and Foreign Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSegmentAndGeographicalDataDomesticAndForeignOperationsDetails</Role>
      <ShortName>Segment and Geographical Data - Domestic and Foreign Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="nssc-20260630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>99941601 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.napcosecurity.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.napcosecurity.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>82</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>nssc-20260630.xsd</File>
    <File>nssc-20260630_cal.xml</File>
    <File>nssc-20260630_def.xml</File>
    <File>nssc-20260630_lab.xml</File>
    <File>nssc-20260630_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="nssc-20260630x10k.htm">nssc-20260630x10k.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2026</BaseTaxonomy>
    <BaseTaxonomy items="926">http://fasb.org/us-gaap/2026</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2026</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2026</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2026</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
