<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: QXInteractive; Version: 5.3a -->
    <!-- Field: Doc-Info; Name: Source; Value: TOMI 12312019 10K.xfr; Date: 2020%2D03%2D29T19:40:56Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80080009 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://tomimist.com/role/DocumentAndEntityInformation" xlink:href="tomz-20191231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/BalanceSheets" xlink:href="tomz-20191231.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ConsolidatedBalanceSheetParenthetical" xlink:href="tomz-20191231.xsd#ConsolidatedBalanceSheetParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StatementsOfOperations" xlink:href="tomz-20191231.xsd#StatementsOfOperations" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CondensedConsolidateStatementsOfStockholdersEquityDeficiency" xlink:href="tomz-20191231.xsd#CondensedConsolidateStatementsOfStockholdersEquityDeficiency" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ConsolidatedStatementOfCashFlows" xlink:href="tomz-20191231.xsd#ConsolidatedStatementOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/DescriptionOfBusiness" xlink:href="tomz-20191231.xsd#DescriptionOfBusiness" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/Inventories" xlink:href="tomz-20191231.xsd#Inventories" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/PropertyAndEquipment" xlink:href="tomz-20191231.xsd#PropertyAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssets" xlink:href="tomz-20191231.xsd#IntangibleAssets" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/Leases" xlink:href="tomz-20191231.xsd#Leases" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCosts" xlink:href="tomz-20191231.xsd#CapitalizedSoftwareDevelopmentCosts" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ConvertibleDebt" xlink:href="tomz-20191231.xsd#ConvertibleDebt" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquity" xlink:href="tomz-20191231.xsd#StockholdersEquity" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CommitmentsAndContingencies" xlink:href="tomz-20191231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ContractsAndAgreements" xlink:href="tomz-20191231.xsd#ContractsAndAgreements" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxes" xlink:href="tomz-20191231.xsd#IncomeTaxes" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilities" xlink:href="tomz-20191231.xsd#AccruedExpensesAndOtherCurrentLiabilities" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedWarranty" xlink:href="tomz-20191231.xsd#AccruedWarranty" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CustomerConcentration" xlink:href="tomz-20191231.xsd#CustomerConcentration" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SubsequentEvents" xlink:href="tomz-20191231.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/InventoriesTables" xlink:href="tomz-20191231.xsd#InventoriesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/PropertyAndEquipmentTables" xlink:href="tomz-20191231.xsd#PropertyAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionTables" xlink:href="tomz-20191231.xsd#IntangibleAssetsAndAssetAcquisitionTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/LeasesTablesUsd" xlink:href="tomz-20191231.xsd#LeasesTablesUsd" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCostsTables" xlink:href="tomz-20191231.xsd#CapitalizedSoftwareDevelopmentCostsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ConvertibleDebtTables" xlink:href="tomz-20191231.xsd#ConvertibleDebtTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityTables" xlink:href="tomz-20191231.xsd#StockholdersEquityTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesTables" xlink:href="tomz-20191231.xsd#IncomeTaxesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:href="tomz-20191231.xsd#AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedWarrantyTables" xlink:href="tomz-20191231.xsd#AccruedWarrantyTables" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails1" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails2" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="tomz-20191231.xsd#SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/InventoriesDetails" xlink:href="tomz-20191231.xsd#InventoriesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/PropertyAndEquipmentDetails" xlink:href="tomz-20191231.xsd#PropertyAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/PropertyAndEquipmentDetailsNarrative" xlink:href="tomz-20191231.xsd#PropertyAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails" xlink:href="tomz-20191231.xsd#IntangibleAssetsAndAssetAcquisitionDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails1" xlink:href="tomz-20191231.xsd#IntangibleAssetsAndAssetAcquisitionDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails2" xlink:href="tomz-20191231.xsd#IntangibleAssetsAndAssetAcquisitionDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetailsNarrative" xlink:href="tomz-20191231.xsd#IntangibleAssetsAndAssetAcquisitionDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/LeasesDetailsUsd" xlink:href="tomz-20191231.xsd#LeasesDetailsUsd" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/LeasesDetails1Usd" xlink:href="tomz-20191231.xsd#LeasesDetails1Usd" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/LeasesDetails2" xlink:href="tomz-20191231.xsd#LeasesDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCostsDetailsUsd" xlink:href="tomz-20191231.xsd#CapitalizedSoftwareDevelopmentCostsDetailsUsd" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/ConvertibleDebtDetails" xlink:href="tomz-20191231.xsd#ConvertibleDebtDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityDetails" xlink:href="tomz-20191231.xsd#StockholdersEquityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityDetails1" xlink:href="tomz-20191231.xsd#StockholdersEquityDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityDetails2" xlink:href="tomz-20191231.xsd#StockholdersEquityDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityDetails3" xlink:href="tomz-20191231.xsd#StockholdersEquityDetails3" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/StockholdersEquityDetailsNarrative" xlink:href="tomz-20191231.xsd#StockholdersEquityDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesDetails" xlink:href="tomz-20191231.xsd#IncomeTaxesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesDetails1" xlink:href="tomz-20191231.xsd#IncomeTaxesDetails1" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesDetails2" xlink:href="tomz-20191231.xsd#IncomeTaxesDetails2" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesDetails3" xlink:href="tomz-20191231.xsd#IncomeTaxesDetails3" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/IncomeTaxesDetailsNarrative" xlink:href="tomz-20191231.xsd#IncomeTaxesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:href="tomz-20191231.xsd#AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://tomimist.com/role/AccruedWarrantyDetails" xlink:href="tomz-20191231.xsd#AccruedWarrantyDetails" xlink:type="simple" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" arcroleURI="http://xbrl.org/int/dim/arcrole/all" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#notAll" arcroleURI="http://xbrl.org/int/dim/arcrole/notAll" />
    <link:arcroleRef xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/BalanceSheets" xlink:title="00000002 - Statement - CONSOLIDATED BALANCE SHEET">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaapStatementClassOfStockAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementClassOfStockAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaapSeriesAPreferredStockMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesAPreferredStockMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaapSeriesBPreferredStockMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesBPreferredStockMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaapAssetsAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAssetsAbstract_70" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaapAssetsCurrentAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsAbstract_70" xlink:to="loc_us-gaapAssetsCurrentAbstract_70" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaapCashAndCashEquivalentsAtCarryingValue_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapCashAndCashEquivalentsAtCarryingValue_70" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapAccountsReceivableNetCurrent_70" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapInventoryNet_70" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepositAssets" xlink:label="loc_us-gaapDepositAssets_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapDepositAssets_70" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaapPrepaidExpenseCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapPrepaidExpenseCurrent_70" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapAssetsCurrent_70" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsCurrentAbstract_70" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet_70" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsAbstract" xlink:label="loc_us-gaapOtherAssetsAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsAbstract_70" xlink:to="loc_us-gaapOtherAssetsAbstract_70" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapIntangibleAssetsNetExcludingGoodwill_70" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset_70" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers" xlink:label="loc_us-gaapCapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapCapitalizedSoftwareDevelopmentCostsForSoftwareSoldToCustomers_70" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaapOtherAssetsNoncurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapOtherAssetsNoncurrent_70" xlink:type="arc" order="13" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaapOtherAssets_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapOtherAssets_70" xlink:type="arc" order="14" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapOtherAssetsAbstract_70" xlink:to="loc_us-gaapAssets_70" xlink:type="arc" order="15" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquityAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLiabilitiesAndStockholdersEquityAbstract_70" xlink:type="arc" order="17" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaapLiabilitiesCurrentAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquityAbstract_70" xlink:to="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:type="arc" order="18" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaapAccountsPayableCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapAccountsPayableCurrent_70" xlink:type="arc" order="19" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities" xlink:label="loc_us-gaapAccruedLiabilitiesAndOtherLiabilities_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapAccruedLiabilitiesAndOtherLiabilities_70" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_AccruedOfficersCompensation" xlink:label="loc_TOMZAccruedOfficersCompensation_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_TOMZAccruedOfficersCompensation_70" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent_70" xlink:type="arc" order="22" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaapCustomerDepositsCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapCustomerDepositsCurrent_70" xlink:type="arc" order="23" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapOperatingLeaseLiabilityCurrent_70" xlink:type="arc" order="24" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_DeferredRentCurrent" xlink:label="loc_TOMZDeferredRentCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_TOMZDeferredRentCurrent_70" xlink:type="arc" order="25" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleNotesPayableCurrent" xlink:label="loc_us-gaapConvertibleNotesPayableCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapConvertibleNotesPayableCurrent_70" xlink:type="arc" order="26" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapLiabilitiesCurrent_70" xlink:type="arc" order="27" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapOperatingLeaseLiabilityNoncurrent_70" xlink:type="arc" order="28" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentCreditNoncurrent" xlink:label="loc_us-gaapDeferredRentCreditNoncurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapDeferredRentCreditNoncurrent_70" xlink:type="arc" order="29" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ConvertibleNotesPayable" xlink:label="loc_us-gaapConvertibleNotesPayable_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapConvertibleNotesPayable_70" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaapLiabilitiesNoncurrent_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapLiabilitiesNoncurrent_70" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapLiabilities_70" xlink:type="arc" order="32" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaapCommitmentsAndContingencies_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesCurrentAbstract_70" xlink:to="loc_us-gaapCommitmentsAndContingencies_70" xlink:type="arc" order="34" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaapStockholdersEquityAbstract_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquityAbstract_70" xlink:type="arc" order="36" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaapPreferredStockValue_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapPreferredStockValue_70" xlink:type="arc" order="37" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapCommonStockValue_70" xlink:type="arc" order="38" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaapAdditionalPaidInCapital_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapAdditionalPaidInCapital_70" xlink:type="arc" order="39" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit_70" xlink:type="arc" order="40" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapStockholdersEquity_70" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_70" xlink:to="loc_us-gaapLiabilitiesAndStockholdersEquity_70" xlink:type="arc" order="42" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ConsolidatedBalanceSheetParenthetical" xlink:title="00000003 - Statement - CONSOLIDATED BALANCE SHEET (Parenthetical)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaapStatementClassOfStockAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementClassOfStockAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaapSeriesAPreferredStockMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesAPreferredStockMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaapSeriesBPreferredStockMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesBPreferredStockMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountCurrent" xlink:label="loc_us-gaapDebtInstrumentUnamortizedDiscountCurrent_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDebtInstrumentUnamortizedDiscountCurrent_90" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountNoncurrent" xlink:label="loc_us-gaapDebtInstrumentUnamortizedDiscountNoncurrent_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapDebtInstrumentUnamortizedDiscountNoncurrent_90" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaapStockholdersEquityAbstract_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquityAbstract_90" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaapPreferredStockParOrStatedValuePerShare_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapPreferredStockParOrStatedValuePerShare_90" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaapPreferredStockSharesAuthorized_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapPreferredStockSharesAuthorized_90" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaapPreferredStockSharesIssued_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapPreferredStockSharesIssued_90" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaapPreferredStockSharesOutstanding_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapPreferredStockSharesOutstanding_90" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockDividendRatePercentage" xlink:label="loc_us-gaapPreferredStockDividendRatePercentage_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapPreferredStockDividendRatePercentage_90" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaapCommonStockParOrStatedValuePerShare_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapCommonStockParOrStatedValuePerShare_90" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaapCommonStockSharesAuthorized_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapCommonStockSharesAuthorized_90" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaapCommonStockSharesIssued_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapCommonStockSharesIssued_90" xlink:type="arc" order="12" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaapCommonStockSharesOutstanding_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStockholdersEquityAbstract_90" xlink:to="loc_us-gaapCommonStockSharesOutstanding_90" xlink:type="arc" order="13" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StatementsOfOperations" xlink:title="00000004 - Statement - CONSOLIDATED STATEMENT OF OPERATIONS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CondensedConsolidateStatementsOfStockholdersEquityDeficiency" xlink:title="00000005 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS EQUITY (DEFICIENCY)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaapSeriesAPreferredStockMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapSeriesAPreferredStockMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaapCommonStockMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapCommonStockMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaapAdditionalPaidInCapitalMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapAdditionalPaidInCapitalMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaapRetainedEarningsMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapRetainedEarningsMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharesIssued" xlink:label="loc_us-gaapSharesIssued_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapSharesIssued_60" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockholdersEquity_60" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_EquityBasedCompensation" xlink:label="loc_TOMZEquityBasedCompensation_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZEquityBasedCompensation_60" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_CommonStockIssuedForServicesProvidedShares" xlink:label="loc_TOMZCommonStockIssuedForServicesProvidedShares_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZCommonStockIssuedForServicesProvidedShares_60" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_CommonStockIssuedForServicesProvidedAmount" xlink:label="loc_TOMZCommonStockIssuedForServicesProvidedAmount_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZCommonStockIssuedForServicesProvidedAmount_60" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesConversionOfConvertibleSecurities" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities_60" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueConversionOfConvertibleSecurities" xlink:label="loc_us-gaapStockIssuedDuringPeriodValueConversionOfConvertibleSecurities_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStockIssuedDuringPeriodValueConversionOfConvertibleSecurities_60" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_InducedConversionCosts" xlink:label="loc_TOMZInducedConversionCosts_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZInducedConversionCosts_60" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapNetIncomeLoss_60" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ConsolidatedStatementOfCashFlows" xlink:title="00000006 - Statement - CONSOLIDATED STATEMENT OF CASH FLOWS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/DescriptionOfBusiness" xlink:title="00000007 - Disclosure - 1. DESCRIPTION OF BUSINESS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="00000008 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/Inventories" xlink:title="00000009 - Disclosure - 3. INVENTORIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/PropertyAndEquipment" xlink:title="00000010 - Disclosure - 4. PROPERTY AND EQUIPMENT" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssets" xlink:title="00000011 - Disclosure - 5. INTANGIBLE ASSETS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/Leases" xlink:title="00000012 - Disclosure - 6. LEASES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCosts" xlink:title="00000013 - Disclosure - 7. CAPITALIZED SOFTWARE DEVELOPMENT COSTS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ConvertibleDebt" xlink:title="00000014 - Disclosure - 8. CONVERTIBLE DEBT" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquity" xlink:title="00000015 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CommitmentsAndContingencies" xlink:title="00000016 - Disclosure - 10. COMMITMENTS AND CONTINGENCIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ContractsAndAgreements" xlink:title="00000017 - Disclosure - 11. CONTRACTS AND AGREEMENTS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxes" xlink:title="00000018 - Disclosure - 12. INCOME TAXES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilities" xlink:title="00000019 - Disclosure - 13. ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedWarranty" xlink:title="00000020 - Disclosure - 14. ACCRUED WARRANTY" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CustomerConcentration" xlink:title="00000021 - Disclosure - 15. CUSTOMER CONCENTRATION" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SubsequentEvents" xlink:title="00000022 - Disclosure - 16. SUBSEQUENT EVENTS" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:title="00000023 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:title="00000024 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/InventoriesTables" xlink:title="00000025 - Disclosure - 3. INVENTORIES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/PropertyAndEquipmentTables" xlink:title="00000026 - Disclosure - 4. PROPERTY AND EQUIPMENT (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionTables" xlink:title="00000027 - Disclosure - 5. INTANGIBLE ASSETS AND ASSET ACQUISITION (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/LeasesTablesUsd" xlink:title="00000028 - Disclosure - 6. LEASES (Tables) (USD $)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCostsTables" xlink:title="00000029 - Disclosure - 7. CAPITALIZED SOFTWARE DEVELOPMENT COSTS (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ConvertibleDebtTables" xlink:title="00000030 - Disclosure - 8. CONVERTIBLE DEBT (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityTables" xlink:title="00000031 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Tables)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaapPlanNameAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapPlanNameAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaapPlanNameDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapPlanNameAxis" xlink:to="loc_us-gaapPlanNameDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_OptionsMember" xlink:label="loc_TOMZOptionsMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapPlanNameDomain" xlink:to="loc_TOMZOptionsMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfStockOptionsRollForwardTableTextBlock" xlink:label="loc_us-gaapScheduleOfStockOptionsRollForwardTableTextBlock_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapScheduleOfStockOptionsRollForwardTableTextBlock_20" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock_20" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock" xlink:label="loc_us-gaapScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock_20" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock" xlink:label="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsVestedAndExpectedToVestOutstandingAndExercisableTableTextBlock_20" xlink:type="arc" order="3" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesTables" xlink:title="00000032 - Disclosure - 12. INCOME TAXES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilitiesTables" xlink:title="00000033 - Disclosure - 13. ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedWarrantyTables" xlink:title="00000034 - Disclosure - 14. ACCRUED WARRANTY (Tables)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails" xlink:title="00000035 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaapAdjustmentsForChangeInAccountingPrincipleAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapAdjustmentsForChangeInAccountingPrincipleAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaapChangeInAccountingPrincipleMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapAdjustmentsForChangeInAccountingPrincipleAxis" xlink:to="loc_us-gaapChangeInAccountingPrincipleMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaapChangeInAccountingPrincipleMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapAdjustmentsForChangeInAccountingPrincipleAxis" xlink:to="loc_us-gaapChangeInAccountingPrincipleMember_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ChangeInAccountingStandardMember" xlink:label="loc_TOMZChangeInAccountingStandardMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapChangeInAccountingPrincipleMember" xlink:to="loc_TOMZChangeInAccountingStandardMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_UpadtedBalanceMember" xlink:label="loc_TOMZUpadtedBalanceMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapChangeInAccountingPrincipleMember" xlink:to="loc_TOMZUpadtedBalanceMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaapAssetsAbstract_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapAssetsAbstract_40" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseCurrent" xlink:label="loc_us-gaapPrepaidExpenseCurrent_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsAbstract_40" xlink:to="loc_us-gaapPrepaidExpenseCurrent_40" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaapOperatingLeaseRightOfUseAsset_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapAssetsAbstract_40" xlink:to="loc_us-gaapOperatingLeaseRightOfUseAsset_40" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaapLiabilitiesAbstract_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapLiabilitiesAbstract_40" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentCreditCurrent" xlink:label="loc_us-gaapDeferredRentCreditCurrent_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesAbstract_40" xlink:to="loc_us-gaapDeferredRentCreditCurrent_40" xlink:type="arc" order="5" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityCurrent_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesAbstract_40" xlink:to="loc_us-gaapOperatingLeaseLiabilityCurrent_40" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredRentCreditNoncurrent" xlink:label="loc_us-gaapDeferredRentCreditNoncurrent_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesAbstract_40" xlink:to="loc_us-gaapDeferredRentCreditNoncurrent_40" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaapOperatingLeaseLiabilityNoncurrent_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapLiabilitiesAbstract_40" xlink:to="loc_us-gaapOperatingLeaseLiabilityNoncurrent_40" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityAbstract" xlink:label="loc_us-gaapEquityAbstract_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapEquityAbstract_40" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityAbstract_40" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit_40" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails1" xlink:title="00000036 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetails2" xlink:title="00000037 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details 2)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaapStatementBusinessSegmentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementBusinessSegmentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaapSegmentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementBusinessSegmentsAxis" xlink:to="loc_us-gaapSegmentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_SteraMistProductMember" xlink:label="loc_TOMZSteraMistProductMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_TOMZSteraMistProductMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ServiceAndTrainingMember" xlink:label="loc_TOMZServiceAndTrainingMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapSegmentDomain" xlink:to="loc_TOMZServiceAndTrainingMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaapIncomeTaxAuthorityAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapIncomeTaxAuthorityAxis" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaapIncomeTaxAuthorityDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapIncomeTaxAuthorityAxis" xlink:to="loc_us-gaapIncomeTaxAuthorityDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaapIncomeTaxAuthorityDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapIncomeTaxAuthorityAxis" xlink:to="loc_us-gaapIncomeTaxAuthorityDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaapDomesticCountryMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapIncomeTaxAuthorityDomain" xlink:to="loc_us-gaapDomesticCountryMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_InternationalMember" xlink:label="loc_TOMZInternationalMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapIncomeTaxAuthorityDomain" xlink:to="loc_TOMZInternationalMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaapRevenues_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapRevenues_110" xlink:type="arc" order="0" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="00000038 - Disclosure - 2. SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/InventoriesDetails" xlink:title="00000039 - Disclosure - 3. INVENTORIES (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/PropertyAndEquipmentDetails" xlink:title="00000040 - Disclosure - 4. PROPERTY AND EQUIPMENT (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/PropertyAndEquipmentDetailsNarrative" xlink:title="00000041 - Disclosure - 4. PROPERTY AND EQUIPMENT (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails" xlink:title="00000042 - Disclosure - 5. INTANGIBLE ASSETS AND ASSET ACQUISITION (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails1" xlink:title="00000043 - Disclosure - 5. INTANGIBLE ASSETS AND ASSET ACQUISITION (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetails2" xlink:title="00000044 - Disclosure - 5. INTANGIBLE ASSETS AND ASSET ACQUISITION (Details 2)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IntangibleAssetsAndAssetAcquisitionDetailsNarrative" xlink:title="00000045 - Disclosure - 5. INTANGIBLE ASSETS AND ASSET ACQUISITION (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/LeasesDetailsUsd" xlink:title="00000046 - Disclosure - 6. LEASES (Details) (USD $)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/LeasesDetails1Usd" xlink:title="00000047 - Disclosure - 6. LEASES (Details 1) (USD $)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/LeasesDetails2" xlink:title="00000048 - Disclosure - 6. LEASES (Details 2)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/CapitalizedSoftwareDevelopmentCostsDetailsUsd" xlink:title="00000049 - Disclosure - 7. CAPITALIZED SOFTWARE DEVELOPMENT COSTS (Details) (USD $)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/ConvertibleDebtDetails" xlink:title="00000050 - Disclosure - 8. CONVERTIBLE DEBT (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityDetails" xlink:title="00000051 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantMember" xlink:label="loc_us-gaapWarrantMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_us-gaapWarrantMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_30" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesStockOptionsExercised_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesStockOptionsExercised_30" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:type="arc" order="6" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_30" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_30" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_30" xlink:type="arc" order="9" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityDetails1" xlink:title="00000052 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Details 1)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srtRangeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtRangeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srtRangeMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtRangeAxis" xlink:to="loc_srtRangeMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srtRangeMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtRangeAxis" xlink:to="loc_srtRangeMember_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointZeroFiveRangeMember" xlink:label="loc_TOMZPointZeroFiveRangeMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointZeroFiveRangeMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointOneZeroRangeMember" xlink:label="loc_TOMZPointOneZeroRangeMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointOneZeroRangeMember_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointOneOneRangeMember" xlink:label="loc_TOMZPointOneOneRangeMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointOneOneRangeMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointOneTwoRangeMember" xlink:label="loc_TOMZPointOneTwoRangeMember_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointOneTwoRangeMember_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointZeroTwoSevenRangeMember" xlink:label="loc_TOMZPointZeroTwoSevenRangeMember_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointZeroTwoSevenRangeMember_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointFiveFiveRangeMember" xlink:label="loc_TOMZPointFiveFiveRangeMember_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointFiveFiveRangeMember_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointZeroThreeRangeMember" xlink:label="loc_TOMZPointZeroThreeRangeMember_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointZeroThreeRangeMember_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_PointTwoOneRangeMember" xlink:label="loc_TOMZPointTwoOneRangeMember_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZPointTwoOneRangeMember_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_170" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" xlink:to="loc_us-gaapSharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_170" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_170" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_170" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract_170" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_170" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityDetails2" xlink:title="00000053 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Details 2)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaapStatementEquityComponentsAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementEquityComponentsAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaapEquityComponentDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementEquityComponentsAxis" xlink:to="loc_us-gaapEquityComponentDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_CommonStockWarrantMember" xlink:label="loc_TOMZCommonStockWarrantMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapEquityComponentDomain" xlink:to="loc_TOMZCommonStockWarrantMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_30" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross_30" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaapStockIssuedDuringPeriodSharesStockOptionsExercised_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapStockIssuedDuringPeriodSharesStockOptionsExercised_30" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_30" xlink:type="arc" order="4" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:type="arc" order="7" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_30" xlink:type="arc" order="8" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice_30" xlink:type="arc" order="9" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_30" xlink:type="arc" order="10" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice" xlink:label="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_30" xlink:to="loc_us-gaapShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice_30" xlink:type="arc" order="11" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityDetails3" xlink:title="00000054 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Details 3)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srtRangeAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_srtRangeAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srtRangeMember" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srtRangeAxis" xlink:to="loc_srtRangeMember" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srtRangeMember_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_srtRangeAxis" xlink:to="loc_srtRangeMember_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range008Member" xlink:label="loc_TOMZRange008Member_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange008Member_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range001Member" xlink:label="loc_TOMZRange001Member_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange001Member_10" xlink:type="arc" order="11" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range012Member" xlink:label="loc_TOMZRange012Member_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange012Member_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range014Member" xlink:label="loc_TOMZRange014Member_30" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange014Member_30" xlink:type="arc" order="31" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range017Member" xlink:label="loc_TOMZRange017Member_40" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange017Member_40" xlink:type="arc" order="41" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range027Member" xlink:label="loc_TOMZRange027Member_50" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange027Member_50" xlink:type="arc" order="51" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range029Member" xlink:label="loc_TOMZRange029Member_60" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange029Member_60" xlink:type="arc" order="61" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range030Member" xlink:label="loc_TOMZRange030Member_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange030Member_70" xlink:type="arc" order="71" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range032Member" xlink:label="loc_TOMZRange032Member_80" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange032Member_80" xlink:type="arc" order="81" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range042Member" xlink:label="loc_TOMZRange042Member_90" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange042Member_90" xlink:type="arc" order="91" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range050Member" xlink:label="loc_TOMZRange050Member_100" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange050Member_100" xlink:type="arc" order="101" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range055Member" xlink:label="loc_TOMZRange055Member_110" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange055Member_110" xlink:type="arc" order="111" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range069Member" xlink:label="loc_TOMZRange069Member_120" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange069Member_120" xlink:type="arc" order="121" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_Range1Member" xlink:label="loc_TOMZRange1Member_130" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srtRangeMember" xlink:to="loc_TOMZRange1Member_130" xlink:type="arc" order="131" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberWarrants" xlink:label="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberWarrants_310" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumberWarrants_310" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_AverageWeightedRemainingContractualLifeInYearsWarrant" xlink:label="loc_TOMZAverageWeightedRemainingContractualLifeInYearsWarrant_310" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZAverageWeightedRemainingContractualLifeInYearsWarrant_310" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableNumber" xlink:label="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableNumber_310" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableNumber_310" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="tomz-20191231.xsd#TOMZ_ShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableWeightedAverageExercisePrice" xlink:label="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableWeightedAverageExercisePrice_310" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_TOMZShareBasedCompensationArrangementByShareBasedPaymentAwardWarrantsExercisableWeightedAverageExercisePrice_310" xlink:type="arc" order="3" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/StockholdersEquityDetailsNarrative" xlink:title="00000055 - Disclosure - 9. STOCKHOLDERS&apos; EQUITY (Details Narrative)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaapStatementLineItems" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaapStatementTable" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapStatementTable" xlink:type="arc" order="10" xbrldt:closed="true" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaapStatementClassOfStockAxis" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaapStatementTable" xlink:to="loc_us-gaapStatementClassOfStockAxis" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain" xlink:type="arc" order="20" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaapClassOfStockDomain_10" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xbrldt:contextElement="segment" xlink:from="loc_us-gaapStatementClassOfStockAxis" xlink:to="loc_us-gaapClassOfStockDomain_10" xlink:type="arc" order="30" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaapSeriesAPreferredStockMember_0" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesAPreferredStockMember_0" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaapSeriesBPreferredStockMember_20" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapClassOfStockDomain" xlink:to="loc_us-gaapSeriesBPreferredStockMember_20" xlink:type="arc" order="21" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaapPreferredStockParOrStatedValuePerShare_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPreferredStockParOrStatedValuePerShare_70" xlink:type="arc" order="0" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaapPreferredStockSharesAuthorized_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPreferredStockSharesAuthorized_70" xlink:type="arc" order="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaapPreferredStockSharesIssued_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPreferredStockSharesIssued_70" xlink:type="arc" order="2" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaapPreferredStockSharesOutstanding_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPreferredStockSharesOutstanding_70" xlink:type="arc" order="3" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockDividendRatePercentage" xlink:label="loc_us-gaapPreferredStockDividendRatePercentage_70" />
      <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaapStatementLineItems" xlink:to="loc_us-gaapPreferredStockDividendRatePercentage_70" xlink:type="arc" order="4" />
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesDetails" xlink:title="00000056 - Disclosure - 12. INCOME TAXES (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesDetails1" xlink:title="00000057 - Disclosure - 12. INCOME TAXES (Details 1)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesDetails2" xlink:title="00000058 - Disclosure - 12. INCOME TAXES (Details 2)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesDetails3" xlink:title="00000059 - Disclosure - 12. INCOME TAXES (Details 3)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/IncomeTaxesDetailsNarrative" xlink:title="00000060 - Disclosure - 12. INCOME TAXES (Details Narrative)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedExpensesAndOtherCurrentLiabilitiesDetails" xlink:title="00000061 - Disclosure - 13. ACCRUED EXPENSES AND OTHER CURRENT LIABILITIES (Details)" />
    <link:definitionLink xlink:type="extended" xlink:role="http://tomimist.com/role/AccruedWarrantyDetails" xlink:title="00000062 - Disclosure - 14. ACCRUED WARRANTY (Details)" />
</link:linkbase>
