<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.2</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>91</ContextCount>
  <ElementCount>206</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>21</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>4</UnitCount>
  <MyReports>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Condensed Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConsolidatedBalanceSheet</Role>
      <ShortName>Condensed Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Condensed Consolidated Balance Sheets (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConsolidatedBalanceSheet_Parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Unaudited Condensed Consolidated Statements of Operations and Comprehensive Loss</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConsolidatedIncomeStatement</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Operations and Comprehensive Loss</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Unaudited Condensed Consolidated Statements of Operations and Comprehensive Loss (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConsolidatedIncomeStatement_Parentheticals</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Operations and Comprehensive Loss (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Unaudited Condensed Consolidated Statements of Stockholders??? Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ShareholdersEquityType2or3</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Stockholders??? Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>006 - Statement - Unaudited Condensed Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConsolidatedCashFlow</Role>
      <ShortName>Unaudited Condensed Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>007 - Disclosure - Organization and Description of Business</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/OrganizationandDescriptionofBusiness</Role>
      <ShortName>Organization and Description of Business</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>008 - Disclosure - Going Concern and Management???s Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/GoingConcernandManagementsPlans</Role>
      <ShortName>Going Concern and Management???s Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>009 - Disclosure - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SummaryofSignificantAccountingPolicies</Role>
      <ShortName>Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>010 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>011 - Disclosure - Convertible Note Receivable ??? Augmenta</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConvertibleNoteReceivableAugmenta</Role>
      <ShortName>Convertible Note Receivable ??? Augmenta</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>012 - Disclosure - Fair Value of Financial Assets and Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/FairValueofFinancialAssetsandLiabilities</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>013 - Disclosure - Stock Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/StockBasedCompensation</Role>
      <ShortName>Stock Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>014 - Disclosure - Sbir Grant</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SbirGrant</Role>
      <ShortName>Sbir Grant</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>015 - Disclosure - Subsequent Events</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SubsequentEvents</Role>
      <ShortName>Subsequent Events</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>016 - Disclosure - Accounting Policies, by Policy (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/AccountingPoliciesByPolicy</Role>
      <ShortName>Accounting Policies, by Policy (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://tffp.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>17</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>017 - Disclosure - Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://tffp.com/role/SummaryofSignificantAccountingPolicies</ParentRole>
      <Position>18</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>018 - Disclosure - Commitments and Contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/CommitmentsandContingenciesTables</Role>
      <ShortName>Commitments and Contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingencies</ParentRole>
      <Position>19</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>019 - Disclosure - Fair Value of Financial Assets and Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/FairValueofFinancialAssetsandLiabilitiesTables</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://tffp.com/role/FairValueofFinancialAssetsandLiabilities</ParentRole>
      <Position>20</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>020 - Disclosure - Stock Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/StockBasedCompensationTables</Role>
      <ShortName>Stock Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://tffp.com/role/StockBasedCompensation</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>021 - Disclosure - Going Concern and Management???s Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/GoingConcernandManagementsPlansDetails</Role>
      <ShortName>Going Concern and Management???s Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/GoingConcernandManagementsPlans</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>022 - Disclosure - Summary of Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SummaryofSignificantAccountingPoliciesDetails</Role>
      <ShortName>Summary of Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>023 - Disclosure - Summary of Significant Accounting Policies (Details) - Schedule of potential common stock equivalents outstanding</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofpotentialcommonstockequivalentsoutstandingTable</Role>
      <ShortName>Summary of Significant Accounting Policies (Details) - Schedule of potential common stock equivalents outstanding</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/SummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>024 - Disclosure - Commitments and Contingencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/CommitmentsandContingenciesDetails</Role>
      <ShortName>Commitments and Contingencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>025 - Disclosure - Commitments and Contingencies (Details) - Schedule of supplemental balance sheet information related to leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofsupplementalbalancesheetinformationrelatedtoleasesTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of supplemental balance sheet information related to leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>026 - Disclosure - Commitments and Contingencies (Details) - Schedule of supplemental lease expense related to leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofsupplementalleaseexpenserelatedtoleasesTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of supplemental lease expense related to leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>027 - Disclosure - Commitments and Contingencies (Details) - Schedule of other information related to operating leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofotherinformationrelatedtooperatingleasesTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of other information related to operating leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>028 - Disclosure - Commitments and Contingencies (Details) - Schedule of supplemental cash flow information related to operating leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofsupplementalcashflowinformationrelatedtooperatingleasesTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of supplemental cash flow information related to operating leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>029 - Disclosure - Commitments and Contingencies (Details) - Schedule of future minimum lease payments under non-cancellable leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleoffutureminimumleasepaymentsundernoncancellableleasesTable</Role>
      <ShortName>Commitments and Contingencies (Details) - Schedule of future minimum lease payments under non-cancellable leases</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/CommitmentsandContingenciesTables</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>030 - Disclosure - Convertible Note Receivable ??? Augmenta (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ConvertibleNoteReceivableAugmentaDetails</Role>
      <ShortName>Convertible Note Receivable ??? Augmenta (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/ConvertibleNoteReceivableAugmenta</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>031 - 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://tffp.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://tffp.com/role/FairValueofFinancialAssetsandLiabilitiesTables</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>032 - Disclosure - Fair Value of Financial Assets and Liabilities (Details) - Schedule of fair value of the company???s Level 3 financial assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleoffairvalueofthecompanysLevel3financialassetsTable</Role>
      <ShortName>Fair Value of Financial Assets and Liabilities (Details) - Schedule of fair value of the company???s Level 3 financial assets</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/FairValueofFinancialAssetsandLiabilitiesTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>033 - Disclosure - Stock Based Compensation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/StockBasedCompensationDetails</Role>
      <ShortName>Stock Based Compensation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/StockBasedCompensationTables</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>034 - Disclosure - Stock Based Compensation (Details) - Schedule of stock-based compensation expense</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofstockbasedcompensationexpenseTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of stock-based compensation expense</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/StockBasedCompensationTables</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>035 - Disclosure - Stock Based Compensation (Details) - Schedule of fair value of employee stock options</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleoffairvalueofemployeestockoptionsTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of fair value of employee stock options</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/StockBasedCompensationTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>036 - Disclosure - Stock Based Compensation (Details) - Schedule of stock option activity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/ScheduleofstockoptionactivityTable</Role>
      <ShortName>Stock Based Compensation (Details) - Schedule of stock option activity</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/StockBasedCompensationTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>037 - Disclosure - Sbir Grant (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SbirGrantDetails</Role>
      <ShortName>Sbir Grant (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/SbirGrant</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="f10q0623_tffpharma.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>038 - Disclosure - Subsequent Events (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://tffp.com/role/SubsequentEventsDetails</Role>
      <ShortName>Subsequent Events (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://tffp.com/role/SubsequentEvents</ParentRole>
      <Position>39</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="f10q0623_tffpharma.htm">f10q0623_tffpharma.htm</File>
    <File>f10q0623ex31-1_tffpharma.htm</File>
    <File>f10q0623ex31-2_tffpharma.htm</File>
    <File>f10q0623ex32-1_tffpharma.htm</File>
    <File>tffp-20230630.xsd</File>
    <File>tffp-20230630_cal.xml</File>
    <File>tffp-20230630_def.xml</File>
    <File>tffp-20230630_lab.xml</File>
    <File>tffp-20230630_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>image_001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="370">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="31">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
