<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>111</ContextCount>
  <ElementCount>312</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>38</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>995100 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>995300 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/dei/role/document/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>995301 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>995302 - Statement - Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>995303 - Statement - Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>995304 - Statement - Consolidated Statements of Operations and Comprehensive Loss (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>Consolidated Statements of Operations and Comprehensive Loss (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>995305 - Statement - Consolidated Statements of Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Consolidated Statements of Stockholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>995306 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>995307 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/OrganizationandDescriptionofBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>995308 - Disclosure - Going Concern and Management???s Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/GoingConcernandManagementsPlans</Role>
      <ShortName>Going Concern and Management???s Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>995309 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>995310 - Disclosure - Supplemental Financial Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SupplementalFinancialInformation</Role>
      <ShortName>Supplemental Financial Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>995311 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>995312 - Disclosure - Joint Development Agreement</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/JointDevelopmentAgreement</Role>
      <ShortName>Joint Development Agreement</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>995313 - Disclosure - Convertible Note Receivable - Augmenta</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConvertibleNoteReceivableAugmenta</Role>
      <ShortName>Convertible Note Receivable - Augmenta</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>995314 - Disclosure - Fair Value of Financial Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/FairValueofFinancialAssetsandLiabilities</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>995315 - Disclosure - Stockholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' Equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>995316 - Disclosure - Warrants</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/Warrants</Role>
      <ShortName>Warrants</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>995317 - Disclosure - Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/StockBasedCompensation</Role>
      <ShortName>Stock Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>995318 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>995319 - Disclosure - Sbir Grant</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SbirGrant</Role>
      <ShortName>Sbir Grant</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>995320 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.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>23</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.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>24</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>996000 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>996001 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>996002 - Disclosure - Supplemental Financial Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SupplementalFinancialInformationTables</Role>
      <ShortName>Supplemental Financial Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SupplementalFinancialInformation</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>996003 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingencies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>996004 - Disclosure - Fair Value of Financial Assets and Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/FairValueofFinancialAssetsandLiabilitiesTables</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/FairValueofFinancialAssetsandLiabilities</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>996005 - Disclosure - Warrants (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/WarrantsTables</Role>
      <ShortName>Warrants (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/Warrants</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>996006 - Disclosure - Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockBasedCompensation</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>996007 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxes</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>996008 - Disclosure - Organization and Description of Business (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/OrganizationandDescriptionofBusinessDetails</Role>
      <ShortName>Organization and Description of Business (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/OrganizationandDescriptionofBusiness</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>996009 - Disclosure - Going Concern and Management???s Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/GoingConcernandManagementsPlansDetails</Role>
      <ShortName>Going Concern and Management???s Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/GoingConcernandManagementsPlans</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>996010 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>996011 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of Potential Common Stock Equivalents Outstanding</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofPotentialCommonStockEquivalentsOutstandingTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of Potential Common Stock Equivalents Outstanding</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>996012 - Disclosure - Supplemental Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SupplementalFinancialInformationDetails</Role>
      <ShortName>Supplemental Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SupplementalFinancialInformationTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>996013 - Disclosure - Supplemental Financial Information (Details) - Schedule of Accrued Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofAccruedLiabilitiesTable</Role>
      <ShortName>Supplemental Financial Information (Details) - Schedule of Accrued Liabilities</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SupplementalFinancialInformationTables</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>996014 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>996015 - Disclosure - Commitments and Contingencies (Details) - Schedule of Supplemental Balance Sheet</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofSupplementalBalanceSheetTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of Supplemental Balance Sheet</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>996016 - Disclosure - Commitments and Contingencies (Details) - Schedule of Supplemental Lease Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofSupplementalLeaseExpenseTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of Supplemental Lease Expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>996017 - Disclosure - Commitments and Contingencies (Details) - Schedule of Other Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofOtherInformationTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of Other Information</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>996018 - Disclosure - Commitments and Contingencies (Details) - Schedule of Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofSupplementalCashFlowInformationTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>996019 - Disclosure - Commitments and Contingencies (Details) - Schedule of Future Minimum Lease Payments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofFutureMinimumLeasePaymentsTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of Future Minimum Lease Payments</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>996020 - Disclosure - Joint Development Agreement (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/JointDevelopmentAgreementDetails</Role>
      <ShortName>Joint Development Agreement (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/JointDevelopmentAgreement</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>996021 - Disclosure - Convertible Note Receivable - Augmenta (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ConvertibleNoteReceivableAugmentaDetails</Role>
      <ShortName>Convertible Note Receivable - Augmenta (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/ConvertibleNoteReceivableAugmenta</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>996022 - Disclosure - Fair Value of Financial Assets and Liabilities (Details) - Schedule of Company???s Assets and Liabilities that are Measured at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofCompanysAssetsandLiabilitiesthatareMeasuredatFairValueTable</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities (Details) - Schedule of Company???s Assets and Liabilities that are Measured at Fair Value</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/FairValueofFinancialAssetsandLiabilitiesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>996023 - Disclosure - Fair Value of Financial Assets and Liabilities (Details) - Schedule of Financial Assets that are Measured at Fair Value on a Recurring Basis</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofFinancialAssetsthatareMeasuredatFairValueonaRecurringBasisTable</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities (Details) - Schedule of Financial Assets that are Measured at Fair Value on a Recurring Basis</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/FairValueofFinancialAssetsandLiabilitiesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>996024 - Disclosure - Stockholders' Equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/StockholdersEquityDetails</Role>
      <ShortName>Stockholders' Equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockholdersEquity</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>996025 - Disclosure - Warrants (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/WarrantsDetails</Role>
      <ShortName>Warrants (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/WarrantsTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>996026 - Disclosure - Warrants (Details) - Schedule of Warrant Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofWarrantActivityTable</Role>
      <ShortName>Warrants (Details) - Schedule of Warrant Activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/WarrantsTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>996027 - Disclosure - Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockBasedCompensationTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>996028 - Disclosure - Stock Based Compensation (Details) - Schedule of Stock-Based Compensation Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofStockBasedCompensationExpenseTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of Stock-Based Compensation Expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockBasedCompensationTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>996029 - Disclosure - Stock Based Compensation (Details) - Schedule of Fair Value of Employee Stock Options</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofFairValueofEmployeeStockOptionsTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of Fair Value of Employee Stock Options</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockBasedCompensationTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>996030 - Disclosure - Stock Based Compensation (Details) - Schedule of Stock Option Activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofStockOptionActivityTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of Stock Option Activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/StockBasedCompensationTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>996031 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>996032 - Disclosure - Income Taxes (Details) - Schedule of Income Tax Expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofIncomeTaxExpenseTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Income Tax Expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>996033 - Disclosure - Income Taxes (Details) - Schedule of Deferred Tax Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofDeferredTaxAssetsTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Deferred Tax Assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>996034 - Disclosure - Income Taxes (Details) - Schedule of Provision Federal Statutory Rate</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofProvisionFederalStatutoryRateTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Provision Federal Statutory Rate</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>996035 - Disclosure - Income Taxes (Details) - Schedule of Unrecognized Tax Positions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/ScheduleofUnrecognizedTaxPositionsTable</Role>
      <ShortName>Income Taxes (Details) - Schedule of Unrecognized Tax Positions</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/IncomeTaxesTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>996036 - Disclosure - Sbir Grant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SbirGrantDetails</Role>
      <ShortName>Sbir Grant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SbirGrant</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="ea0201339-10k_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>996037 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tffpharma.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tffpharma.com/role/SubsequentEvents</ParentRole>
      <Position>62</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[dq-0542-Deprecated-Concept] Concept ShareBasedGoodsAndNonemployeeServicesTransactionModificationOfTermsIncrementalCompensationCost in us-gaap/2023 used in 1 facts was deprecated in us-gaap/2024 as of 2024 and should not be used. ea0201339-10k_tffpharma.htm 7490</Log>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 4 fact(s) appearing in ix:hidden were eligible for transformation: us-gaap:EarningsPerShareDiluted, us-gaap:WeightedAverageNumberOfDilutedSharesOutstanding -  ea0201339-10k_tffpharma.htm 8771, 8772, 8773, 8774</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="ea0201339-10k_tffpharma.htm">ea0201339-10k_tffpharma.htm</File>
    <File>tffp-20231231.xsd</File>
    <File>tffp-20231231_cal.xml</File>
    <File>tffp-20231231_def.xml</File>
    <File>tffp-20231231_lab.xml</File>
    <File>tffp-20231231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image_001.jpg</File>
    <File>image_002.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2023</BaseTaxonomy>
    <BaseTaxonomy items="499">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="41">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
