{"cik":314227,"taxonomy":"us-gaap","tag":"LongTermDebt","label":"Long-term Debt","description":"Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations.","entityName":"TOMI ENVIRONMENTAL SOLUTIONS, INC.","units":{"USD":[{"end":"2017-12-31","val":5944375,"accn":"0001654954-18-003328","fy":2017,"fp":"FY","form":"10-K","filed":"2018-03-29"},{"end":"2017-12-31","val":5944375,"accn":"0001654954-19-003856","fy":2018,"fp":"FY","form":"10-K","filed":"2019-04-01","frame":"CY2017Q4I"},{"end":"2018-12-31","val":4982466,"accn":"0001654954-19-003856","fy":2018,"fp":"FY","form":"10-K","filed":"2019-04-01"},{"end":"2018-12-31","val":4982466,"accn":"0001654954-20-003413","fy":2019,"fp":"FY","form":"10-K","filed":"2020-03-30","frame":"CY2018Q4I"},{"end":"2019-12-31","val":5000000,"accn":"0001654954-20-003413","fy":2019,"fp":"FY","form":"10-K","filed":"2020-03-30","frame":"CY2019Q4I"},{"end":"2025-12-31","val":3135000,"accn":"0001654954-26-003091","fy":2025,"fp":"FY","form":"10-K","filed":"2026-03-31","frame":"CY2025Q4I"},{"end":"2026-03-31","val":3135000,"accn":"0001654954-26-004626","fy":2026,"fp":"Q1","form":"10-Q","filed":"2026-05-08","frame":"CY2026Q1I"},{"end":"2026-06-30","val":3135000,"accn":"0001654954-26-007620","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-08-14","frame":"CY2026Q2I"}]}}