<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>131</ContextCount>
  <ElementCount>280</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>40</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="nnvc-20250630x10k.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.nanoviricides.com/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995200100 - Statement - Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementBalanceSheet</Role>
      <ShortName>Balance Sheet</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995200105 - Statement - Balance Sheet (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementBalanceSheetParenthetical</Role>
      <ShortName>Balance Sheet (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995200200 - Statement - Statements of Operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementStatementsOfOperations</Role>
      <ShortName>Statements of Operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995200300 - Statement - Statement of Changes in Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementStatementOfChangesInStockholdersEquity</Role>
      <ShortName>Statement of Changes in Stockholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995200305 - Statement - Statement of Changes in Stockholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementStatementOfChangesInStockholdersEquityParenthetical</Role>
      <ShortName>Statement of Changes in Stockholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995200400 - Statement - Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/StatementStatementsOfCashFlows</Role>
      <ShortName>Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995210101 - Disclosure - Organization and Nature of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureOrganizationAndNatureOfBusiness</Role>
      <ShortName>Organization and Nature of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995210201 - Disclosure - Liquidity and Going Concern</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureLiquidityAndGoingConcern</Role>
      <ShortName>Liquidity and Going Concern</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995210301 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995210401 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995210501 - Disclosure - Property and Equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosurePropertyAndEquipment</Role>
      <ShortName>Property and Equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995210601 - Disclosure - Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIntangibleAssets</Role>
      <ShortName>Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995210701 - Disclosure - Accrued Expenses</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureAccruedExpenses</Role>
      <ShortName>Accrued Expenses</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995210801 - Disclosure - Equity Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureEquityTransactions</Role>
      <ShortName>Equity Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995210901 - Disclosure - Common Stock Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommonStockWarrants</Role>
      <ShortName>Common Stock Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995211001 - Disclosure - Income Tax Provision</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvision</Role>
      <ShortName>Income Tax Provision</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995211101 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995211201 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.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>20</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995443 - Disclosure - Award Timing Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/AwardTimingDisclosure</Role>
      <ShortName>Award Timing Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.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>22</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.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>23</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.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>24</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>99920302 - Disclosure - Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>99930303 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>99930403 - Disclosure - Related Party Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactionsTables</Role>
      <ShortName>Related Party Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactions</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>99930503 - Disclosure - Property and Equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>Property and Equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosurePropertyAndEquipment</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>99930603 - Disclosure - Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIntangibleAssetsTables</Role>
      <ShortName>Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureIntangibleAssets</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>99930703 - Disclosure - Accrued Expenses (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureAccruedExpensesTables</Role>
      <ShortName>Accrued Expenses (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureAccruedExpenses</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>99930803 - Disclosure - Equity Transactions (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureEquityTransactionsTables</Role>
      <ShortName>Equity Transactions (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureEquityTransactions</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>99930903 - Disclosure - Common Stock Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommonStockWarrantsTables</Role>
      <ShortName>Common Stock Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureCommonStockWarrants</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>99931003 - Disclosure - Income Tax Provision (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvisionTables</Role>
      <ShortName>Income Tax Provision (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvision</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>99940101 - Disclosure - Organization and Nature of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureOrganizationAndNatureOfBusinessDetails</Role>
      <ShortName>Organization and Nature of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureOrganizationAndNatureOfBusiness</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>99940201 - Disclosure - Liquidity and Going Concern (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureLiquidityAndGoingConcernDetails</Role>
      <ShortName>Liquidity and Going Concern (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureLiquidityAndGoingConcern</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>99940301 - Disclosure - Summary of Significant Accounting Policies - Anti-dilutive warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAntiDilutiveWarrantsDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Anti-dilutive warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>99940302 - Disclosure - Summary of Significant Accounting Policies - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPoliciesAdditionalInformationDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>99940303 - Disclosure - Summary of Significant Accounting Policies - Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Summary of Significant Accounting Policies - Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>99940401 - Disclosure - Related Party Transactions - Summary of related parties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactionsSummaryOfRelatedPartiesDetails</Role>
      <ShortName>Related Party Transactions - Summary of related parties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>99940402 - Disclosure - Related Party Transactions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactionsDetails</Role>
      <ShortName>Related Party Transactions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureRelatedPartyTransactionsTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>99940501 - Disclosure - Property and Equipment - Schedule of property and equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosurePropertyAndEquipmentScheduleOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment - Schedule of property and equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>99940502 - Disclosure - Property and Equipment - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosurePropertyAndEquipmentAdditionalInformationDetails</Role>
      <ShortName>Property and Equipment - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>99940601 - Disclosure - Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIntangibleAssetsDetails</Role>
      <ShortName>Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureIntangibleAssetsTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>99940602 - Disclosure - Intangible Assets - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIntangibleAssetsAdditionalInformationDetails</Role>
      <ShortName>Intangible Assets - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>99940701 - Disclosure - Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureAccruedExpensesDetails</Role>
      <ShortName>Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureAccruedExpensesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>99940801 - Disclosure - Equity Transactions - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureEquityTransactionsAdditionalInformationDetails</Role>
      <ShortName>Equity Transactions - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>99940802 - Disclosure - Equity Transactions - Proceeds of ATM offering (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureEquityTransactionsProceedsOfAtmOfferingDetails</Role>
      <ShortName>Equity Transactions - Proceeds of ATM offering (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>99940803 - Disclosure - Equity Transactions - Estimated the fair value of warrants granted quarterly to the Scientific Advisory Board (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureEquityTransactionsEstimatedFairValueOfWarrantsGrantedQuarterlyToScientificAdvisoryBoardDetails</Role>
      <ShortName>Equity Transactions - Estimated the fair value of warrants granted quarterly to the Scientific Advisory Board (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>99940901 - Disclosure - Common Stock Warrants- Common Stock Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommonStockWarrantsCommonStockWarrantsDetails</Role>
      <ShortName>Common Stock Warrants- Common Stock Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>99940902 - Disclosure - Common Stock Warrants - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommonStockWarrantsAdditionalInformationDetails</Role>
      <ShortName>Common Stock Warrants - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>99941001 - Disclosure - Income Tax Provision - Computation of Income tax expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvisionComputationOfIncomeTaxExpenseDetails</Role>
      <ShortName>Income Tax Provision - Computation of Income tax expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>99941002 - Disclosure - Income Tax Provision - Components of deferred tax assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvisionComponentsOfDeferredTaxAssetsDetails</Role>
      <ShortName>Income Tax Provision - Components of deferred tax assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>99941003 - Disclosure - Income Tax Provision - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureIncomeTaxProvisionAdditionalInformationDetails</Role>
      <ShortName>Income Tax Provision - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>99941101 - Disclosure - Commitments and Contingencies - Employment Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommitmentsAndContingenciesEmploymentAgreementsDetails</Role>
      <ShortName>Commitments and Contingencies - Employment Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>99941102 - Disclosure - Commitments and Contingencies - License Agreements (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureCommitmentsAndContingenciesLicenseAgreementsDetails</Role>
      <ShortName>Commitments and Contingencies - License Agreements (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="nnvc-20250630x10k.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>99941201 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.nanoviricides.com/role/DisclosureSubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.nanoviricides.com/role/DisclosureSubsequentEvents</ParentRole>
      <Position>56</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>nnvc-20250630.xsd</File>
    <File>nnvc-20250630_cal.xml</File>
    <File>nnvc-20250630_def.xml</File>
    <File>nnvc-20250630_lab.xml</File>
    <File>nnvc-20250630_pre.xml</File>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="nnvc-20250630x10k.htm">nnvc-20250630x10k.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="391">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="13">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="37">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="6">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
