{
 "version": "2.2",
 "instance": {
  "d592628d20f.htm": {
   "nsprefix": "tsm",
   "nsuri": "http://www.tsmc.com/20231231",
   "dts": {
    "inline": {
     "local": [
      "d592628d20f.htm"
     ]
    },
    "schema": {
     "local": [
      "tsm-20231231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://www.xbrl.org/dtr/type/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.ifrs.org/taxonomy/2023-03-23/full_ifrs/full_ifrs-cor_2023-03-23.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/currency/2023/currency-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd",
      "https://xbrl.sec.gov/exch/2023/exch-2023.xsd",
      "https://xbrl.sec.gov/naics/2023/naics-2023.xsd",
      "https://xbrl.sec.gov/sic/2023/sic-2023.xsd",
      "https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd"
     ]
    },
    "calculationLink": {
     "local": [
      "tsm-20231231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "tsm-20231231_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "tsm-20231231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "tsm-20231231_pre.xml"
     ]
    }
   },
   "keyStandard": 443,
   "keyCustom": 215,
   "axisStandard": 45,
   "axisCustom": 11,
   "memberStandard": 80,
   "memberCustom": 218,
   "hidden": {
    "total": 117,
    "http://www.tsmc.com/20231231": 114,
    "http://xbrl.sec.gov/dei/2023": 3
   },
   "contextCount": 1329,
   "entityCount": 1,
   "segmentCount": 312,
   "elementCount": 1234,
   "unitCount": 11,
   "baseTaxonomies": {
    "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full": 2615,
    "http://xbrl.sec.gov/dei/2023": 45
   },
   "report": {
    "R1": {
     "role": "http://www.tsmc.com/role/Cover",
     "longName": "1001 - Document - Cover",
     "shortName": "Cover",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
     "longName": "1002 - Statement - Consolidated Statements of Financial Position",
     "shortName": "Consolidated Statements of Financial Position",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "2",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CashAndCashEquivalents",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialAssetsAtFairValueThroughProfitOrLoss",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
     "longName": "1003 - Statement - Consolidated Statements of Profit or Loss and Other Comprehensive Income",
     "shortName": "Consolidated Statements of Profit or Loss and Other Comprehensive Income",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "3",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:Revenue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:CostOfSales",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R4": {
     "role": "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
     "longName": "1004 - Statement - Consolidated Statements of Changes in Equity",
     "shortName": "Consolidated Statements of Changes in Equity",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "4",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2020",
      "name": "ifrs-full:Equity",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020",
      "name": "ifrs-full:Equity",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
     "longName": "1005 - Statement - Consolidated Statements of Cash Flows",
     "shortName": "Consolidated Statements of Cash Flows",
     "isDefault": "false",
     "groupType": "statement",
     "subGroupType": "",
     "menuCat": "Statements",
     "order": "5",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ProfitLossBeforeTax",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:AdjustmentsForRecognitionOfExpectedCreditLossAndReversalOnInvestmentsInDebtInstruments",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.tsmc.com/role/General",
     "longName": "1006 - Disclosure - General",
     "shortName": "General",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "6",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.tsmc.com/role/TheAuthorizationOfFinancialStatements",
     "longName": "1007 - Disclosure - The Authorization of Financial Statements",
     "shortName": "The Authorization of Financial Statements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "7",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAuthorisationOfFinancialStatementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAuthorisationOfFinancialStatementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.tsmc.com/role/USDollarAmounts",
     "longName": "1008 - Disclosure - U.S. Dollar Amounts",
     "shortName": "U.S. Dollar Amounts",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "8",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.tsmc.com/role/ApplicationOfNewAndRevisedIfrsIasIfricAndSicIssuedByTheIasbCollectivelyIfrsAccountingStandards",
     "longName": "1009 - Disclosure - Application of New and Revised IFRS, IAS, IFRIC, and SIC Issued by the IASB (collectively, \"IFRS Accounting Standards\")",
     "shortName": "Application of New and Revised IFRS, IAS, IFRIC, and SIC Issued by the IASB (collectively, \"IFRS Accounting Standards\")",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformation",
     "longName": "1010 - Disclosure - Summary of Material Accounting Policy Information",
     "shortName": "Summary of Material Accounting Policy Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfMaterialAccountingPolicyInformationExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfMaterialAccountingPolicyInformationExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.tsmc.com/role/MeterialAccountingJudgmentsAndKeySourcesOfEstimationAndUncertainty",
     "longName": "1011 - Disclosure - Meterial Accounting Judgments and Key Sources of Estimation and Uncertainty",
     "shortName": "Meterial Accounting Judgments and Key Sources of Estimation and Uncertainty",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAccountingJudgementsAndEstimatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAccountingJudgementsAndEstimatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.tsmc.com/role/CashAndCashEquivalents",
     "longName": "1012 - Disclosure - Cash and Cash Equivalents",
     "shortName": "Cash and Cash Equivalents",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLoss",
     "longName": "1013 - Disclosure - Financial Assets and Liabilities at Fair Value through Profit or Loss",
     "shortName": "Financial Assets and Liabilities at Fair Value through Profit or Loss",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "13",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "longName": "1014 - Disclosure - Financial Assets at Fair Value Through Other Comprehensive Income",
     "shortName": "Financial Assets at Fair Value Through Other Comprehensive Income",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCost",
     "longName": "1015 - Disclosure - Financial Assets at Amortized Cost",
     "shortName": "Financial Assets at Amortized Cost",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstruments",
     "longName": "1016 - Disclosure - Hedging Financial Instruments",
     "shortName": "Hedging Financial Instruments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.tsmc.com/role/NotesAndAccountsReceivableNet",
     "longName": "1017 - Disclosure - Notes and Accounts Receivable, Net",
     "shortName": "Notes and Accounts Receivable, Net",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "17",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.tsmc.com/role/Inventories",
     "longName": "1018 - Disclosure - Inventories",
     "shortName": "Inventories",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethod",
     "longName": "1019 - Disclosure - Investments Accounted for Using Equity Method",
     "shortName": "Investments Accounted for Using Equity Method",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.tsmc.com/role/PropertyPlantAndEquipment",
     "longName": "1020 - Disclosure - Property, Plant and Equipment",
     "shortName": "Property, Plant and Equipment",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.tsmc.com/role/LeaseArrangements",
     "longName": "1021 - Disclosure - Lease Arrangements",
     "shortName": "Lease Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.tsmc.com/role/IntangibleAssets",
     "longName": "1022 - Disclosure - Intangible Assets",
     "shortName": "Intangible Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.tsmc.com/role/LoansAndBondsPayable",
     "longName": "1023 - Disclosure - Loans and Bonds Payable",
     "shortName": "Loans and Bonds Payable",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_BondsPayableMemberifrsfullBorrowingsByNameAxis",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_BondsPayableMemberifrsfullBorrowingsByNameAxis",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlans",
     "longName": "1024 - Disclosure - Retirement Benefit Plans",
     "shortName": "Retirement Benefit Plans",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.tsmc.com/role/Equity",
     "longName": "1025 - Disclosure - Equity",
     "shortName": "Equity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.tsmc.com/role/NetRevenue",
     "longName": "1026 - Disclosure - Net Revenue",
     "shortName": "Net Revenue",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfRevenueExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfRevenueExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.tsmc.com/role/InterestIncome",
     "longName": "1027 - Disclosure - Interest Income",
     "shortName": "Interest Income",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInterestIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfInterestIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.tsmc.com/role/FinanceCosts",
     "longName": "1028 - Disclosure - Finance Costs",
     "shortName": "Finance Costs",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "28",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinanceCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinanceCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.tsmc.com/role/OtherGainsAndLossesNet",
     "longName": "1029 - Disclosure - Other Gains and Losses, Net",
     "shortName": "Other Gains and Losses, Net",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "29",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfOtherGainAndLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfOtherGainAndLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.tsmc.com/role/IncomeTax",
     "longName": "1030 - Disclosure - Income Tax",
     "shortName": "Income Tax",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "30",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.tsmc.com/role/EarningsPerShare",
     "longName": "1031 - Disclosure - Earnings Per Share",
     "shortName": "Earnings Per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "31",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangements",
     "longName": "1032 - Disclosure - Share-Based Payment Arrangements",
     "shortName": "Share-Based Payment Arrangements",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "32",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNature",
     "longName": "1033 - Disclosure - Additional Information of Expenses by Nature",
     "shortName": "Additional Information of Expenses by Nature",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "33",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.tsmc.com/role/GovernmentGrants",
     "longName": "1034 - Disclosure - Government Grants",
     "shortName": "Government Grants",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "34",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGovernmentGrantsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGovernmentGrantsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.tsmc.com/role/CashFlowInformation",
     "longName": "1035 - Disclosure - Cash Flow Information",
     "shortName": "Cash Flow Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "35",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.tsmc.com/role/CapitalManagement",
     "longName": "1036 - Disclosure - Capital Management",
     "shortName": "Capital Management",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "36",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.tsmc.com/role/FinancialInstruments",
     "longName": "1037 - Disclosure - Financial Instruments",
     "shortName": "Financial Instruments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "37",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.tsmc.com/role/RelatedPartyTransactions",
     "longName": "1038 - Disclosure - Related Party Transactions",
     "shortName": "Related Party Transactions",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "38",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.tsmc.com/role/PledgedAssets",
     "longName": "1039 - Disclosure - Pledged Assets",
     "shortName": "Pledged Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "39",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCollateralExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCollateralExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitments",
     "longName": "1040 - Disclosure - Significant Contingent Liabilities and Unrecognized Commitments",
     "shortName": "Significant Contingent Liabilities and Unrecognized Commitments",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "40",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.tsmc.com/role/SignificantSubsequentEvents",
     "longName": "1041 - Disclosure - Significant Subsequent Events",
     "shortName": "Significant Subsequent Events",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "41",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.tsmc.com/role/OperatingSegmentsInformation",
     "longName": "1042 - Disclosure - Operating Segments Information",
     "shortName": "Operating Segments Information",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "42",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies",
     "longName": "1043 - Disclosure - Summary of Material Accounting Policy Information (Policies)",
     "shortName": "Summary of Material Accounting Policy Information (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "43",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:StatementOfIFRSCompliance",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfMaterialAccountingPolicyInformationExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:StatementOfIFRSCompliance",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfMaterialAccountingPolicyInformationExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationTables",
     "longName": "1044 - Disclosure - Summary of Material Accounting Policy Information (Tables)",
     "shortName": "Summary of Material Accounting Policy Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.tsmc.com/role/CashAndCashEquivalentsTables",
     "longName": "1045 - Disclosure - Cash and Cash Equivalents (Tables)",
     "shortName": "Cash and Cash Equivalents (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
     "longName": "1046 - Disclosure - Financial Assets and Liabilities at Fair Value through Profit or Loss (Tables)",
     "shortName": "Financial Assets and Liabilities at Fair Value through Profit or Loss (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "46",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeTables",
     "longName": "1047 - Disclosure - Financial Assets at Fair Value Through Other Comprehensive Income (Tables)",
     "shortName": "Financial Assets at Fair Value Through Other Comprehensive Income (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "47",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostTables",
     "longName": "1048 - Disclosure - Financial Assets at Amortized Cost (Tables)",
     "shortName": "Financial Assets at Amortized Cost (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "48",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables",
     "longName": "1049 - Disclosure - Hedging Financial Instruments (Tables)",
     "shortName": "Hedging Financial Instruments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "49",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables",
     "longName": "1050 - Disclosure - Notes and Accounts Receivable, Net (Tables)",
     "shortName": "Notes and Accounts Receivable, Net (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "50",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R51": {
     "role": "http://www.tsmc.com/role/InventoriesTables",
     "longName": "1051 - Disclosure - Inventories (Tables)",
     "shortName": "Inventories (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "51",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodTables",
     "longName": "1052 - Disclosure - Investments Accounted for Using Equity Method (Tables)",
     "shortName": "Investments Accounted for Using Equity Method (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "52",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables",
     "longName": "1053 - Disclosure - Property, Plant and Equipment (Tables)",
     "shortName": "Property, Plant and Equipment (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "53",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_PropertyPlantAndEquipmentNotSubjectToOperatingLeasesMemberifrsfullPropertyPlantAndEquipmentByOperatingLeaseStatusAxis",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_PropertyPlantAndEquipmentNotSubjectToOperatingLeasesMemberifrsfullPropertyPlantAndEquipmentByOperatingLeaseStatusAxis",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.tsmc.com/role/LeaseArrangementsTables",
     "longName": "1054 - Disclosure - Lease Arrangements (Tables)",
     "shortName": "Lease Arrangements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "54",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.tsmc.com/role/IntangibleAssetsTables",
     "longName": "1055 - Disclosure - Intangible Assets (Tables)",
     "shortName": "Intangible Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "55",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.tsmc.com/role/LoansAndBondsPayableTables",
     "longName": "1056 - Disclosure - Loans and Bonds Payable (Tables)",
     "shortName": "Loans and Bonds Payable (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "56",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutDomesticUnsecuredBondsAndOverseasUnsecuredBondsPostFinancialStatementsDateExplanatoryTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutDomesticUnsecuredBondsAndOverseasUnsecuredBondsPostFinancialStatementsDateExplanatoryTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansTables",
     "longName": "1057 - Disclosure - Retirement Benefit Plans (Tables)",
     "shortName": "Retirement Benefit Plans (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "57",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.tsmc.com/role/EquityTables",
     "longName": "1058 - Disclosure - Equity (Tables)",
     "shortName": "Equity (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "58",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDividendsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDividendsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.tsmc.com/role/NetRevenueTables",
     "longName": "1059 - Disclosure - Net Revenue (Tables)",
     "shortName": "Net Revenue (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "59",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.tsmc.com/role/InterestIncomeTables",
     "longName": "1060 - Disclosure - Interest Income (Tables)",
     "shortName": "Interest Income (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "60",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutInterestIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutInterestIncomeExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.tsmc.com/role/FinanceCostsTables",
     "longName": "1061 - Disclosure - Finance Costs (Tables)",
     "shortName": "Finance Costs (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "61",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinanceCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutFinanceCostExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.tsmc.com/role/OtherGainsAndLossesNetTables",
     "longName": "1062 - Disclosure - Other Gains and Losses, Net (Tables)",
     "shortName": "Other Gains and Losses, Net (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "62",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "tsm:DisclosureOfOtherGainAndLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "tsm:DisclosureOfOtherGainAndLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.tsmc.com/role/IncomeTaxTables",
     "longName": "1063 - Disclosure - Income Tax (Tables)",
     "shortName": "Income Tax (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "63",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfIncomeTaxExpenseBenefitExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfIncomeTaxExpenseBenefitExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.tsmc.com/role/EarningsPerShareTables",
     "longName": "1064 - Disclosure - Earnings Per Share (Tables)",
     "shortName": "Earnings Per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "64",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables",
     "longName": "1065 - Disclosure - Share-Based Payment Arrangements (Tables)",
     "shortName": "Share-Based Payment Arrangements (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "65",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutRestictedStockAwardShareBasedPaymentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutRestictedStockAwardShareBasedPaymentExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureTables",
     "longName": "1066 - Disclosure - Additional Information of Expenses by Nature (Tables)",
     "shortName": "Additional Information of Expenses by Nature (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "66",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAdditionalInformationExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfAdditionalInformationExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.tsmc.com/role/CashFlowInformationTables",
     "longName": "1067 - Disclosure - Cash Flow Information (Tables)",
     "shortName": "Cash Flow Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "67",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutNonCashTransactionTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DisclosureOfDetailedInformationAboutNonCashTransactionTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsTables",
     "longName": "1068 - Disclosure - Financial Instruments (Tables)",
     "shortName": "Financial Instruments (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "68",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.tsmc.com/role/RelatedPartyTransactionsTables",
     "longName": "1069 - Disclosure - Related Party Transactions (Tables)",
     "shortName": "Related Party Transactions (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "69",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R70": {
     "role": "http://www.tsmc.com/role/OperatingSegmentsInformationTables",
     "longName": "1070 - Disclosure - Operating Segments Information (Tables)",
     "shortName": "Operating Segments Information (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "70",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.tsmc.com/role/USDollarAmountsAdditionalInformationDetail",
     "longName": "1071 - Disclosure - U.S. Dollar Amounts - Additional Information (Detail)",
     "shortName": "U.S. Dollar Amounts - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "71",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ClosingForeignExchangeRate",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ClosingForeignExchangeRate",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
     "longName": "1072 - Disclosure - Summary of Material Accounting Policy Information - Detail Information of Subsidiaries (Detail)",
     "shortName": "Summary of Material Accounting Policy Information - Detail Information of Subsidiaries (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "72",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TSMCNorthAmericaMemberifrsfullSignificantInvestmentsInSubsidiariesAxis",
      "name": "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TSMCNorthAmericaMemberifrsfullSignificantInvestmentsInSubsidiariesAxis",
      "name": "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail",
     "longName": "1073 - Disclosure - Summary of Material Accounting Policy Information - Detail Information of Subsidiaries (Parenthetical) (Detail)",
     "shortName": "Summary of Material Accounting Policy Information - Detail Information of Subsidiaries (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "73",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TSMCArizonaCorporationMemberifrsfullSignificantInvestmentsInSubsidiariesAxis",
      "name": "tsm:ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "tsm:ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TSMCArizonaCorporationMemberifrsfullSignificantInvestmentsInSubsidiariesAxis",
      "name": "tsm:ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "tsm:ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix",
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail",
     "longName": "1074 - Disclosure - Summary of Material Accounting Policy Information - Additional Information (Detail)",
     "shortName": "Summary of Material Accounting Policy Information - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "74",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_LandImprovementsMemberifrsfullClassesOfPropertyPlantAndEquipmentAxis",
      "name": "tsm:UsefulLivesPropertyPlantAndEquipment",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_LandImprovementsMemberifrsfullClassesOfPropertyPlantAndEquipmentAxis",
      "name": "tsm:UsefulLivesPropertyPlantAndEquipment",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail",
     "longName": "1075 - Disclosure - Cash and Cash Equivalents - Summary of Cash and Cash Equivalents (Detail)",
     "shortName": "Cash and Cash Equivalents - Summary of Cash and Cash Equivalents (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "75",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:Cash",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:Cash",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
     "longName": "1076 - Disclosure - Financial Assets and Liabilities at Fair Value through Profit or Loss - Summary of Financial Assets and Liabilities at Fair Value through Profit or Loss (Detail)",
     "shortName": "Financial Assets and Liabilities at Fair Value through Profit or Loss - Summary of Financial Assets and Liabilities at Fair Value through Profit or Loss (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
     "longName": "1077 - Disclosure - Financial Assets and Liabilities at Fair Value through Profit or Loss - Outstanding Forward Exchange Contracts for which Hedge Accounting Treatment is not Applied (Detail)",
     "shortName": "Financial Assets and Liabilities at Fair Value through Profit or Loss - Outstanding Forward Exchange Contracts for which Hedge Accounting Treatment is not Applied (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "77",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_CurrencyForwardContractsSellOptionMemberifrsfullClassesOfFinancialAssetsAxis_DerivativeInstrumentOneMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "ifrs-full:ContractualAmountsToBeExchangedInDerivativeFinancialInstrumentForWhichGrossCashFlowsAreExchanged",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDerivativeFinancialInstrumentsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_CurrencyForwardContractsSellOptionMemberifrsfullClassesOfFinancialAssetsAxis_DerivativeInstrumentOneMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "ifrs-full:ContractualAmountsToBeExchangedInDerivativeFinancialInstrumentForWhichGrossCashFlowsAreExchanged",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDerivativeFinancialInstrumentsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
     "longName": "1078 - Disclosure - Financial Assets at Fair Value Through Other Comprehensive Income - Summary of Financial Assets at Fair Value through Other Comprehensive Income (Detail)",
     "shortName": "Financial Assets at Fair Value Through Other Comprehensive Income - Summary of Financial Assets at Fair Value through Other Comprehensive Income (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "78",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAdditionalInformationDetail",
     "longName": "1079 - Disclosure - Financial Assets at Fair Value Through Other Comprehensive Income - Additional Information (Detail)",
     "shortName": "Financial Assets at Fair Value Through Other Comprehensive Income - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ProceedsFromIssuingShares",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ProceedsFromIssuingShares",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
     "longName": "1080 - Disclosure - Financial Assets at Amortized Cost - Schedule of Financial Assets at Amortized Cost (Detail)",
     "shortName": "Financial Assets at Amortized Cost - Schedule of Financial Assets at Amortized Cost (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "80",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CorporateDebtInstrumentsHeld",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CorporateDebtInstrumentsHeld",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "tsm:DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R81": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
     "longName": "1081 - Disclosure - Hedging Financial Instruments - Summary of hedging financial instruments (Detail)",
     "shortName": "Hedging Financial Instruments - Summary of hedging financial instruments (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "81",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentFinancialLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfHedgeAccountingExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
     "longName": "1082 - Disclosure - Hedging Financial Instruments - Summary of Information Related to Hedges of Interest Rate Risk (Detail)",
     "shortName": "Hedging Financial Instruments - Summary of Information Related to Hedges of Interest Rate Risk (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "82",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:GainLossOnHedgeIneffectivenessRecognisedInOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_FairValueHedgesMemberifrsfullTypesOfHedgesAxis",
      "name": "ifrs-full:GainLossOnHedgeIneffectivenessRecognisedInOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutHedgedItemsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
     "longName": "1083 - Disclosure - Hedging Financial Instruments - Additional Information (Detail)",
     "shortName": "Hedging Financial Instruments - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "83",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CashFlowHedgesMemberifrsfullTypesOfHedgesAxis",
      "name": "tsm:DescriptionOfForwardExchangeContractsMaturity",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CashFlowHedgesMemberifrsfullTypesOfHedgesAxis",
      "name": "tsm:DescriptionOfForwardExchangeContractsMaturity",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
     "longName": "1084 - Disclosure - Hedging Financial Instruments - Summary of Information Relating to Hedges for Foreign Currency Risk (Detail)",
     "shortName": "Hedging Financial Instruments - Summary of Information Relating to Hedges for Foreign Currency Risk (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "84",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:GainLossOnHedgeIneffectivenessRecognisedInOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_BankLoansMemberifrsfullHedgingInstrumentsAxis_HedgesOfNetInvestmentInForeignOperationsMemberifrsfullTypesOfHedgesAxis",
      "name": "tsm:HedgingInstrumentsContractAmount",
      "unitRef": "Unit_JPY",
      "xsiNil": "false",
      "lang": null,
      "decimals": "1",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfInformationAboutAmountsThatAffectedStatementOfComprehensiveIncomeAsResultOfHedgeAccountingExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail",
     "longName": "1085 - Disclosure - Notes and Accounts Receivable, Net - Summary of Notes and Accounts Receivable, Net (Detail)",
     "shortName": "Notes and Accounts Receivable, Net - Summary of Notes and Accounts Receivable, Net (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentTradeReceivables",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
       "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_TradeReceivablesMemberifrsfullClassesOfFinancialInstrumentsAxis",
      "name": "ifrs-full:CurrentTradeReceivables",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
       "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
     "longName": "1086 - Disclosure - Notes and Accounts Receivable, Net - Aging Analysis of Notes and Accounts Receivable, Net (Detail)",
     "shortName": "Notes and Accounts Receivable, Net - Aging Analysis of Notes and Accounts Receivable, Net (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentTradeReceivables",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
       "tsm:DisclosureOfNotesAndAccountsReceivableNetExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_AllowanceForCreditLossesMemberifrsfullTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis",
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail",
     "longName": "1087 - Disclosure - Notes and Accounts Receivable, Net - Movements of Allowance for Doubtful Receivables (Detail)",
     "shortName": "Notes and Accounts Receivable, Net - Movements of Allowance for Doubtful Receivables (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "87",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:ReversalWriteoffAllowanceAccountForCreditLossesOfFinancialAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail",
     "longName": "1088 - Disclosure - Inventories - Summary of Inventories (Detail)",
     "shortName": "Inventories - Summary of Inventories (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinishedGoods",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinishedGoods",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutInventoriesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.tsmc.com/role/InventoriesSummaryOfWriteDownsReversalsOfInventoriesDetail",
     "longName": "1089 - Disclosure - Inventories - Summary of Write downs reversals of Inventories (Detail)",
     "shortName": "Inventories - Summary of Write downs reversals of Inventories (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "89",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:WritedownsReversalsOfInventories",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:WritedownsReversalsOfInventories",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R90": {
     "role": "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
     "longName": "1090 - Disclosure - Investments Accounted for Using Equity Method - Summary of Investments in Associates (Detail)",
     "shortName": "Investments Accounted for Using Equity Method - Summary of Investments in Associates (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:InvestmentAccountedForUsingEquityMethod",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_VanguardInternationalSemiconductorCorporationMemberifrsfullSignificantInvestmentsInAssociatesAxis",
      "name": "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "ifrs-full:DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
     "longName": "1091 - Disclosure - Investments Accounted for Using Equity Method - Market Prices of Investments Accounted for Using Equity Method in Publicly Traded Stocks Calculated by Closing Price at End of Reporting Period (Detail)",
     "shortName": "Investments Accounted for Using Equity Method - Market Prices of Investments Accounted for Using Equity Method in Publicly Traded Stocks Calculated by Closing Price at End of Reporting Period (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "91",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_GlobalUnichipCorporationMemberifrsfullSignificantInvestmentsInAssociatesAxis_Level1OfFairValueHierarchyMemberifrsfullLevelsOfFairValueHierarchyAxis",
      "name": "ifrs-full:FairValueOfInvestmentsInAssociatesWherePriceQuotationsPublished",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfMarketPricesOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_GlobalUnichipCorporationMemberifrsfullSignificantInvestmentsInAssociatesAxis_Level1OfFairValueHierarchyMemberifrsfullLevelsOfFairValueHierarchyAxis",
      "name": "ifrs-full:FairValueOfInvestmentsInAssociatesWherePriceQuotationsPublished",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfMarketPricesOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R92": {
     "role": "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
     "longName": "1092 - Disclosure - Property, Plant and Equipment - Additional Information (Detail)",
     "shortName": "Property, Plant and Equipment - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "92",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_PlantsMemberifrsfullClassesOfPropertyPlantAndEquipmentAxis",
      "name": "tsm:EstimatedUsefulLivesOfPropertyPlantAndEquipment",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_PlantsMemberifrsfullClassesOfPropertyPlantAndEquipmentAxis",
      "name": "tsm:EstimatedUsefulLivesOfPropertyPlantAndEquipment",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
     "longName": "1093 - Disclosure - Property, Plant and Equipment - Summary of Property, Plant and Equipment (Detail)",
     "shortName": "Property, Plant and Equipment - Summary of Property, Plant and Equipment (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "93",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
       "div",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_PropertyPlantAndEquipmentSubjectToOperatingLeasesMemberifrsfullPropertyPlantAndEquipmentByOperatingLeaseStatusAxis",
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
       "div",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
     "longName": "1094 - Disclosure - Property, Plant and Equipment - Summary of assets used by the Company (Detail)",
     "shortName": "Property, Plant and Equipment - Summary of assets used by the Company (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "94",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020_GrossCarryingAmountMemberifrsfullCarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis_PropertyPlantAndEquipmentNotSubjectToOperatingLeasesMemberifrsfullPropertyPlantAndEquipmentByOperatingLeaseStatusAxis",
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
       "div",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail",
     "longName": "1095 - Disclosure - Lease Arrangements - Right-of-use Assets (Detail)",
     "shortName": "Lease Arrangements - Right-of-use Assets (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "95",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:RightofuseAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:AdditionsToRightofuseAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail",
     "longName": "1096 - Disclosure - Lease Arrangements - Lease Liabilities (Detail)",
     "shortName": "Lease Arrangements - Lease Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "96",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentLeaseLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentLeaseLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R97": {
     "role": "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
     "longName": "1097 - Disclosure - Lease Arrangements - Ranges Of Discount Rates For Lease Liabilities (Detail)",
     "shortName": "Lease Arrangements - Ranges Of Discount Rates For Lease Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "97",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_BottomOfRangeMemberifrsfullRangeAxis_LandMemberTSMClassesOfRightofuseAssetsAxis",
      "name": "tsm:DiscountRateOnLeaseLiabilities",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_BottomOfRangeMemberifrsfullRangeAxis_LandMemberTSMClassesOfRightofuseAssetsAxis",
      "name": "tsm:DiscountRateOnLeaseLiabilities",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R98": {
     "role": "http://www.tsmc.com/role/LeaseArrangementsOtherLeaseInformationDetail",
     "longName": "1098 - Disclosure - Lease Arrangements - Other lease information (Detail)",
     "shortName": "Lease Arrangements - Other lease information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "98",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R99": {
     "role": "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail",
     "longName": "1099 - Disclosure - Intangible Assets - Summary of Intangible Assets (Detail)",
     "shortName": "Intangible Assets - Summary of Intangible Assets (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "99",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:IntangibleAssetsAndGoodwill",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020_GrossCarryingAmountMemberifrsfullCarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis",
      "name": "ifrs-full:IntangibleAssetsAndGoodwill",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R100": {
     "role": "http://www.tsmc.com/role/IntangibleAssetsAdditionalInformationDetail",
     "longName": "1100 - Disclosure - Intangible Assets - Additional Information (Detail)",
     "shortName": "Intangible Assets - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "100",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R101": {
     "role": "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
     "longName": "1101 - Disclosure - Bonds Payable - Summary of Bonds Payable (Detail)",
     "shortName": "Bonds Payable - Summary of Bonds Payable (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "101",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentBondsIssuedAndCurrentPortionOfNoncurrentBondsIssued",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_CountryOfDomicileMemberifrsfullGeographicalAreasAxis_GrossCarryingAmountMemberifrsfullCarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis",
      "name": "ifrs-full:BondsIssued",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R102": {
     "role": "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
     "longName": "1102 - Disclosure - Bonds Payable - Major Terms of Domestic Unsecured Bonds (Detail)",
     "shortName": "Bonds Payable - Major Terms of Domestic Unsecured Bonds (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "102",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_DomesticUnsecuredBondsHundredAndOneThreeMemberTSMUnsecuredDebtSecuritiesAxis",
      "name": "tsm:BondsPayableIssuanceStartingPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_DomesticUnsecuredBondsHundredAndOneThreeMemberTSMUnsecuredDebtSecuritiesAxis",
      "name": "tsm:BondsPayableIssuanceStartingPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R103": {
     "role": "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
     "longName": "1103 - Disclosure - Bonds Payable - Summary of Domestic Unsecured Bonds And Overseas Unsecured Bonds (Detail)",
     "shortName": "Bonds Payable - Summary of Domestic Unsecured Bonds And Overseas Unsecured Bonds (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "103",
     "firstAnchor": {
      "contextRef": "P01_01_2024To04_18_2024_CountryOfDomicileMemberifrsfullGeographicalAreasAxis_DomesticUnsecuredBondsHundredAndThirteenOneGreenBondMemberTSMUnsecuredDebtSecuritiesAxis_NonAdjustingEventsAfterReportingPeriodMemberifrsfullNonadjustingEventsAfterReportingPeriodAxis_TrancheAMemberTSMTrancheAxis",
      "name": "tsm:BondsPayableIssuanceStartingPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2024To04_18_2024_CountryOfDomicileMemberifrsfullGeographicalAreasAxis_DomesticUnsecuredBondsHundredAndThirteenOneGreenBondMemberTSMUnsecuredDebtSecuritiesAxis_NonAdjustingEventsAfterReportingPeriodMemberifrsfullNonadjustingEventsAfterReportingPeriodAxis_TrancheAMemberTSMTrancheAxis",
      "name": "tsm:BondsPayableIssuanceStartingPeriod",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R104": {
     "role": "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
     "longName": "1104 - Disclosure - Bonds Payable - Major Terms of Overseas Unsecured Bonds (Detail)",
     "shortName": "Bonds Payable - Major Terms of Overseas Unsecured Bonds (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "104",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_ForeignCountriesMemberifrsfullGeographicalAreasAxis_IssuancePeriodOneMemberifrsfullMaturityAxis",
      "name": "ifrs-full:BondsIssued",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_ForeignCountriesMemberifrsfullGeographicalAreasAxis_IssuancePeriodOneMemberifrsfullMaturityAxis",
      "name": "ifrs-full:BondsIssued",
      "unitRef": "Unit_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R105": {
     "role": "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail",
     "longName": "1105 - Disclosure - Long-Term Bank Loans - Summary of Loans and Bonds Payable (Detail)",
     "shortName": "Long-Term Bank Loans - Summary of Loans and Bonds Payable (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "105",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentBondsIssuedAndCurrentPortionOfNoncurrentBondsIssued",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_LongTermBankLoansMemberifrsfullBorrowingsByNameAxis",
      "name": "ifrs-full:NotionalAmount",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R106": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail",
     "longName": "1106 - Disclosure - Retirement Benefit Plans - Additional Information (Detail)",
     "shortName": "Retirement Benefit Plans - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "106",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DefinedContributionPlansEmployerContributionPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:DefinedContributionPlansEmployerContributionPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R107": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
     "longName": "1107 - Disclosure - Retirement Benefit Plans - Amounts Recognized in Consolidated Statements of Profit or Loss and Other Comprehensive Income of Defined Benefit Plans (Detail)",
     "shortName": "Retirement Benefit Plans - Amounts Recognized in Consolidated Statements of Profit or Loss and Other Comprehensive Income of Defined Benefit Plans (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "107",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:CurrentServiceCostForDefinedBenefitsPlan",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:CurrentServiceCostForDefinedBenefitsPlan",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R108": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail",
     "longName": "1108 - Disclosure - Retirement Benefit Plans - Pension Costs of Defined Benefit Plans Recognized in Profit or Loss by Categories (Detail)",
     "shortName": "Retirement Benefit Plans - Pension Costs of Defined Benefit Plans Recognized in Profit or Loss by Categories (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "108",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:PostemploymentBenefitExpenseDefinedBenefitPlans",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CostOfRevenueMemberTSMIncomeStatementLocationAxis",
      "name": "ifrs-full:PostemploymentBenefitExpenseDefinedBenefitPlans",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R109": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail",
     "longName": "1109 - Disclosure - Retirement Benefit Plans - Amounts Arising from Defined Benefit Obligation in Consolidated Statements of Financial Position (Detail)",
     "shortName": "Retirement Benefit Plans - Amounts Arising from Defined Benefit Obligation in Consolidated Statements of Financial Position (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "109",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DefinedBenefitObligationAtPresentValue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DefinedBenefitObligationAtPresentValue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R110": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
     "longName": "1110 - Disclosure - Retirement Benefit Plans - Movements in Present Value of Defined Benefit Obligation (Detail)",
     "shortName": "Retirement Benefit Plans - Movements in Present Value of Defined Benefit Obligation (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "110",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ActuarialGainsLossesArisingFromExperienceAdjustmentsNetDefinedBenefitLiabilityAsset",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020_PresentValueOfDefinedBenefitObligationMemberifrsfullNetDefinedBenefitLiabilityAssetAxis",
      "name": "ifrs-full:LiabilityAssetOfDefinedBenefitPlans",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R111": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
     "longName": "1111 - Disclosure - Retirement Benefit Plans - Movements in Fair Value of Plan Assets (Detail)",
     "shortName": "Retirement Benefit Plans - Movements in Fair Value of Plan Assets (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "111",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022_PlanAssetsMemberifrsfullNetDefinedBenefitLiabilityAssetAxis",
      "name": "ifrs-full:LiabilityAssetOfDefinedBenefitPlans",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020_PlanAssetsMemberifrsfullNetDefinedBenefitLiabilityAssetAxis",
      "name": "ifrs-full:LiabilityAssetOfDefinedBenefitPlans",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R112": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail",
     "longName": "1112 - Disclosure - Retirement Benefit Plans - Fair Value of Plan Assets by Major Categories (Detail)",
     "shortName": "Retirement Benefit Plans - Fair Value of Plan Assets by Major Categories (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "112",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CashAndCashEquivalentsAmountContributedToFairValueOfPlanAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfFairValueOfPlanAssetsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CashAndCashEquivalentsAmountContributedToFairValueOfPlanAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfFairValueOfPlanAssetsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R113": {
     "role": "http://www.tsmc.com/role/RetirementBenefitPlansPrincipalAssumptionsForActuarialValuationOfPresentValueOfDefinedBenefitObligationDetail",
     "longName": "1113 - Disclosure - Retirement Benefit Plans - Principal Assumptions for Actuarial Valuation of Present Value of Defined Benefit Obligation (Detail)",
     "shortName": "Retirement Benefit Plans - Principal Assumptions for Actuarial Valuation of Present Value of Defined Benefit Obligation (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "113",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ActuarialAssumptionOfDiscountRates",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfPrincipalActuarialAssumptionsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ActuarialAssumptionOfDiscountRates",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "4",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfPrincipalActuarialAssumptionsExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R114": {
     "role": "http://www.tsmc.com/role/EquitySummaryOfCapitalStockDetail",
     "longName": "1114 - Disclosure - Equity - Summary of Capital Stock (Detail)",
     "shortName": "Equity - Summary of Capital Stock (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "114",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:NumberOfSharesAuthorised",
      "unitRef": "Unit_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:NumberOfSharesAuthorised",
      "unitRef": "Unit_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R115": {
     "role": "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
     "longName": "1115 - Disclosure - Equity - Additional Information (Detail)",
     "shortName": "Equity - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "115",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ParValuePerShare",
      "unitRef": "Unit_TWD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "ifrs-full:ParValuePerShare",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:ParValuePerShare",
      "unitRef": "Unit_TWD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "ifrs-full:ParValuePerShare",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R116": {
     "role": "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail",
     "longName": "1116 - Disclosure - Equity - Summary of Capital Surplus (Detail)",
     "shortName": "Equity - Summary of Capital Surplus (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "116",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:AdditionalPaidinCapital",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfClassesOfShareCapitalExplanatory",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:AdditionalPaidinCapital",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfClassesOfShareCapitalExplanatory",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R117": {
     "role": "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
     "longName": "1117 - Disclosure - Equity - Appropriations of Earnings and Dividends Per Share (Detail)",
     "shortName": "Equity - Appropriations of Earnings and Dividends Per Share (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "117",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CapitalReserve",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P10_01_2023To12_31_2023",
      "name": "ifrs-full:DividendsRecognisedAsDistributionsToOwnersPerShare",
      "unitRef": "Unit_USD_per_Share",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R118": {
     "role": "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail",
     "longName": "1118 - Disclosure - Equity - Changes in Other Reserves (Detail)",
     "shortName": "Equity - Changes in Other Reserves (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "118",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:OtherReserves",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020",
      "name": "ifrs-full:OtherReserves",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfReservesAndOtherEquityInterestExplanatory",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R119": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail",
     "longName": "1119 - Disclosure - Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers by Product (Detail)",
     "shortName": "Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers by Product (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "119",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_OtherProductsMemberifrsfullProductsAndServicesAxis",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R120": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
     "longName": "1120 - Disclosure - Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers by Geographical Location (Detail)",
     "shortName": "Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers by Geographical Location (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "120",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TWifrsfullGeographicalAreasAxis",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R121": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail",
     "longName": "1121 - Disclosure - Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers Based on Platform Type (Detail)",
     "shortName": "Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers Based on Platform Type (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "121",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_HighPerformanceComputingMemberifrsfullMarketsOfCustomersAxis",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R122": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
     "longName": "1122 - Disclosure - Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers Based on Resolution (Detail)",
     "shortName": "Net Revenue - Summary of Disaggregation of Revenue from Contracts with Customers Based on Resolution (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "122",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_ThreeNanometerMemberifrsfullMeasurementAxis_WaferMemberifrsfullProductsAndServicesAxis",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R123": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail",
     "longName": "1123 - Disclosure - Net Revenue - Summary of Contract Balances (Detail)",
     "shortName": "Net Revenue - Summary of Contract Balances (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "123",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_AccruedExpensesAndOtherCurrentLiabilitiesMemberTSMBalanceSheetLocationAxis",
      "name": "ifrs-full:ContractLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_AccruedExpensesAndOtherCurrentLiabilitiesMemberTSMBalanceSheetLocationAxis",
      "name": "ifrs-full:ContractLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R124": {
     "role": "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail",
     "longName": "1124 - Disclosure - Net Revenue - Summary of Temporary Receipts From Customers (Detail)",
     "shortName": "Net Revenue - Summary of Temporary Receipts From Customers (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "124",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:TemporaryReceiptsFromCustomersCurrent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:TemporaryReceiptsFromCustomersCurrent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R125": {
     "role": "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail",
     "longName": "1125 - Disclosure - Net Revenue - Refund Liabilities (Detail)",
     "shortName": "Net Revenue - Refund Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "125",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_AccruedExpensesAndOtherCurrentLiabilitiesMemberTSMBalanceSheetLocationAxis",
      "name": "tsm:RefundLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_AccruedExpensesAndOtherCurrentLiabilitiesMemberTSMBalanceSheetLocationAxis",
      "name": "tsm:RefundLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R126": {
     "role": "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
     "longName": "1126 - Disclosure - Net Revenue - Additional Information (Detail)",
     "shortName": "Net Revenue - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "126",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "ifrs-full:DisclosureOfRevenueExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_AccruedExpensesAndOtherCurrentLiabilitiesMemberTSMBalanceSheetLocationAxis",
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R127": {
     "role": "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail",
     "longName": "1127 - Disclosure - Interest Income - Summary of interest income (Detail)",
     "shortName": "Interest Income - Summary of interest income (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "127",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:InterestIncomeOnCashAndCashEquivalents",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutInterestIncomeExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:InterestIncomeOnCashAndCashEquivalents",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutInterestIncomeExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R128": {
     "role": "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
     "longName": "1128 - Disclosure - Finance Costs - Summary of Finance Costs (Detail)",
     "shortName": "Finance Costs - Summary of Finance Costs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "128",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:InterestExpenseOnBonds",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinanceCostExplanatory",
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:InterestExpenseOnBonds",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinanceCostExplanatory",
       "ifrs-full:DisclosureOfFinanceCostExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R129": {
     "role": "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail",
     "longName": "1129 - Disclosure - Other Gains and Losses - Summary of Other Gains and Losses, Net (Detail)",
     "shortName": "Other Gains and Losses - Summary of Other Gains and Losses, Net (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "129",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:AdjustmentsForGainsLossesOndisposalOfInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncomeNet",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory",
       "tsm:DisclosureOfOtherGainAndLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:GainsLossesOnDisposalsOfInvestments",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory",
       "tsm:DisclosureOfOtherGainAndLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R130": {
     "role": "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail",
     "longName": "1130 - Disclosure - Income Tax - Summary of Income Tax Expense (Detail)",
     "shortName": "Income Tax - Summary of Income Tax Expense (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "130",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:CurrentTaxExpenseIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfIncomeTaxExpenseBenefitExplanatory",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:CurrentTaxExpenseIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfIncomeTaxExpenseBenefitExplanatory",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R131": {
     "role": "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail",
     "longName": "1131 - Disclosure - Income Tax - Reconciliation of Income before Income Tax and Income Tax Expense Recognized in Profit or Loss (Detail)",
     "shortName": "Income Tax - Reconciliation of Income before Income Tax and Income Tax Expense Recognized in Profit or Loss (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "131",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:AccountingProfit",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfReconciliationOfEffectiveAndApplicableIncomeTaxExpensesExplanatory",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:AccountingProfit",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfReconciliationOfEffectiveAndApplicableIncomeTaxExpensesExplanatory",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R132": {
     "role": "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail",
     "longName": "1132 - Disclosure - Income Tax - Additional Information (Detail)",
     "shortName": "Income Tax - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "132",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R133": {
     "role": "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail",
     "longName": "1133 - Disclosure - Income Tax - Summary of Analysis of Deferred Income Tax and Liabilities (Detail)",
     "shortName": "Income Tax - Summary of Analysis of Deferred Income Tax and Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "133",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_DeferredIncomeTaxAssetsMemberTSMDeferredIncomeTaxAxis",
      "name": "ifrs-full:DeferredTaxLiabilityAsset",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R134": {
     "role": "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
     "longName": "1134 - Disclosure - Income Tax - Analysis of Deferred Income Tax Assets and Liabilities in Consolidated Statements of Financial Position (Detail)",
     "shortName": "Income Tax - Analysis of Deferred Income Tax Assets and Liabilities in Consolidated Statements of Financial Position (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "134",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022_DeferredIncomeTaxAssetsMemberTSMDeferredIncomeTaxAxis",
      "name": "ifrs-full:DeferredTaxLiabilityAsset",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_DeferredIncomeTaxAssetsMemberTSMDeferredIncomeTaxAxis",
      "name": "ifrs-full:DeferredTaxExpenseIncomeRecognisedInProfitOrLoss",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R135": {
     "role": "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail",
     "longName": "1135 - Disclosure - Income Tax - Tax-exemption Information Related to Profits Generated from Certain Projects (Detail)",
     "shortName": "Income Tax - Tax-exemption Information Related to Profits Generated from Certain Projects (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "135",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_ConstructionAndExpansionOfTwoThousandAndNineMemberifrsfullCreationDateAxis",
      "name": "tsm:TaxExemptionPeriodStart",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfTaxExemptionPeriodExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_ConstructionAndExpansionOfTwoThousandAndNineMemberifrsfullCreationDateAxis",
      "name": "tsm:TaxExemptionPeriodStart",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfTaxExemptionPeriodExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R136": {
     "role": "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail",
     "longName": "1136 - Disclosure - Earnings Per Share - Computation of Earnings Per Share (Detail)",
     "shortName": "Earnings Per Share - Computation of Earnings Per Share (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "136",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:EarningsPerShareExplanatory",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:EarningsPerShareExplanatory",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R137": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
     "longName": "1137 - Disclosure - Share-Based Payment Arrangements - Additional Information (Detail)",
     "shortName": "Share-Based Payment Arrangements - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "137",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:LiabilitiesFromSharebasedPaymentTransactions2011",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:LiabilitiesFromSharebasedPaymentTransactions2011",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R138": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail",
     "longName": "1138 - Disclosure - Share-Based Payment Arrangements - Summary of RSAs (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of RSAs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "138",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TwoThousandTwentyOneRestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:ResolutionDateOfShareHoldersMeeting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TwoThousandTwentyOneRestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:ResolutionDateOfShareHoldersMeeting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R139": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
     "longName": "1139 - Disclosure - Share-Based Payment Arrangements - Summary of Vesting Conditions of Employee RSAs Performance Metrics (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of Vesting Conditions of Employee RSAs Performance Metrics (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "139",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_AboveTheTotalShareholderReturnOfIndexByXPercentagePointsMemberTSMEntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricAxis_EmployeeRestrictedStockAwardsMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "ifrs-full:DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory",
       "div",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_AboveTheTotalShareholderReturnOfIndexByXPercentagePointsMemberTSMEntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricAxis_EmployeeRestrictedStockAwardsMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "ifrs-full:DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory",
       "div",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R140": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail",
     "longName": "1140 - Disclosure - Share-Based Payment Arrangements - Summary of Vesting Conditions of Employee RSAs Performance Metrics (Parenthetical) (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of Vesting Conditions of Employee RSAs Performance Metrics (Parenthetical) (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "140",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_EmployeeRestrictedStockAwardsMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:MaximumPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_AboveTheTotalShareholderReturnOfIndexByXPercentagePointsMemberTSMEntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricAxis_EmployeeRestrictedStockAwardsMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:PercentageMultiplierToPercentagePoints",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "ifrs-full:DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
       "div",
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory",
       "div",
       "ifrs-full:DisclosureOfSharebasedPaymentArrangementsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R141": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
     "longName": "1141 - Disclosure - Share-Based Payment Arrangements - Summary of Granted 2021 RSAs (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of Granted 2021 RSAs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "141",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022_TwoThousandAndTwentyOneRestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
      "unitRef": "Unit_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2022_TwoThousandAndTwentyOneRestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
      "unitRef": "Unit_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R142": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
     "longName": "1142 - Disclosure - Share-Based Payment Arrangements - Summary of RSAs Measured at Fair Value at Grant Date (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of RSAs Measured at Fair Value at Grant Date (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "142",
     "firstAnchor": {
      "contextRef": "P03_01_2023To03_01_2023_RestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:StockPriceShareOptionsGranted",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P03_01_2023To03_01_2023_RestrictedStockAwardMemberifrsfullTypesOfSharebasedPaymentArrangementsAxis",
      "name": "tsm:StockPriceShareOptionsGranted",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R143": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
     "longName": "1143 - Disclosure - Share-Based Payment Arrangements - Summary of Cash Settled Share Based Payment Arrangements (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of Cash Settled Share Based Payment Arrangements (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "143",
     "firstAnchor": {
      "contextRef": "P02_15_2022To02_15_2022_TwoThousandAndTwentyOnePlanMemberTSMPlanNameAxis",
      "name": "tsm:ResolutionDateOfShareHoldersMeeting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "tsm:DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P02_15_2022To02_15_2022_TwoThousandAndTwentyOnePlanMemberTSMPlanNameAxis",
      "name": "tsm:ResolutionDateOfShareHoldersMeeting",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "tsm:DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R144": {
     "role": "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
     "longName": "1144 - Disclosure - Share-Based Payment Arrangements - Summary of Fair Value of Compensation Costs (Detail)",
     "shortName": "Share-Based Payment Arrangements - Summary of Fair Value of Compensation Costs (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "144",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TwoThousandAndTwentyOnePlanMemberTSMPlanNameAxis",
      "name": "tsm:StockPriceShareOptionsGranted",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_TwoThousandAndTwentyOnePlanMemberTSMPlanNameAxis",
      "name": "tsm:StockPriceShareOptionsGranted",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-6",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R145": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
     "longName": "1145 - Disclosure - Additional Information of Expenses by Nature - Summary of Additional Information of Expenses by Nature (Detail)",
     "shortName": "Additional Information of Expenses by Nature - Summary of Additional Information of Expenses by Nature (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "145",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:OtherOperatingIncomeExpense",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ifrs-full:DisclosureOfAdditionalInformationExplanatory",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R146": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
     "longName": "1146 - Disclosure - Additional Information of Expenses by Nature - Summary of Accrued Profit Sharing Bonus to Employees (Detail)",
     "shortName": "Additional Information of Expenses by Nature - Summary of Accrued Profit Sharing Bonus to Employees (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "146",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_EmployeesMemberifrsfullCategoriesOfRelatedPartiesAxis",
      "name": "tsm:AccruedProfitSharingBonus",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_EmployeesMemberifrsfullCategoriesOfRelatedPartiesAxis",
      "name": "tsm:AccruedProfitSharingBonus",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R147": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail",
     "longName": "1147 - Disclosure - Additional Information of Expenses by Nature - Summary of Profit Sharing Bonus to Employees and Compensation to Directors (Detail)",
     "shortName": "Additional Information of Expenses by Nature - Summary of Profit Sharing Bonus to Employees and Compensation to Directors (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "147",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_EmployeesMemberifrsfullCategoriesOfRelatedPartiesAxis",
      "name": "tsm:ProfitSharingBonus",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "tsm:DisclosureOfDetailedInformationAboutProfitSharingBonusToEmployeesAndDirectorsCompensationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_EmployeesMemberifrsfullCategoriesOfRelatedPartiesAxis",
      "name": "tsm:ProfitSharingBonus",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "tsm:DisclosureOfDetailedInformationAboutProfitSharingBonusToEmployeesAndDirectorsCompensationTextBlock",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R148": {
     "role": "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
     "longName": "1148 - Disclosure - Additional Information of Expenses by Nature - Additional Information (Detail)",
     "shortName": "Additional Information of Expenses by Nature - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "148",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_Director1MemberifrsfullCategoriesOfRelatedPartiesAxis_TopOfRangeMemberifrsfullRangeAxis",
      "name": "tsm:ProfitSharingBonusPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "tsm:ProfitSharingBonusPercentage",
       "tsm:ProfitSharingBonusPercentage",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_Director1MemberifrsfullCategoriesOfRelatedPartiesAxis_TopOfRangeMemberifrsfullRangeAxis",
      "name": "tsm:ProfitSharingBonusPercentage",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "tsm:ProfitSharingBonusPercentage",
       "tsm:ProfitSharingBonusPercentage",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R149": {
     "role": "http://www.tsmc.com/role/GovernmentGrantsAdditionalInformationDetail",
     "longName": "1149 - Disclosure - Government Grants - Additional Information (Detail)",
     "shortName": "Government Grants - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "149",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromGovernmentGrants",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:RevenueFromGovernmentGrants",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R150": {
     "role": "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
     "longName": "1150 - Disclosure - Cash Flow Information - Schedule of Detailed Information about Non Cash Transaction (Detail)",
     "shortName": "Cash Flow Information - Schedule of Detailed Information about Non Cash Transaction (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "150",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "tsm:PurchaseOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_AcquisitionOfFinancialAssetsAtFVTOCIMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "tsm:AdditionsOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R151": {
     "role": "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail",
     "longName": "1151 - Disclosure - Cash Flow Information - Schedule of Liabilities Arising From Financing Activities (Detail)",
     "shortName": "Cash Flow Information - Schedule of Liabilities Arising From Financing Activities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "151",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:LiabilitiesArisingFromFinancingActivities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ix:continuation",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2020",
      "name": "ifrs-full:LiabilitiesArisingFromFinancingActivities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesExplanatory",
       "ifrs-full:DisclosureOfCashFlowStatementExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R152": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail",
     "longName": "1152 - Disclosure - Financial Instruments - Categories of Financial Instruments (Detail)",
     "shortName": "Financial Instruments - Categories of Financial Instruments (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "152",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLoss",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinancialAssetsAtAmortisedCost",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R153": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
     "longName": "1153 - Disclosure - Financial Instruments - Additional Information (Detail)",
     "shortName": "Financial Instruments - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "153",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:PercentageOfAccountsReceivableFromTopTenCustomers",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:PercentageOfAccountsReceivableFromTopTenCustomers",
      "unitRef": "Unit_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R154": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
     "longName": "1154 - Disclosure - Financial Instruments - Summary of Current Credit Risk Assessment Policies (Detail)",
     "shortName": "Financial Instruments - Summary of Current Credit Risk Assessment Policies (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "154",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CreditRiskMemberifrsfullTypesOfRisksAxis_WriteoffOrReversalsMemberifrsfullProbabilityOfDefaultAxis",
      "name": "ifrs-full:InformationOnHowInstrumentsWereGroupedIfExpectedCreditLossesWereMeasuredOnCollectiveBasis",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CreditRiskMemberifrsfullTypesOfRisksAxis_WriteoffOrReversalsMemberifrsfullProbabilityOfDefaultAxis",
      "name": "ifrs-full:InformationOnHowInstrumentsWereGroupedIfExpectedCreditLossesWereMeasuredOnCollectiveBasis",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R155": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
     "longName": "1155 - Disclosure - Financial Instruments - Summary of Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments, Including Principal and Interest (Detail)",
     "shortName": "Financial Instruments - Summary of Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments, Including Principal and Interest (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "155",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:CurrentAccruedExpensesAndOtherCurrentLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:NonderivativeAndDerivativeFinancialInstrumentsNet",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R156": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail",
     "longName": "1156 - Disclosure - Financial Instruments - Detailed Information About In Maturity Analysis For Lease Liabilities (Detail)",
     "shortName": "Financial Instruments - Detailed Information About In Maturity Analysis For Lease Liabilities (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "156",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:LeaseLiabilitiesNonCurrent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:LeaseLiabilitiesNonCurrent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R157": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
     "longName": "1157 - Disclosure - Financial Instruments - Fair Value of Financial Instruments Measured at Fair Value on a Recurring Basis (Detail)",
     "shortName": "Financial Instruments - Fair Value of Financial Instruments Measured at Fair Value on a Recurring Basis (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "157",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_RecurringFairValueMeasurementMemberifrsfullMeasurementAxis",
      "name": "ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLoss",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R158": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail",
     "longName": "1158 - Disclosure - Financial Instruments - Summary of Level 3 Fair Value Were Equity Investments classified as Financial Assets at FVTOCI (Detail)",
     "shortName": "Financial Instruments - Summary of Level 3 Fair Value Were Equity Investments classified as Financial Assets at FVTOCI (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "158",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2022",
      "name": "ifrs-full:FinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "tsm:DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "tsm:DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_Level3OfFairValueHierarchyMemberifrsfullLevelsOfFairValueHierarchyAxis",
      "name": "tsm:AdditionsFairValueMeasurementAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfFairValueOfEachInvestmentInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R159": {
     "role": "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
     "longName": "1159 - Disclosure - Financial Instruments - Fair Value of Financial Instruments Not Measured at Fair Value but for which Fair Value is Disclosed (Detail)",
     "shortName": "Financial Instruments - Fair Value of Financial Instruments Not Measured at Fair Value but for which Fair Value is Disclosed (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "159",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:FinancialAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_FinancialAssetsAtAmortisedCostMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "ifrs-full:FinancialAssets",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R160": {
     "role": "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail",
     "longName": "1160 - Disclosure - Related Party Transactions - Summary of Significant Transactions between the Company and Other Related Parties (Detail)",
     "shortName": "Related Party Transactions - Summary of Significant Transactions between the Company and Other Related Parties (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "160",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:CurrentReceivablesFromRelatedPartiesRelatedToCoreBusiness",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_GlobalUnichipCorporationMemberifrsfullSignificantInvestmentsInAssociatesAxis",
      "name": "tsm:CurrentReceivablesFromRelatedPartiesRelatedToCoreBusiness",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    },
    "R161": {
     "role": "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail",
     "longName": "1161 - Disclosure - Related Party Transactions - Compensation to Directors and Other Key Management Personnel (Detail)",
     "shortName": "Related Party Transactions - Compensation to Directors and Other Key Management Personnel (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "161",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R162": {
     "role": "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail",
     "longName": "1162 - Disclosure - Pledged Assets - Additional Information (Detail)",
     "shortName": "Pledged Assets - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "162",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023_CertificatesOfDepositMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "ifrs-full:FinancialAssetsPledgedAsCollateralForLiabilitiesOrContingentLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCollateralExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023_CertificatesOfDepositMemberifrsfullCategoriesOfFinancialAssetsAxis",
      "name": "ifrs-full:FinancialAssetsPledgedAsCollateralForLiabilitiesOrContingentLiabilities",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCollateralExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R163": {
     "role": "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail",
     "longName": "1163 - Disclosure - Significant Contingent Liabilities and Unrecognized Commitments - Additional Information (Detail)",
     "shortName": "Significant Contingent Liabilities and Unrecognized Commitments - Additional Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "163",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:PerformanceGuarantees",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "tsm:PerformanceGuarantees",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R164": {
     "role": "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail",
     "longName": "1164 - Disclosure - Significant Subsequent Events - Additional Inormation (Detail)",
     "shortName": "Significant Subsequent Events - Additional Inormation (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "164",
     "firstAnchor": {
      "contextRef": "P03_01_2024To04_16_2024_EarthquakeMemberifrsfullNonadjustingEventsAfterReportingPeriodAxis",
      "name": "tsm:LossDueToUnexpectedEvent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-9",
      "ancestors": [
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "P03_01_2024To04_16_2024_EarthquakeMemberifrsfullNonadjustingEventsAfterReportingPeriodAxis",
      "name": "tsm:LossDueToUnexpectedEvent",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-9",
      "ancestors": [
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R165": {
     "role": "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail",
     "longName": "1165 - Disclosure - Operating Segments Information - Geographic Information (Detail)",
     "shortName": "Operating Segments Information - Geographic Information (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "165",
     "firstAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "PAsOn12_31_2023",
      "name": "ifrs-full:NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true,
      "unique": true
     }
    },
    "R166": {
     "role": "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail",
     "longName": "1166 - Disclosure - Operating Segments Information - Major Customers Representing at Least 10 Percent of Net Revenue (Detail)",
     "shortName": "Operating Segments Information - Major Customers Representing at Least 10 Percent of Net Revenue (Detail)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "166",
     "firstAnchor": {
      "contextRef": "P01_01_2023To12_31_2023",
      "name": "ifrs-full:Revenue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "P01_01_2023To12_31_2023_CustomerAMemberifrsfullMajorCustomersAxis",
      "name": "ifrs-full:Revenue",
      "unitRef": "Unit_TWD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "td",
       "tr",
       "table",
       "div",
       "ifrs-full:DisclosureOfSegmentsMajorCustomersExplanatory",
       "ix:continuation",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "d592628d20f.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "tsm_AboveTheTotalShareholderReturnOfIndexByXPercentagePointsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AboveTheTotalShareholderReturnOfIndexByXPercentagePointsMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Above The Total Shareholder Return Of Index By X Percentage Points [Member]",
        "terseLabel": "Above the Index by X percentage points [Member]",
        "documentation": "Above the total shareholder return of index by X percentage points [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AccountingProfit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AccountingProfit",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting profit",
        "terseLabel": "Income before tax"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) for a period before deducting tax expense. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r67",
      "r68"
     ]
    },
    "tsm_AccruedExpensesAndOtherCurrentLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AccruedExpensesAndOtherCurrentLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued expenses and other current liabilities [member]",
        "terseLabel": "Accrued expenses and other current liabilities [member]",
        "documentation": "Accrued expenses and other current liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AccruedProfitSharingBonus": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AccruedProfitSharingBonus",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Profit Sharing Bonus",
        "verboseLabel": "Accrued profit sharing bonus to employees",
        "documentation": "Accrued profit sharing bonus."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AccruedProfitSharingBonusToEmployeesAndCompensationToDirectorsAndSupervisors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AccruedProfitSharingBonusToEmployeesAndCompensationToDirectorsAndSupervisors",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accrued Profit Sharing Bonus To Employees And Compensation To Directors And Supervisors",
        "terseLabel": "Accrued profit sharing bonus to employees and compensation to directors",
        "documentation": "Accrued profit sharing bonus to employees and compensation to directors and supervisors."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AccumulatedDepreciationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AccumulatedDepreciationMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Depreciation [Member]",
        "verboseLabel": "Accumulated depreciation [member]",
        "terseLabel": "Accumulated amortization [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AccumulatedFairValueHedgeAdjustmentOnHedgedItemIncludedInCarryingAmountAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AccumulatedFairValueHedgeAdjustmentOnHedgedItemIncludedInCarryingAmountAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated fair value hedge adjustment on hedged item included in carrying amount, assets",
        "terseLabel": "Asset Accumulated Amount of Fair Value Hedge Adjustments"
       }
      },
      "en": {
       "role": {
        "documentation": "The accumulated amount of fair value hedge adjustment on a hedged item that is included in the carrying amount of the hedged item, recognised in the statement of financial position as an asset. [Refer: Hedged items [member]]"
       }
      }
     },
     "auth_ref": [
      "r264"
     ]
    },
    "tsm_AcquisitionOfFinancialAssetsAtFVTOCIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AcquisitionOfFinancialAssetsAtFVTOCIMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Acquisition of financial assets at F V T O C I [Member]",
        "terseLabel": "Acquisition of financial assets at FVTOCI [Member]",
        "documentation": "Acquisition of financial assets at FVTOCI."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRates": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionOfDiscountRates",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPrincipalAssumptionsForActuarialValuationOfPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumption of discount rates",
        "terseLabel": "Discount rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The discount rate used as the significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r424"
     ]
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionOfDiscountRatesMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumption of discount rates [member]",
        "terseLabel": "Actuarial assumption of discount rates [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the discount rates used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r425"
     ]
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreases": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreases",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPrincipalAssumptionsForActuarialValuationOfPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumption of expected rates of salary increases",
        "terseLabel": "Future salary increase rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The expected rate of salary increases used as a significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit plans [member]; Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r424"
     ]
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumption of expected rates of salary increases [member]",
        "terseLabel": "Actuarial assumption of expected rates of salary increases [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the expected rates of salary increases used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r425"
     ]
    },
    "ifrs-full_ActuarialAssumptionsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionsAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumptions [axis]",
        "terseLabel": "Actuarial assumptions [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r97"
     ]
    },
    "ifrs-full_ActuarialAssumptionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialAssumptionsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial assumptions [member]",
        "terseLabel": "Actuarial assumptions [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all actuarial assumptions. Actuarial assumptions are the entity\u2019s unbiased and mutually compatible best estimates of the demographic and financial variables that will determine the ultimate cost of providing post-employment benefits. It also represents the standard value for the 'Actuarial assumptions' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r97"
     ]
    },
    "ifrs-full_ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialGainsLossesArisingFromChangesInDemographicAssumptionsNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial gains (losses) arising from changes in demographic assumptions, net defined benefit liability (asset)",
        "verboseLabel": "Actuarial loss arising from changes in demographic assumptions",
        "terseLabel": "Actuarial loss arising from changes in demographic assumptions"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in a net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in demographic assumptions that result in remeasurements of the net defined benefit liability (asset). Demographic assumptions deal with matters such as: (a) mortality; (b) rates of employee turnover, disability and early retirement; (c) the proportion of plan members with dependants who will be eligible for benefits; (d) the proportion of plan members who will select each form of payment option available under the plan terms; and (e) claim rates under medical plans. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r91"
     ]
    },
    "ifrs-full_ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial gains (losses) arising from changes in financial assumptions, net defined benefit liability (asset)",
        "terseLabel": "Actuarial (gain) loss arising from changes in financial assumptions"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in a net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in financial assumptions that result in remeasurements of the net defined benefit liability (asset). Financial assumptions deal with items such as: (a) the discount rate; (b) benefit levels, excluding any cost of the benefits to be met by employees, and future salary; (c) in the case of medical benefits, future medical costs, including claim handling costs (ie the costs that will be incurred in processing and resolving claims, including legal and adjuster's fees); and (d) taxes payable by the plan on contributions relating to service before the reporting date or on benefits resulting from that service. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r92"
     ]
    },
    "ifrs-full_ActuarialGainsLossesArisingFromExperienceAdjustmentsNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ActuarialGainsLossesArisingFromExperienceAdjustmentsNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Actuarial gains (losses) arising from experience adjustments, net defined benefit liability (asset)",
        "verboseLabel": "Actuarial loss arising from experience adjustments",
        "definitionGuidance": "Actuarial loss arising from experience adjustments"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in a net defined benefit liability (asset) resulting from actuarial gains (losses) arising from experience adjustments that result in remeasurements of the net defined benefit liability (asset). Experience adjustments deal with the effects of differences between the previous actuarial assumptions and what has actually occurred. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r423"
     ]
    },
    "ifrs-full_AdditionalPaidinCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdditionalPaidinCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional paid-in capital",
        "terseLabel": "Additional paid-in capital"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount received or receivable from the issuance of the entity's shares in excess of nominal value and amounts received from other transactions involving the entity's stock or stockholders."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_AdditionsFairValueMeasurementAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdditionsFairValueMeasurementAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions Fair Value Measurement Assets",
        "terseLabel": "Additions",
        "documentation": "Additions Fair Value Measurement Assets"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdditionsOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdditionsOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions Of Financial Assets At Fair Value Through Other Comprehensive Income",
        "terseLabel": "Additions of financial assets at FVTOCI",
        "documentation": "Additions of financial assets at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions other than through business combinations, intangible assets other than goodwill",
        "terseLabel": "Additions"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of additions to intangible assets other than goodwill, other than those acquired through business combinations. [Refer: Business combinations [member]; Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": [
      "r138"
     ]
    },
    "ifrs-full_AdditionsToRightofuseAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdditionsToRightofuseAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additions to right-of-use assets",
        "verboseLabel": "Additions to right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of additions to right-of-use assets. [Refer: Right-of-use assets]"
       }
      }
     },
     "auth_ref": [
      "r220"
     ]
    },
    "dei_AddressTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AddressTypeDomain",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Address Type [Domain]",
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustedWeightedAverageShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustedWeightedAverageShares",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average number of ordinary shares used in calculating diluted earnings per share",
        "terseLabel": "Weighted average number of common shares used in the computation of diluted EPS"
       }
      },
      "en": {
       "role": {
        "documentation": "The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]]"
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "ifrs-full_AdjustmentsForCurrentTaxOfPriorPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForCurrentTaxOfPriorPeriod",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for current tax of prior periods",
        "terseLabel": "Income tax adjustments on prior years"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments of tax expense (income) recognised in the period for current tax of prior periods."
       }
      }
     },
     "auth_ref": [
      "r336"
     ]
    },
    "tsm_AdjustmentsForDecreaseIncreaseInFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForDecreaseIncreaseInFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 36.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Financial Assets And Liabilities At Fair Value Through Profit Or Loss",
        "terseLabel": "Financial instruments at fair value through profit or loss",
        "documentation": "Adjustments For Decrease Increase In Financial Assets And Liabilities At Fair Value Through Profit Or Loss"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForDecreaseIncreaseInInventories",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 32.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in inventories",
        "terseLabel": "Inventories"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Inventories; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r437"
     ]
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInOtherCurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForDecreaseIncreaseInOtherCurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in other current assets",
        "terseLabel": "Other current assets"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in other current assets to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other current assets; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r439"
     ]
    },
    "tsm_AdjustmentsForDecreaseIncreaseInOtherFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForDecreaseIncreaseInOtherFinancialAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 31.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Other Financial Assets",
        "terseLabel": "Other financial assets",
        "documentation": "Adjustments for decrease increase in other financial assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForDecreaseIncreaseInOtherNonCurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForDecreaseIncreaseInOtherNonCurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 29.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for Decrease Increase in Other Non Current Assets",
        "terseLabel": "Other noncurrent assets",
        "documentation": "Adjustments for decrease (increase) in other noncurrent assets to reconcile profit (loss) to net cash flow from (used in) operating activities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForDecreaseIncreaseInOtherReceivablesRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForDecreaseIncreaseInOtherReceivablesRelatedParties",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 33.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in other receivables related parties",
        "terseLabel": "Other receivables from related parties",
        "documentation": "Adjustments for decrease (increase) in other receivables related parties."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForDecreaseIncreaseInReceivablesFromRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForDecreaseIncreaseInReceivablesFromRelatedParties",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 34.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Decrease Increase In Receivables From Related Parties",
        "terseLabel": "Receivables from related parties",
        "documentation": "Adjustments for decrease (increase) in receivables from related parties."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAccountReceivable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForDecreaseIncreaseInTradeAccountReceivable",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 35.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in trade accounts receivable",
        "terseLabel": "Notes and accounts receivable, net"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in trade accounts receivable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r437"
     ]
    },
    "ifrs-full_AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForGainLossOnDisposalOfInvestmentsInSubsidiariesJointVenturesAndAssociates",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for gain (loss) on disposal of investments in subsidiaries, joint ventures and associates",
        "negatedLabel": "Gain on disposal of investments accounted for using equity method, net"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for gain (loss) on disposals investments in subsidiaries, joint ventures and associates to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Associates [member]; Joint ventures [member]; Subsidiaries [member]; Investments in subsidiaries, joint ventures and associates reported in separate financial statements; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r439"
     ]
    },
    "tsm_AdjustmentsForGainOnDisposalOfIntangibleAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForGainOnDisposalOfIntangibleAssetsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for Gain on disposal of intangible assets net",
        "negatedLabel": "Loss (gain) on disposal or retirement of intangible assets, net",
        "documentation": "The gain on the disposal of intangible assets. [Refer: intangible assets]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForGainsLossesOndisposalOfInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncomeNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForGainsLossesOndisposalOfInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncomeNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 6.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for gains (losses) on disposal of investments in debt instruments at fair value through other comprehensive income, net",
        "negatedLabel": "Loss (gain) on disposal of investments in debt instruments at fair value through other comprehensive income, net",
        "terseLabel": "Investments in debt instruments at FVTOCI",
        "documentation": "The gains (losses) on disposal of investments in debt instruments at fair value through other comprehensive income. [Refer: Financial assets at fair value through other comprehensive income]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForGainsLossesOnfinancialInstrumentsAtFairValueThroughProfitOrLossNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForGainsLossesOnfinancialInstrumentsAtFairValueThroughProfitOrLossNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for gains (losses) on financial instruments at fair value through profit or loss, net",
        "negatedLabel": "Gain on financial instruments at fair value through profit or loss, net",
        "documentation": "The gains (losses) on financial instruments at fair value through profit or loss. [Refer: Financial assets and liabilities at fair value through profit or loss]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForIncreaseDecreaseInAccruedExpensesAndOtherCurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInAccruedExpensesAndOtherCurrentLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for increase decrease in accrued expenses and other current liabilities",
        "terseLabel": "Accrued expenses and other current liabilities",
        "documentation": "Adjustments for increase decrease in accrued expenses and other current liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForIncreaseDecreaseInAccruedProfitSharingBonusToEmployeesAndCompensationToDirectorsAndSupervisors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInAccruedProfitSharingBonusToEmployeesAndCompensationToDirectorsAndSupervisors",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 25.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Accrued Profit Sharing Bonus To Employees And Compensation To Directors And Supervisors",
        "terseLabel": "Accrued profit sharing bonus to employees and compensation to directors",
        "documentation": "Adjustments for increase (decrease) in accrued profit sharing bonus to employees and compensation to directors and supervisors."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForIncreaseDecreaseInEmployeeBenefitLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in employee benefit liabilities",
        "terseLabel": "Net defined benefit liability"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in employee benefit liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r439"
     ]
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForIncreaseDecreaseInOtherCurrentLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in other current liabilities",
        "terseLabel": "Changes in accrued expenses and other current liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in other current liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other current liabilities; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r439"
     ]
    },
    "tsm_AdjustmentsForIncreaseDecreaseInOtherFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInOtherFinancialAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Other Financial Assets",
        "terseLabel": "Changes in other financial assets",
        "documentation": "Adjustments for increase decrease in other financial assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForIncreaseDecreaseInOtherLiabilitiesNoncurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInOtherLiabilitiesNoncurrent",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Other Liabilities Noncurrent",
        "terseLabel": "Other noncurrent liabilities",
        "documentation": "Adjustments for increase decrease in other liabilities noncurrent."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForIncreaseDecreaseInPayablesToRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInPayablesToRelatedParties",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Payables To Related Parties",
        "terseLabel": "Payables to related parties",
        "documentation": "Adjustments for increase (decrease) in payables to related parties."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForIncreaseDecreaseInSalaryAndBonusPayables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForIncreaseDecreaseInSalaryAndBonusPayables",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 26.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Increase Decrease In Salary And Bonus Payables",
        "terseLabel": "Salary and bonus payable",
        "documentation": "Adjustments for increase (decrease) in salary and bonus payables to reconcile profit (loss) to net cash flow from (used in) operating activities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInTradeAccountPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForIncreaseDecreaseInTradeAccountPayable",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 28.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in trade accounts payable",
        "terseLabel": "Accounts payable"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in trade accounts payable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r437"
     ]
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInTradeAndOtherPayables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForIncreaseDecreaseInTradeAndOtherPayables",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in trade and other payables",
        "terseLabel": "Changes in payables to contractors and equipment suppliers"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in trade and other payables to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other payables; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r439"
     ]
    },
    "tsm_AdjustmentsForNetChangesInOperatingAssetsAndLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForNetChangesInOperatingAssetsAndLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for net changes in operating assets and liabilities [abstract]",
        "terseLabel": "Changes in operating assets and liabilities:",
        "documentation": "Adjustments for net changes in operating assets and liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForPrepaymentsOfLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForPrepaymentsOfLeases",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 39.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase in prepayments for leases",
        "negatedLabel": "Increase in prepayments for leases",
        "documentation": "Adjustments for prepayments of leases."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AdjustmentsForRecognitionOfExpectedCreditLossAndReversalOnInvestmentsInDebtInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AdjustmentsForRecognitionOfExpectedCreditLossAndReversalOnInvestmentsInDebtInstruments",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments For Recognition Of Expected Credit Loss And Reversal On Investments In Debt Instruments",
        "negatedLabel": "Expected credit losses recognized (reversal) on investments in debt instruments",
        "documentation": "Adjustments for recognition of expected credit loss and reversal on investments in debt instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForReconcileProfitLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForReconcileProfitLossAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile profit (loss) [abstract]",
        "terseLabel": "Adjustments for:"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AdjustmentsForSharebasedPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AdjustmentsForSharebasedPayments",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments for share-based payments",
        "terseLabel": "Share-based compensation"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments for share-based payments to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r438"
     ]
    },
    "tsm_AgencyBondsAgencyMortgagebackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AgencyBondsAgencyMortgagebackedSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agency bonds Agency mortgage-backed securities [member]",
        "verboseLabel": "Agency mortgage-backed securities [member]",
        "documentation": "Agency bonds/ agency mortgage-backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AgencyMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AgencyMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Agency mortgage backed securities [member]",
        "terseLabel": "Agency mortgage-backed securities [member]",
        "documentation": "Agency mortgage backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AggregatedMeasurementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AggregatedMeasurementMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsTables",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregated measurement [member]",
        "terseLabel": "Aggregated measurement [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all types of measurement. It also represents the standard value for the 'Measurement' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r146",
      "r150",
      "r198"
     ]
    },
    "ifrs-full_AggregatedTimeBandsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AggregatedTimeBandsMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Aggregated time bands [member]",
        "terseLabel": "Aggregated time bands [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated time bands. It also represents the standard value for the 'Maturity' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r212",
      "r224",
      "r226",
      "r229",
      "r230",
      "r232",
      "r238",
      "r261",
      "r345",
      "r380",
      "r387"
     ]
    },
    "ifrs-full_AllLevelsOfFairValueHierarchyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AllLevelsOfFairValueHierarchyMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All levels of fair value hierarchy [member]",
        "terseLabel": "All levels of fair value hierarchy [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all levels of the fair value hierarchy. It also represents the standard value for the 'Levels of fair value hierarchy' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r199"
     ]
    },
    "ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AllowanceAccountForCreditLossesOfFinancialAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allowance account for credit losses of financial assets",
        "negatedTerseLabel": "Less: Allowance for impairment loss",
        "negatedLabel": "Less: Loss allowance",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r319"
     ]
    },
    "ifrs-full_AllowanceForCreditLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AllowanceForCreditLossesMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allowance for credit losses [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for an allowance account used to record impairments to financial assets due to credit losses."
       }
      }
     },
     "auth_ref": [
      "r418"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AmericanDepositarySharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AmericanDepositarySharesMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "American depositary shares [member]",
        "terseLabel": "American Depositary Shares (one represents five common shares) [member]",
        "documentation": "American depositary shares."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AmortisationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AmortisationExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortisation expense",
        "terseLabel": "Amortization expense",
        "verboseLabel": "Amortization of intangible assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of amortisation expense. Amortisation is the systematic allocation of depreciable amounts of intangible assets over their useful lives."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_AmortizationOfIntangibleAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AmortizationOfIntangibleAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amortization Of Intangible Assets [Member]",
        "terseLabel": "Amortization of intangible assets [member]",
        "documentation": "Amortization of intangible assets."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AnalysisOfAgeOfFinancialAssetsThatArePastDueButNotImpaired": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AnalysisOfAgeOfFinancialAssetsThatArePastDueButNotImpaired",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Analysis of age of financial assets that are past due but not impaired [text block]",
        "terseLabel": "Aging Analysis of Notes and Accounts Receivable, Net"
       }
      },
      "en": {
       "role": {
        "documentation": "Analysis of the age of financial assets that are past due but not impaired. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r321"
     ]
    },
    "tsm_AppropriatedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AppropriatedEarningsMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Appropriated Earnings [member]",
        "terseLabel": "Appropriation of earnings [member]",
        "documentation": "Appropriated earnings."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AssetBackedSecuritiesAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AssetBackedSecuritiesAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset backed securities assets [member]",
        "terseLabel": "Asset-backed securities [member]",
        "documentation": "Asset-backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AssetBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AssetBackedSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Asset backed securities [member]",
        "terseLabel": "Asset-backed securities [member]",
        "documentation": "Asset backed securities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Assets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets",
        "totalLabel": "TOTAL"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r198",
      "r199",
      "r203",
      "r302",
      "r306"
     ]
    },
    "ifrs-full_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_AssetsAndLiabilitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AssetsAndLiabilitiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets and liabilities [axis]",
        "terseLabel": "Assets and liabilities [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "ifrs-full_AssetsAndLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AssetsAndLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets and liabilities [member]",
        "terseLabel": "Assets and liabilities [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for assets and liabilities. It also represents the standard value for the 'Assets and liabilities' axis if no other member is used. [Refer: Assets; Liabilities]"
       }
      }
     },
     "auth_ref": [
      "r12"
     ]
    },
    "ifrs-full_AssociatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "AssociatesMember",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Associates [member]",
        "terseLabel": "Associates [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the entities over which the investor has significant influence."
       }
      }
     },
     "auth_ref": [
      "r116",
      "r123",
      "r126",
      "r197"
     ]
    },
    "dei_AuditorFirmId": {
     "xbrltype": "nonemptySequenceNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorFirmId",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Firm ID",
        "documentation": "PCAOB issued Audit Firm Identifier"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400"
     ]
    },
    "dei_AuditorLocation": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorLocation",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400"
     ]
    },
    "dei_AuditorName": {
     "xbrltype": "internationalNameItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "AuditorName",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400"
     ]
    },
    "tsm_AuthorizedCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AuthorizedCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalStockDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Authorized Capital",
        "terseLabel": "Authorized capital",
        "documentation": "Authorized capital."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_AutomotiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "AutomotiveMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Automotive [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BalanceSheetLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [axis]",
        "terseLabel": "Balance Sheet Location [axis]",
        "documentation": "Balance sheet location."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BalanceSheetLocationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BalanceSheetLocationMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Balance Sheet Location [member]",
        "terseLabel": "Balance Sheet Location [member]",
        "documentation": "Balance Sheet Location [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BankLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BankLoansMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bank loans [Member]",
        "terseLabel": "Bank loans [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_BankingArrangementsClassifiedAsCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BankingArrangementsClassifiedAsCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail": {
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other banking arrangements, classified as cash equivalents",
        "terseLabel": "Repurchase agreements"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of cash equivalents representing banking arrangements that the entity does not separately disclose in the same statement or note. [Refer: Cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r441"
     ]
    },
    "ifrs-full_BasicEarningsLossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BasicEarningsLossPerShare",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic earnings (loss) per share",
        "terseLabel": "Basic earnings per share",
        "verboseLabel": "Basic EPS"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator) divided by the weighted average number of ordinary shares outstanding during the period (the denominator)."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r128"
     ]
    },
    "tsm_BelowTheTotalShareholderReturnOfIndexByXPercentagePointsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BelowTheTotalShareholderReturnOfIndexByXPercentagePointsMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Below The Total Shareholder Return Of Index By X Percentage Points [Member]",
        "terseLabel": "Below the Index by X percentage points [Member]",
        "documentation": "Below the total shareholder return of index by X percentage points [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsInterestRate",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds Interest Rate",
        "terseLabel": "Coupon Rate",
        "documentation": "Bonds Interest Rate."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_BondsIssued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BondsIssued",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail": {
       "parentTag": "ifrs-full_NoncurrentPortionOfNoncurrentBondsIssued",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds issued",
        "positiveTerseLabel": "Unsecured bonds",
        "verboseLabel": "Domestic unsecured bonds",
        "positiveLabel": "Overseas unsecured bonds",
        "terseLabel": "Bonds payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of bonds issued by the entity."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_BondsPayableIncludingLongtermLiabilitiescurrentPortionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableIncludingLongtermLiabilitiescurrentPortionMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds payable (including long-term liabilities-current portion) [member]",
        "terseLabel": "Bonds payable including long-term liabilities-current portion) [member]",
        "documentation": "Bonds payable (including long-term liabilities-current portion)."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsPayableIssuanceEndingPeriod": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableIssuanceEndingPeriod",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds Payable Issuance Ending Period",
        "terseLabel": "Issuance ending period",
        "documentation": "Bonds payable issuance ending period."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsPayableIssuanceStartingPeriod": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableIssuanceStartingPeriod",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds Payable Issuance Starting Period",
        "terseLabel": "Issuance starting period",
        "documentation": "Bonds payable issuance starting period."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsPayableLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableLineItems",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds Payable [line items]",
        "terseLabel": "Bonds payable [line items]",
        "documentation": "Bonds payable."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsPayableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds payable [member]",
        "terseLabel": "Bonds payable [member]",
        "documentation": "Bonds payable."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_BondsPayableRepaymentAndInterestPayableDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BondsPayableRepaymentAndInterestPayableDescription",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bonds Payable Repayment And Interest Payable Description",
        "terseLabel": "Repayment and Interest Payment",
        "documentation": "Bonds payable repayment and interest payable description."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_BorrowingsByNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BorrowingsByNameAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings by name [axis]",
        "terseLabel": "Borrowings by name [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "ifrs-full_BorrowingsByNameMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BorrowingsByNameMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings by name [member]",
        "terseLabel": "Borrowings by name [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all borrowings when disaggregated by name. It also represents the standard value for the 'Borrowings by name' axis if no other member is used. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "ifrs-full_BorrowingsInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BorrowingsInterestRate",
     "presentation": [
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings, interest rate",
        "terseLabel": "Annual interest rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The interest rate on borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "ifrs-full_BorrowingsMaturity": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BorrowingsMaturity",
     "presentation": [
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings, maturity",
        "terseLabel": "Maturity date"
       }
      },
      "en": {
       "role": {
        "documentation": "The maturity of borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "ifrs-full_BottomOfRangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BottomOfRangeMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Bottom of range [member]",
        "terseLabel": "Bottom of range [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the bottom of a range."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r232",
      "r243",
      "r364",
      "r366",
      "r444"
     ]
    },
    "ifrs-full_BuildingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "BuildingsMember",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buildings [member]",
        "terseLabel": "Buildings [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a class of plant, property and equipment representing depreciable buildings and similar structures for use in operations. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r420"
     ]
    },
    "tsm_BuildingsUsedByTheCompanyAndSubjectToOperatingLeasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "BuildingsUsedByTheCompanyAndSubjectToOperatingLeasesMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Buildings Used by the Company and Subject to Operating Leases [Member]",
        "verboseLabel": "Buildings (assets used by the Company and assets subject to operating leases) [member]",
        "documentation": "This member stands for property, plant and equipment representing buildings used in operations and buildings subject to operating leases. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_BusinessContactMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "BusinessContactMember",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Contact [Member]",
        "terseLabel": "Business Contact [Member]",
        "documentation": "Business contact for the entity"
       }
      }
     },
     "auth_ref": [
      "r399",
      "r400"
     ]
    },
    "country_CN": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "CN",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "CHINA",
        "terseLabel": "China [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CapitalReserve": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CapitalReserve",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_RetainedEarnings",
       "weight": 1.0,
       "order": 28.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital reserve",
        "terseLabel": "Appropriated as legal capital reserve",
        "verboseLabel": "Special capital reserve"
       }
      },
      "en": {
       "role": {
        "documentation": "A component of equity representing the capital reserves."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_CapitalSurplus": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CapitalSurplus",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0,
       "order": 30.0
      },
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Surplus",
        "terseLabel": "Capital surplus",
        "totalLabel": "Total",
        "documentation": "The amount of capital surplus."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CapitalisationRateOfBorrowingCostsEligibleForCapitalisation": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CapitalisationRateOfBorrowingCostsEligibleForCapitalisation",
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capitalisation rate of borrowing costs eligible for capitalisation",
        "terseLabel": "Capitalisation rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The weighted average of interest and other costs that an entity incurs in connection with the borrowing of funds applicable to the borrowings of the entity that are outstanding during the period, other than borrowings made specifically for the purpose of obtaining a qualifying asset. [Refer: Weighted average [member]; Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r110"
     ]
    },
    "ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis]",
        "terseLabel": "Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r75",
      "r80",
      "r137",
      "r139",
      "r147",
      "r148",
      "r149",
      "r150",
      "r151",
      "r252",
      "r276",
      "r277"
     ]
    },
    "ifrs-full_CarryingAmountMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CarryingAmountMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Carrying amount [member]",
        "terseLabel": "Carrying Amount [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised in the statement of financial position (after deducting any accumulated depreciation or amortisation and accumulated impairment losses). It also represents the standard value for the 'Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount' axis if no other member is used. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      }
     },
     "auth_ref": [
      "r80",
      "r139",
      "r147",
      "r149",
      "r150",
      "r252",
      "r276",
      "r277"
     ]
    },
    "ifrs-full_Cash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Cash",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail": {
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash",
        "terseLabel": "Cash and deposits in banks"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits. [Refer: Cash on hand]"
       }
      }
     },
     "auth_ref": [
      "r441"
     ]
    },
    "ifrs-full_CashAdvancesAndLoansMadeToOtherPartiesClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashAdvancesAndLoansMadeToOtherPartiesClassifiedAsInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 41.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash advances and loans made to other parties, classified as investing activities",
        "negatedLabel": "Refundable deposits paid"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of cash advances and loans made to other parties (other than advances and loans made by a financial institution), classified as investing activities."
       }
      }
     },
     "auth_ref": [
      "r351"
     ]
    },
    "ifrs-full_CashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashAndCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 54.0
      },
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents",
        "periodStartLabel": "CASH AND CASH EQUIVALENTS, BEGINNING OF YEAR",
        "periodEndLabel": "CASH AND CASH EQUIVALENTS, END OF YEAR",
        "totalLabel": "Cash and cash equivalents"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r22",
      "r163",
      "r191"
     ]
    },
    "ifrs-full_CashAndCashEquivalentsAmountContributedToFairValueOfPlanAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashAndCashEquivalentsAmountContributedToFairValueOfPlanAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail": {
       "parentTag": "ifrs-full_PlanAssetsAtFairValue",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents, amount contributed to fair value of plan assets",
        "terseLabel": "Cash"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount cash and cash equivalents contribute to the fair value of defined benefit plan assets. [Refer: Cash and cash equivalents; Plan assets, at fair value; Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r342"
     ]
    },
    "ifrs-full_CashFlowHedgesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowHedgesMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow hedges [member]",
        "terseLabel": "Cash flow hedges [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for hedges of the exposure to variability in cash flows that (a) are attributable to a particular risk associated with a recognised asset or liability (such as all or some future interest payments on variable rate debt) or a highly probable forecast transaction; and (b) could affect profit or loss. [Refer: Hedges [member]]"
       }
      }
     },
     "auth_ref": [
      "r144",
      "r263",
      "r265",
      "r267"
     ]
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalents",
       "weight": 1.0,
       "order": 57.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities",
        "totalLabel": "Net cash generated by (used in) financing activities"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) financing activities, which are activities that result in changes in the size and composition of the contributed equity and borrowings of the entity."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r165"
     ]
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities [abstract]",
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CashFlowsFromUsedInIncreaseDecreaseInCurrentBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInIncreaseDecreaseInCurrentBorrowings",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 73.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) increase (decrease) in current borrowings",
        "verboseLabel": "Increase (decrease) in short-term loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow (outflow) due to an increase (decrease) in current borrowings. [Refer: Current borrowings]"
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalents",
       "weight": 1.0,
       "order": 37.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities",
        "totalLabel": "Net cash used in investing activities"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) investing activities, which are the acquisition and disposal of long-term assets and other investments not included in cash equivalents."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r165"
     ]
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities [abstract]",
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInOperatingActivities",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalents",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities",
        "totalLabel": "Net cash generated by operating activities"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) operating activities, which are the principal revenue-producing activities of the entity and other activities that are not investing or financing activities. [Refer: Revenue]"
       }
      }
     },
     "auth_ref": [
      "r152",
      "r165"
     ]
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities [abstract]",
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CashFlowsFromUsedInOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashFlowsFromUsedInOperations",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operations",
        "totalLabel": "Cash generated from operations"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash from (used in) the entity's operations."
       }
      }
     },
     "auth_ref": [
      "r355",
      "r360"
     ]
    },
    "ifrs-full_CashOutflowForLeases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashOutflowForLeases",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsOtherLeaseInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash outflow for leases",
        "verboseLabel": "Total cash outflow for leases"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for leases."
       }
      }
     },
     "auth_ref": [
      "r219"
     ]
    },
    "ifrs-full_CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToOtherPartiesClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToOtherPartiesClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 40.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash receipts from repayment of advances and loans made to other parties, classified as investing activities",
        "terseLabel": "Refundable deposits refunded"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from the repayment of advances and loans made to other parties (other than advances and loans of a financial institution), classified as investing activities."
       }
      }
     },
     "auth_ref": [
      "r352"
     ]
    },
    "ifrs-full_CategoriesOfCurrentFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CategoriesOfCurrentFinancialAssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Categories of current financial assets [abstract]",
        "terseLabel": "Financial assets- current"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CategoriesOfCurrentFinancialLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CategoriesOfCurrentFinancialLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Categories of current financial liabilities [abstract]",
        "terseLabel": "Financial liabilities- current"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CategoriesOfFinancialAssetsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CategoriesOfFinancialAssetsAxis",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Categories of financial assets [axis]",
        "terseLabel": "Categories of financial assets [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r293"
     ]
    },
    "ifrs-full_CategoriesOfFinancialLiabilitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CategoriesOfFinancialLiabilitiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Categories of financial liabilities [axis]",
        "terseLabel": "Categories of financial liabilities [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r293"
     ]
    },
    "ifrs-full_CategoriesOfRelatedPartiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CategoriesOfRelatedPartiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Categories of related parties [axis]",
        "terseLabel": "Categories of related parties [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "tsm_CertificatesOfDepositMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CertificatesOfDepositMember",
     "presentation": [
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Certificates of deposit [member]",
        "terseLabel": "Certificates of deposit [member]",
        "documentation": "Certificates of deposit."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ChangesInAllowanceAccountForCreditLossesOfFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ChangesInAllowanceAccountForCreditLossesOfFinancialAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in allowance account for credit losses of financial assets [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ChangesInPropertyPlanAndEquipmentAdjustmentsForChangesInAccruedExpensesAndOtherCurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ChangesInPropertyPlanAndEquipmentAdjustmentsForChangesInAccruedExpensesAndOtherCurrentLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes In Property Plan And Equipment Adjustments for Changes in Accrued Expenses and Other Current Liabilities",
        "terseLabel": "Changes in accrued expenses and other current liabilities",
        "documentation": "Changes in property plan and equipment adjustments for changes in accrued expenses and other current liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ChangesInPropertyPlanAndEquipmentCapitalizedInterests": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ChangesInPropertyPlanAndEquipmentCapitalizedInterests",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes In Property Plan And Equipment Capitalized Interests",
        "terseLabel": "Capitalized interests",
        "documentation": "Changes in property plan and equipment capitalized interests."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ChangesInPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ChangesInPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in property, plant and equipment",
        "terseLabel": "Additions (Deductions)",
        "definitionGuidance": "Additions of property, plant and equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r80"
     ]
    },
    "ifrs-full_ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ChangesInTaxRatesOrTaxLawsEnactedOrAnnouncedMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Changes in tax rates or tax laws enacted or announced [member]",
        "terseLabel": "Changes in tax rates or tax laws enacted or announced [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for changes in tax rates or tax laws enacted or announced."
       }
      }
     },
     "auth_ref": [
      "r334"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "City Area Code",
        "documentation": "Area code of city"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ClassesOfAssetsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfAssetsAxis",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of assets [axis]",
        "terseLabel": "Classes of assets [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r133",
      "r204",
      "r222"
     ]
    },
    "ifrs-full_ClassesOfAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [member]",
        "terseLabel": "Assets [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits. It also represents the standard value for the 'Classes of assets' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r132",
      "r204",
      "r222"
     ]
    },
    "ifrs-full_ClassesOfContingentLiabilitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfContingentLiabilitiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of contingent liabilities [axis]",
        "terseLabel": "Classes of contingent liabilities [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r135",
      "r250"
     ]
    },
    "ifrs-full_ClassesOfFinancialAssetsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfFinancialAssetsAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNet",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of financial assets [axis]",
        "terseLabel": "Classes of financial assets [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r239",
      "r285",
      "r286",
      "r316",
      "r317"
     ]
    },
    "ifrs-full_ClassesOfFinancialInstrumentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfFinancialInstrumentsAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of financial instruments [axis]",
        "terseLabel": "Classes of financial instruments [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r276",
      "r278",
      "r282",
      "r283"
     ]
    },
    "ifrs-full_ClassesOfFinancialInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfFinancialInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial instruments, class [member]",
        "terseLabel": "Financial instruments, class [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes of financial instruments. Financial instruments are contracts that give rise to a financial asset of one entity and a financial liability or equity instrument of another entity. It also represents the standard value for the 'Classes of financial instruments' axis if no other member is used. [Refer: Financial assets; Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r276",
      "r278",
      "r282",
      "r283"
     ]
    },
    "ifrs-full_ClassesOfFinancialLiabilitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfFinancialLiabilitiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of financial liabilities [axis]",
        "terseLabel": "Classes of financial liabilities [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r285",
      "r286",
      "r316",
      "r317"
     ]
    },
    "ifrs-full_ClassesOfIntangibleAssetsAndGoodwillAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfIntangibleAssetsAndGoodwillAxis",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of intangible assets and goodwill [axis]",
        "terseLabel": "Classes of intangible assets and goodwill [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "ifrs-full_ClassesOfIntangibleAssetsOtherThanGoodwillAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfIntangibleAssetsOtherThanGoodwillAxis",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of intangible assets other than goodwill [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r140"
     ]
    },
    "ifrs-full_ClassesOfInventoriesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfInventoriesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of current inventories [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfPropertyPlantAndEquipmentAxis",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of property, plant and equipment [axis]",
        "terseLabel": "Classes of property, plant and equipment [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "tsm_ClassesOfRightofuseAssetsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ClassesOfRightofuseAssetsAxis",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes Of Rightofuse Assets [Axis]",
        "verboseLabel": "Classes of assets [axis]",
        "documentation": "Classes of rightofuse assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ClassesOfRightofuseAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ClassesOfRightofuseAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes Of Rightofuse Assets [Member]",
        "verboseLabel": "Assets [member]",
        "documentation": "Classes of rightofuse assets."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ClassesOfShareCapitalAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfShareCapitalAxis",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of share capital [axis]",
        "terseLabel": "Classes of share capital [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "ifrs-full_ClassesOfShareCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClassesOfShareCapitalMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share capital [member]",
        "terseLabel": "Share capital [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for share capital of the entity. It also represents the standard value for the 'Classes of share capital' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "tsm_CleanRoomsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CleanRoomsMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Clean Rooms [member]",
        "terseLabel": "Clean rooms [member]",
        "documentation": "Clean rooms."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ClosingForeignExchangeRate": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ClosingForeignExchangeRate",
     "presentation": [
      "http://www.tsmc.com/role/USDollarAmountsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Closing foreign exchange rate",
        "terseLabel": "Reporting currency for translation, exchange rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_CommercialPaper1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CommercialPaper1Member",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commercial Paper 1 [member]",
        "terseLabel": "Commercial paper [member]",
        "documentation": "Commercial paper."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CompensationToDirectors": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CompensationToDirectors",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation to Directors",
        "terseLabel": "Compensation to directors",
        "documentation": "Compensation to directors."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ComponentsOfEquityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComponentsOfEquityAxis",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail",
      "http://www.tsmc.com/role/EquityTables",
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of equity [axis]",
        "terseLabel": "Components of equity [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of other comprehensive income that will be reclassified to profit or loss, net of tax [abstract]",
        "terseLabel": "OTHER COMPREHENSIVE INCOME (LOSS) - Items that may be reclassified subsequently to profit or loss:"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of other comprehensive income that will not be reclassified to profit or loss, net of tax [abstract]",
        "terseLabel": "OTHER COMPREHENSIVE INCOME (LOSS) - Items that will not be reclassified subsequently to profit or loss:"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive income",
        "totalLabel": "Total comprehensive income (loss)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of change in equity resulting from transactions and other events, other than those changes resulting from transactions with owners in their capacity as owners."
       }
      }
     },
     "auth_ref": [
      "r2",
      "r46",
      "r172",
      "r174",
      "r188",
      "r362"
     ]
    },
    "ifrs-full_ComprehensiveIncomeAttributableToAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComprehensiveIncomeAttributableToAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive income attributable to [abstract]",
        "terseLabel": "TOTAL COMPREHENSIVE INCOME (LOSS) ATTRIBUTABLE TO:"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComprehensiveIncomeAttributableToNoncontrollingInterests",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive income, attributable to non-controlling interests",
        "terseLabel": "Non-controlling interests"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of comprehensive income attributable to non-controlling interests. [Refer: Comprehensive income; Non-controlling interests]"
       }
      }
     },
     "auth_ref": [
      "r2",
      "r49"
     ]
    },
    "ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ComprehensiveIncomeAttributableToOwnersOfParent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Comprehensive income, attributable to owners of parent",
        "terseLabel": "Shareholders of the parent"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of comprehensive income attributable to owners of the parent. [Refer: Comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r2",
      "r50"
     ]
    },
    "tsm_ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ConditionedPaymentsForVariousPublicInfrastructureProjectsFromCityOfPhoenix",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Conditioned Payments For Various Public Infrastructure Projects From City Of Phoenix",
        "terseLabel": "Conditioned payments for various public infrastructure projects from City of Phoenix",
        "documentation": "Conditioned payments for various public infrastructure projects from City of Phoenix."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ConstructionAndExpansionOfTwoThousandAndNineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ConstructionAndExpansionOfTwoThousandAndNineMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Construction And Expansion Of Two Thousand And Nine [member]",
        "terseLabel": "Construction and expansion of two thousand and nine [member]",
        "documentation": "Construction and expansion of two thousand and nine."
       }
      }
     },
     "auth_ref": []
    },
    "dei_ContactPersonnelEmailAddress": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ContactPersonnelEmailAddress",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Email Address",
        "documentation": "Email address of contact personnel."
       }
      }
     },
     "auth_ref": []
    },
    "dei_ContactPersonnelName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "ContactPersonnelName",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contact Personnel Name",
        "documentation": "Name of contact personnel"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ContingentLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ContingentLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contingent liabilities [member]",
        "terseLabel": "Contingent liabilities [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for possible obligations that arise from past events and whose existence will be confirmed only by the occurrence or non-occurrence of one or more uncertain future events not wholly within the control of the entity; or, present obligations that arise from past events but are not recognised because (a) it is probable that an outflow of resources embodying economic benefits will be required to settle the obligations; or (b) the amount of the obligations cannot be measured with sufficient reliability. It also represents the standard value for the 'Classes of contingent liabilities' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r136",
      "r250"
     ]
    },
    "ifrs-full_ContractLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ContractLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract liabilities",
        "terseLabel": "Contract liabilities (classified under accrued expenses and other current liabilities)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of an entity\u2019s obligation to transfer goods or services to a customer for which the entity has received consideration (or the amount is due) from the customer."
       }
      }
     },
     "auth_ref": [
      "r207",
      "r210"
     ]
    },
    "ifrs-full_ContractLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ContractLiabilitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract liabilities [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ContractualAmountsToBeExchangedInDerivativeFinancialInstrumentForWhichGrossCashFlowsAreExchanged": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ContractualAmountsToBeExchangedInDerivativeFinancialInstrumentForWhichGrossCashFlowsAreExchanged",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractual amounts to be exchanged in derivative financial instrument for which gross cash flows are exchanged",
        "terseLabel": "Contract Amount"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to contractual amounts to be exchanged in a derivative financial instrument for which gross cash flows are exchanged. [Refer: Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r382"
     ]
    },
    "ifrs-full_ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contributions to plan by employer, net defined benefit liability (asset)",
        "negatedLabel": "Benefits paid directly by the Company",
        "terseLabel": "Contributions from employer"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in net defined benefit liability (asset) resulting from contributions to a defined benefit plan by the employer. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r93"
     ]
    },
    "tsm_ConvertibleBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ConvertibleBondsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Bonds [Member]",
        "terseLabel": "Convertible Bonds [Member]",
        "documentation": "Convertible bonds."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ConvertiblePreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ConvertiblePreferredStockMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible Preferred Stock [Member]",
        "terseLabel": "Convertible Preferred Stock [member]",
        "documentation": "Convertible preferred stock."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ConvertiblePreferredStocksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ConvertiblePreferredStocksMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Convertible preferred stocks [Member]",
        "documentation": "Convertible preferred stocks."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CorporateBondsClassifiedAsCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CorporateBondsClassifiedAsCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail": {
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate Bonds Classified As Cash Equivalents",
        "negatedLabel": "Corporate bonds",
        "documentation": "Corporate bonds classified as cash equivalents."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CorporateBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CorporateBondsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate Bonds [member]",
        "terseLabel": "Corporate bonds [member]",
        "documentation": "Corporate bonds."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CorporateDebtInstrumentsHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CorporateDebtInstrumentsHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate debt instruments held",
        "terseLabel": "Corporate bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of debt instruments held by the entity that were issued by a corporate entity. [Refer: Debt instruments held]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_CorporateIncomeTaxRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CorporateIncomeTaxRate",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Corporate income tax rate",
        "terseLabel": "Percentage of corporate income tax rate",
        "documentation": "The applicable \"corporate\" income tax rate."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CostOfRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CostOfRevenue",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost Of Revenue",
        "terseLabel": "Cost of revenue",
        "documentation": "Cost of revenue."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CostOfRevenueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CostOfRevenueMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost Of Revenue [member]",
        "terseLabel": "Cost of revenue [member]",
        "documentation": "Cost of revenue."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CostOfSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CostOfSales",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_GrossProfit",
       "weight": -1.0,
       "order": 35.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cost of sales",
        "terseLabel": "COST OF REVENUE"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r62"
     ]
    },
    "ifrs-full_CounterpartiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CounterpartiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparties [axis]",
        "terseLabel": "Counterparties [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r295"
     ]
    },
    "ifrs-full_CounterpartiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CounterpartiesMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparties [member]",
        "terseLabel": "Counterparties [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the parties to the transaction other than the entity. It also represents the standard value for the 'Counterparties' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r295"
     ]
    },
    "ifrs-full_CountryOfDomicileMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CountryOfDomicileMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Country of domicile [member]",
        "terseLabel": "Taiwan [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the country in which the entity is registered and where it has its legal address or registered office."
       }
      }
     },
     "auth_ref": [
      "r310",
      "r311"
     ]
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CreationDateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CreationDateAxis",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Creation date [axis]",
        "terseLabel": "Creation date [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r167",
      "r168",
      "r170"
     ]
    },
    "ifrs-full_CreditRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CreditRiskMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit risk [member]",
        "terseLabel": "Credit risk [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the risk that one party to a financial instrument will cause a financial loss for the other party by failing to discharge an obligation. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r375"
     ]
    },
    "ifrs-full_CumulativeGainLossOnDisposalOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CumulativeGainLossOnDisposalOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative gain (loss) on disposal of investments in equity instruments designated at fair value through other comprehensive income",
        "terseLabel": "Cumulative unrealized gain (loss) of equity instruments transferred to retained earnings due to disposal"
       }
      },
      "en": {
       "role": {
        "documentation": "The cumulative gain (loss) on disposal of investments in equity instruments that the entity has designated at fair value through other comprehensive income. [Refer: At fair value [member]; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r255"
     ]
    },
    "tsm_CumulativeLossAllowanceForExpectedCreditLossAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CumulativeLossAllowanceForExpectedCreditLossAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Loss Allowance For Expected Credit Loss At Fair Value Through Other Comprehensive Income",
        "terseLabel": "Cumulative loss allowance for expected credit loss",
        "documentation": "Cumulative loss allowance for expected credit loss at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CumulativeUnrealizedGainLossOfDebtInstrumentsTransferredToProfitOrLossDueToDisposal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CumulativeUnrealizedGainLossOfDebtInstrumentsTransferredToProfitOrLossDueToDisposal",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative unrealized gain (loss) of debt instruments transferred to profit or loss due to disposal",
        "terseLabel": "Cumulative unrealized gain (loss) of debt instruments transferred to profit or loss due to disposal",
        "documentation": "Cumulative unrealized gain (loss) of debt instruments transferred to profit or loss due to disposal."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CurrencyForwardContractsSellOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CurrencyForwardContractsSellOptionMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currency Forward Contracts Sell Option [member]",
        "terseLabel": "Sell [member]",
        "documentation": "Currency forward contracts sell option."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrencyRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrencyRiskMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currency risk [member]",
        "terseLabel": "Currency Risk [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a type of market risk representing the risk that the fair value or future cash flows of a financial instrument will fluctuate because of changes in foreign exchange rates. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r236",
      "r297"
     ]
    },
    "ifrs-full_CurrentAccruedExpensesAndOtherCurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentAccruedExpensesAndOtherCurrentLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 9.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current accrued expenses and other current liabilities",
        "terseLabel": "Accrued expenses and other current liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current accrued expenses and other current liabilities. [Refer: Accruals; Other current liabilities]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_CurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0,
       "order": 43.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current assets",
        "totalLabel": "Total current assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of assets that the entity (a) expects to realise or intends to sell or consume in its normal operating cycle; (b) holds primarily for the purpose of trading; (c) expects to realise within twelve months after the reporting period; or (d) classifies as cash or cash equivalents (as defined in IAS 7) unless the asset is restricted from being exchanged or used to settle a liability for at least twelve months after the reporting period. [Refer: Assets]"
       }
      }
     },
     "auth_ref": [
      "r32",
      "r184",
      "r362"
     ]
    },
    "ifrs-full_CurrentAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentAssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current assets [abstract]",
        "terseLabel": "CURRENT ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentBondsIssuedAndCurrentPortionOfNoncurrentBondsIssued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentBondsIssuedAndCurrentPortionOfNoncurrentBondsIssued",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail": {
       "parentTag": "ifrs-full_NoncurrentPortionOfNoncurrentBondsIssued",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current bonds issued and current portion of non-current bonds issued",
        "negatedLabel": "Less: Current portion"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current bonds issued and the current portion of non-current bonds issued. [Refer: Bonds issued]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_CurrentContractLiabilitiesRelatedPartyTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CurrentContractLiabilitiesRelatedPartyTransactions",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Contract Liabilities Related Party Transactions",
        "verboseLabel": "Contract liabilities",
        "documentation": "Current contract liabilities related party transactions."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentDividendPayables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentDividendPayables",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current dividend payables",
        "terseLabel": "Cash dividends payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current dividend payables. [Refer: Dividend payables]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_CurrentFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets",
        "terseLabel": "Financial assets current"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "ifrs-full_CurrentFinancialAssetsAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssetsAtAmortisedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 51.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets at amortised cost",
        "verboseLabel": "Financial assets at amortized cost",
        "terseLabel": "Current portion"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets measured at amortised cost. [Refer: Financial assets at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r290"
     ]
    },
    "ifrs-full_CurrentFinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 52.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets at fair value through other comprehensive income",
        "terseLabel": "Financial assets at fair value through other comprehensive income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets at fair value through other comprehensive income. [Refer: Financial assets at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "ifrs-full_CurrentFinancialAssetsAtFairValueThroughProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssetsAtFairValueThroughProfitOrLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 53.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets at fair value through profit or loss",
        "terseLabel": "Financial assets at fair value through profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets measured at fair value through profit or loss. [Refer: Financial assets at fair value through profit or loss]"
       }
      }
     },
     "auth_ref": [
      "r288"
     ]
    },
    "ifrs-full_CurrentFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets at fair value through profit or loss, mandatorily measured at fair value",
        "terseLabel": "Current"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets mandatorily measured at fair value through profit or loss in accordance with IFRS 9. [Refer: Financial assets at fair value through profit or loss, mandatorily measured at fair value]"
       }
      }
     },
     "auth_ref": [
      "r288"
     ]
    },
    "ifrs-full_CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail": {
       "parentTag": "ifrs-full_FinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial assets measured at fair value through other comprehensive income",
        "terseLabel": "Current"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets measured at fair value through other comprehensive income. [Refer: Financial assets measured at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "ifrs-full_CurrentFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial liabilities",
        "terseLabel": "Financial liabilities current"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial liabilities. [Refer: Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "ifrs-full_CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentFinancialLiabilitiesAtFairValueThroughProfitOrLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialLiabilities",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current financial liabilities at fair value through profit or loss",
        "terseLabel": "Financial liabilities at fair value through profit or loss",
        "verboseLabel": "FVTPL (Note 4)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial liabilities measured at fair value through profit or loss. [Refer: Financial liabilities at fair value through profit or loss]"
       }
      }
     },
     "auth_ref": [
      "r289"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date",
        "documentation": "End date of current fiscal year in the format --MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentLeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentLeaseLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail": {
       "parentTag": "ifrs-full_LeaseLiabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current lease liabilities",
        "verboseLabel": "Current portion (classified under accrued expenses and other current liabilities)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current lease liabilities. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r215"
     ]
    },
    "ifrs-full_CurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Liabilities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current liabilities",
        "totalLabel": "Total current liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities that: (a) the entity expects to settle in its normal operating cycle; (b) the entity holds primarily for the purpose of trading; (c) are due to be settled within twelve months after the reporting period; or (d) the entity does not have the right at the end of the reporting period to defer settlement for at least twelve months after the reporting period."
       }
      }
     },
     "auth_ref": [
      "r33",
      "r186",
      "r362"
     ]
    },
    "ifrs-full_CurrentLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current liabilities [abstract]",
        "terseLabel": "CURRENT LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentPayablesForPurchaseOfNoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentPayablesForPurchaseOfNoncurrentAssets",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current payables for purchase of non-current assets",
        "terseLabel": "Payables to contractors and equipment suppliers"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current payables for the purchase of non-current assets. [Refer: Payables for purchase of non-current assets]"
       }
      }
     },
     "auth_ref": [
      "r414"
     ]
    },
    "ifrs-full_CurrentPortionOfLongtermBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentPortionOfLongtermBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current portion of non-current borrowings",
        "terseLabel": "Long-term liabilities - current portion"
       }
      },
      "en": {
       "role": {
        "documentation": "The current portion of non-current borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_CurrentReceivablesFromRelatedPartiesRelatedToCoreBusiness": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CurrentReceivablesFromRelatedPartiesRelatedToCoreBusiness",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 48.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Receivables From Related Parties Related To Core Business",
        "terseLabel": "Receivables from related parties",
        "documentation": "Current receivables from related parties related to core business."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CurrentServiceCostForDefinedBenefitsPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CurrentServiceCostForDefinedBenefitsPlan",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Service Cost For Defined Benefits Plan",
        "terseLabel": "Current service cost",
        "documentation": "Current service cost for defined benefits plan."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentServiceCostNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentServiceCostNetDefinedBenefitLiabilityAsset",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current service cost, net defined benefit liability (asset)",
        "terseLabel": "Current service cost"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the net defined benefit liability (asset) resulting from employee service in the current period. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r88"
     ]
    },
    "ifrs-full_CurrentTaxExpenseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentTaxExpenseIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current tax expense (income)",
        "terseLabel": "Current tax expense recognized in the current year"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period."
       }
      }
     },
     "auth_ref": [
      "r335"
     ]
    },
    "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current tax expense (income) and adjustments for current tax of prior periods",
        "totalLabel": "Current income tax expense"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current tax expense (income) and adjustments for the current tax of prior periods. [Refer: Current tax expense (income); Adjustments for current tax of prior periods]"
       }
      }
     },
     "auth_ref": [
      "r417"
     ]
    },
    "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriodsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriodsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current tax expense (income) and adjustments for current tax of prior periods [abstract]",
        "terseLabel": "Current income tax expense"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_CurrentTaxLiabilitiesCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentTaxLiabilitiesCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current tax liabilities, current",
        "terseLabel": "Income tax payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The current amount of current tax liabilities. [Refer: Current tax liabilities]"
       }
      }
     },
     "auth_ref": [
      "r24"
     ]
    },
    "ifrs-full_CurrentTradeReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "CurrentTradeReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 49.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current trade receivables",
        "verboseLabel": "Notes and accounts receivable, net",
        "terseLabel": "Notes and accounts receivable"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current trade receivables. [Refer: Trade receivables]"
       }
      }
     },
     "auth_ref": [
      "r327",
      "r329"
     ]
    },
    "tsm_CustomerAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CustomerAMember",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer A [member]",
        "terseLabel": "Customer A [member]",
        "documentation": "Customer A."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_CustomerBMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "CustomerBMember",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer B [member]",
        "terseLabel": "Customer B [member]",
        "documentation": "Customer B."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DateOfGrantOfSharebasedPaymentArrangement": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DateOfGrantOfSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Date of grant of share-based payment arrangement",
        "verboseLabel": "Grant date/Issuance date",
        "terseLabel": "Grant date"
       }
      },
      "en": {
       "role": {
        "documentation": "The date on which share-based payment arrangements are granted. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r373",
      "r374"
     ]
    },
    "ifrs-full_DebtInstrumentsAmountContributedToFairValueOfPlanAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DebtInstrumentsAmountContributedToFairValueOfPlanAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail": {
       "parentTag": "ifrs-full_PlanAssetsAtFairValue",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt instruments, amount contributed to fair value of plan assets",
        "terseLabel": "Debt instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount instruments representing debt (rather than equity) contribute to the fair value of defined benefit plan assets. [Refer: Plan assets, at fair value; Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r344"
     ]
    },
    "ifrs-full_DebtInstrumentsHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DebtInstrumentsHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt instruments held",
        "terseLabel": "Debt instruments held"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of instruments representing indebtedness held by the entity."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_DebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DebtSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt securities [member]",
        "terseLabel": "Debt securities [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for instruments held by the entity that represent indebtedness."
       }
      }
     },
     "auth_ref": [
      "r363",
      "r365"
     ]
    },
    "tsm_DecreaseIncreaseThroughTaxOnShareBasedPaymentTransactionsShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DecreaseIncreaseThroughTaxOnShareBasedPaymentTransactionsShares",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease Increase Through Tax On Share based Payment Transactions Shares",
        "terseLabel": "Employee restricted shares retired, shares",
        "documentation": "Decrease increase through tax on share based payment transactions shares."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DecreaseIncreaseThroughTaxOnSharebasedPaymentTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DecreaseIncreaseThroughTaxOnSharebasedPaymentTransactions",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Decrease (increase) through tax on share-based payment transactions, equity",
        "terseLabel": "Employee restricted shares retired"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in equity resulting from tax on transactions in which the entity: (a) receives goods or services from the supplier of those goods or services (including an employee) in a share-based payment arrangement; or (b) incurs an obligation to settle the transaction with the supplier in a share-based payment arrangement when another group entity receives those goods or services. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "ifrs-full_DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeductibleTemporaryDifferencesForWhichNoDeferredTaxAssetIsRecognised",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deductible temporary differences for which no deferred tax asset is recognised",
        "terseLabel": "Aggregate deductible temporary differences for which no deferred income tax assets recognized"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of deductible temporary differences for which no deferred tax asset is recognised in the statement of financial position. [Refer: Temporary differences [member]]"
       }
      }
     },
     "auth_ref": [
      "r69"
     ]
    },
    "ifrs-full_DefaultFinancialStatementsDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DefaultFinancialStatementsDateMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Default financial statements date [member]",
        "terseLabel": "Default financial statements date [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Creation date' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r167",
      "r168",
      "r170"
     ]
    },
    "tsm_DeferredCompensationCostMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DeferredCompensationCostMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Compensation Cost [Member]",
        "terseLabel": "Deferred compensation cost [member]",
        "documentation": "Deferred compensation cost."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DeferredIncomeTaxAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DeferredIncomeTaxAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Assets [Member]",
        "documentation": "Deferred income tax assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DeferredIncomeTaxAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DeferredIncomeTaxAxis",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax [Axis]",
        "documentation": "Deferred income tax."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DeferredIncomeTaxDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DeferredIncomeTaxDomain",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax [Domain]",
        "documentation": "Deferred income tax."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DeferredIncomeTaxLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DeferredIncomeTaxLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Liabilities [Member]",
        "documentation": "Deferred income tax liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DeferredTaxAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 37.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax assets",
        "terseLabel": "Deferred income tax assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amounts of income taxes recoverable in future periods in respect of: (a) deductible temporary differences; (b) the carryforward of unused tax losses; and (c) the carryforward of unused tax credits. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]]"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r29",
      "r71"
     ]
    },
    "ifrs-full_DeferredTaxAssetsAndLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxAssetsAndLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax assets and liabilities [abstract]",
        "terseLabel": "Deferred income tax assets (liabilities)"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DeferredTaxExpenseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxExpenseIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income)",
        "totalLabel": "Deferred income tax benefit"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of tax expense (income) relating to changes in deferred tax liabilities and deferred tax assets. [Refer: Deferred tax assets; Deferred tax liabilities]"
       }
      }
     },
     "auth_ref": [
      "r72"
     ]
    },
    "ifrs-full_DeferredTaxExpenseIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxExpenseIncomeAbstract",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income) [abstract]",
        "verboseLabel": "Deferred income tax expense (benefit)"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DeferredTaxExpenseIncomeRecognisedInProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxExpenseIncomeRecognisedInProfitOrLoss",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income) recognised in profit or loss",
        "terseLabel": "Recognized in Profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of tax expense or income relating to changes in deferred tax liabilities and deferred tax assets, recognised in profit or loss. [Refer: Deferred tax assets; Deferred tax expense (income); Deferred tax liabilities]"
       }
      }
     },
     "auth_ref": [
      "r72"
     ]
    },
    "ifrs-full_DeferredTaxExpenseIncomeRelatingToOriginationAndReversalOfTemporaryDifferences": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxExpenseIncomeRelatingToOriginationAndReversalOfTemporaryDifferences",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_DeferredTaxExpenseIncome",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income) relating to origination and reversal of temporary differences",
        "terseLabel": "The origination and reversal of temporary differences"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of deferred tax expense or income relating to the creation or reversal of temporary differences. [Refer: Temporary differences [member]; Deferred tax expense (income)]"
       }
      }
     },
     "auth_ref": [
      "r337"
     ]
    },
    "ifrs-full_DeferredTaxLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax liabilities",
        "terseLabel": "Deferred income tax liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amounts of income taxes payable in future periods in respect of taxable temporary differences. [Refer: Temporary differences [member]]"
       }
      }
     },
     "auth_ref": [
      "r25",
      "r29",
      "r71"
     ]
    },
    "ifrs-full_DeferredTaxLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DeferredTaxLiabilityAsset",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred tax liability (asset)",
        "terseLabel": "Deferred Tax Asset and Liabilty",
        "periodStartLabel": "Balance, Beginning of Year",
        "periodEndLabel": "Balance, End of Year"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      }
     },
     "auth_ref": [
      "r71"
     ]
    },
    "ifrs-full_DefinedBenefitObligationAtPresentValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DefinedBenefitObligationAtPresentValue",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail": {
       "parentTag": "ifrs-full_NoncurrentRecognisedLiabilitiesDefinedBenefitPlan",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined benefit obligation, at present value",
        "terseLabel": "Present value of defined benefit obligation"
       }
      },
      "en": {
       "role": {
        "documentation": "The present value, without deducting any plan assets, of expected future payments required to settle the obligation resulting from employee service in the current and prior periods. [Refer: Plan assets, at fair value]"
       }
      }
     },
     "auth_ref": [
      "r427"
     ]
    },
    "tsm_DefinedBenefitPlanExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DefinedBenefitPlanExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined benefit plan expense",
        "totalLabel": "Total",
        "documentation": "Defined benefit plan expense"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DefinedBenefitPlansEmployerContributionPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DefinedBenefitPlansEmployerContributionPercentage",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined benefit plans employer contribution percentage",
        "terseLabel": "Employer contribution percentage, defined benefit plans",
        "documentation": "Defined benefit plans employer contribution percentage."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DefinedContributionPlansEmployerContributionPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DefinedContributionPlansEmployerContributionPercentage",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Defined contribution plans employer contribution percentage",
        "terseLabel": "Employer contribution percentage, defined contribution plans",
        "documentation": "Defined contribution plans employer contribution percentage."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DepreciationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DepreciationExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation expense",
        "terseLabel": "Depreciation expense",
        "verboseLabel": "Depreciation of property, plant and equipment and right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of depreciation expense. Depreciation is the systematic allocation of depreciable amounts of tangible assets over their useful lives."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_DepreciationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DepreciationMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation [Member]",
        "terseLabel": "Depreciation [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DepreciationOfPropertyPlantAndEquipmentAndRightOfUseAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DepreciationOfPropertyPlantAndEquipmentAndRightOfUseAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation Of Property Plant And Equipment And Right Of Use Assets [Member]",
        "terseLabel": "Depreciation of property, plant and equipment and right-of-use assets [member]",
        "documentation": "Depreciation of property, plant and equipment and right-of-use assets."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DepreciationRightofuseAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DepreciationRightofuseAssets",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Depreciation, right-of-use assets",
        "verboseLabel": "Depreciation of right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of depreciation of right-of-use assets. [Refer: Depreciation and amortisation expense; Right-of-use assets]"
       }
      }
     },
     "auth_ref": [
      "r216"
     ]
    },
    "tsm_DerecognitionOfHedgingFinancialInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerecognitionOfHedgingFinancialInstruments",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 46.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derecognition Of Hedging Financial Instruments",
        "terseLabel": "Derecognition of hedging financial instruments",
        "documentation": "The cash inflow (outflow) from derecognition of hedging financial instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DerivativeFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DerivativeFinancialAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative financial assets",
        "terseLabel": "Hedging derivative financial assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets classified as derivative instruments. [Refer: Financial assets; Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_DerivativeFinancialInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeFinancialInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative financial instruments [member]",
        "terseLabel": "Derivative financial instruments [member]",
        "documentation": "Derivative financial instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DerivativeFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DerivativeFinancialLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative financial liabilities",
        "terseLabel": "Hedging derivative financial liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial liabilities classified as derivative instruments. [Refer: Financial assets; Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_DerivativeInstrumentFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeInstrumentFourMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument Four [member]",
        "terseLabel": "Sell RMB [Member]",
        "documentation": "Derivative instrument four."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativeInstrumentOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeInstrumentOneMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument One [member]",
        "verboseLabel": "Sell NT$ [Member]",
        "documentation": "Derivative instrument one."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativeInstrumentThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeInstrumentThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument Three [member]",
        "verboseLabel": "Sell US$ [Member]",
        "documentation": "Derivative instrument three."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativeInstrumentTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeInstrumentTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument Two [member]",
        "verboseLabel": "Sell JPY [Member]",
        "documentation": "Derivative Instrument Two [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativeInstrumentsFairValueNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeInstrumentsFairValueNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonderivativeAndDerivativeFinancialInstrumentsNet",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative instruments fair value net",
        "totalLabel": "Derivative financial instruments",
        "documentation": "Derivative instruments fair value net."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativeMaturityDateMonthAndYear": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativeMaturityDateMonthAndYear",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative maturity date month and year",
        "terseLabel": "Maturity Date",
        "documentation": "Derivative maturity date month and year."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativesFinancialInstrumentsInflows": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativesFinancialInstrumentsInflows",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_DerivativeInstrumentsFairValueNet",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivatives financial instruments inflows",
        "negatedLabel": "Inflows",
        "documentation": "Derivatives related to inflows, on forward exchange contracts."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DerivativesFinancialInstrumentsOutflows": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DerivativesFinancialInstrumentsOutflows",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_DerivativeInstrumentsFairValueNet",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivatives financial instruments outflows.",
        "terseLabel": "Outflows",
        "documentation": "Derivatives related to outflows, on forward exchange contracts."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DescriptionOfAccountingPolicyForCurrentVersusNonCurrentClassificationExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DescriptionOfAccountingPolicyForCurrentVersusNonCurrentClassificationExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for current versus non current classification explanatory [text block]",
        "terseLabel": "Classification of Current and Noncurrent Assets and Liabilities",
        "documentation": "The description of the entity's accounting policy for current versus non current classification."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DescriptionOfAccountingPolicyForDerivativeFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForDerivativeFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for derivative financial instruments [text block]",
        "terseLabel": "Derivative Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for derivative financial instruments. [Refer: Financial instruments, class [member]; Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForEmployeeBenefitsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForEmployeeBenefitsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for employee benefits [text block]",
        "terseLabel": "Employee Benefits"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for employee benefits. Employee benefits are all forms of consideration given by an entity in exchange for services rendered by employees or for the termination of employment."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialAssetsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForFinancialAssetsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for financial assets [text block]",
        "terseLabel": "Financial Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for financial assets. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for financial instruments [text block]",
        "terseLabel": "Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for financial instruments. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "tsm_DescriptionOfAccountingPolicyForFinancialLiabilitiesAndEquityInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DescriptionOfAccountingPolicyForFinancialLiabilitiesAndEquityInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for financial liabilities and equity instruments explanatory",
        "terseLabel": "Financial Liabilities and Equity Instruments",
        "documentation": "Description of accounting policy for financial liabilities and equity instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for foreign currency translation [text block]",
        "terseLabel": "Foreign Currencies"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for foreign currency translation."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForGovernmentGrants": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForGovernmentGrants",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for government grants [text block]",
        "terseLabel": "Government Grants"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for government grants, including the methods of presentation adopted in the financial statements. [Refer: Government [member]; Government grants]"
       }
      }
     },
     "auth_ref": [
      "r105"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForHedgingExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForHedgingExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for hedging [text block]",
        "terseLabel": "Hedge Accounting"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for hedging."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for impairment of assets [text block]",
        "terseLabel": "Impairment of Tangible Assets, Right-of-use Assets and Intangible Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for the impairment of assets."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForIncomeTaxExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForIncomeTaxExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for income tax [text block]",
        "terseLabel": "Taxation"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for income tax."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForIntangibleAssetsAndGoodwillExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForIntangibleAssetsAndGoodwillExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for intangible assets and goodwill [text block]",
        "terseLabel": "Intangible Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for investment in associates and joint ventures [text block]",
        "terseLabel": "Investments Accounted for Using Equity Method"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for investment in associates and joint ventures. [Refer: Associates [member]; Joint ventures [member]]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForLeasesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForLeasesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for leases [text block]",
        "terseLabel": "Leases"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for leases. A lease is an agreement whereby the lessor conveys to the lessee in return for a payment or series of payments the right to use an asset for an agreed period of time."
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForMeasuringInventories": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForMeasuringInventories",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for measuring inventories [text block]",
        "terseLabel": "Inventories"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for measuring inventories. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r102"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for property, plant and equipment [text block]",
        "terseLabel": "Property, Plant and Equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForRecognitionOfRevenue": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForRecognitionOfRevenue",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for recognition of revenue [text block]",
        "terseLabel": "Revenue Recognition"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for recognising revenue. [Refer: Revenue]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForSharebasedPaymentTransactionsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForSharebasedPaymentTransactionsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for share-based payment transactions [text block]",
        "terseLabel": "Share-based payment arrangements"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for transactions in which the entity: (a) receives goods or services from the supplier of those goods or services (including an employee) in a share-based payment arrangement; or (b) incurs an obligation to settle the transaction with the supplier in a share-based payment arrangement when another group entity receives those goods or services. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyForTreasurySharesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyForTreasurySharesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for treasury shares [text block]",
        "terseLabel": "Treasury Stock"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for treasury shares. [Refer: Treasury shares]"
       }
      }
     },
     "auth_ref": [
      "r411"
     ]
    },
    "ifrs-full_DescriptionOfAccountingPolicyToDetermineComponentsOfCashAndCashEquivalents": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfAccountingPolicyToDetermineComponentsOfCashAndCashEquivalents",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of accounting policy for determining components of cash and cash equivalents [text block]",
        "terseLabel": "Cash Equivalents"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy used to determine the components of cash and cash equivalents. [Refer: Cash and cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r164"
     ]
    },
    "ifrs-full_DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfDiscountRatesUsedInCurrentEstimateOfValueInUse",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discount rate used in current estimate of value in use",
        "terseLabel": "Annual discount rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The discount rate used in the current estimate of the present value of the future cash flows expected to be derived from an asset or cash-generating unit."
       }
      }
     },
     "auth_ref": [
      "r134"
     ]
    },
    "tsm_DescriptionOfEligibleEmployees": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DescriptionOfEligibleEmployees",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description Of Eligible Employees",
        "verboseLabel": "Eligible employees",
        "documentation": "Description of eligible employees."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfExpectedImpactOfInitialApplicationOfNewStandardsOrInterpretations",
     "presentation": [
      "http://www.tsmc.com/role/ApplicationOfNewAndRevisedIfrsIasIfricAndSicIssuedByTheIasbCollectivelyIfrsAccountingStandards"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of expected impact of initial application of new standards or interpretations [text block]",
        "terseLabel": "Application of New and Revised IFRS, IAS, IFRIC, and SIC Issued by the IASB (collectively, \"IFRS Accounting Standards\")"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the known or reasonably estimable information relevant to assessing the possible impact that the application of a new IFRS, that has been issued but is not yet effective, will have."
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "ifrs-full_DescriptionOfExpectedVolatilityShareOptionsGranted": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfExpectedVolatilityShareOptionsGranted",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected volatility, share options granted",
        "terseLabel": "Expected price volatility"
       }
      },
      "en": {
       "role": {
        "documentation": "The expected volatility of the share price used to calculate the fair value of the share options granted. Expected volatility is a measure of the amount by which a price is expected to fluctuate during a period. The measure of volatility used in option pricing models is the annualised standard deviation of the continuously compounded rates of return on the share over a period of time."
       }
      }
     },
     "auth_ref": [
      "r245"
     ]
    },
    "tsm_DescriptionOfForwardExchangeContractsMaturity": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DescriptionOfForwardExchangeContractsMaturity",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of forward exchange contracts maturity",
        "terseLabel": "Description of forward exchange contracts maturity",
        "documentation": "Description of forward exchange contracts maturity"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfNatureOfEntitysOperationsAndPrincipalActivities",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of nature of entity's operations and principal activities",
        "terseLabel": "Main Businesses and Products",
        "verboseLabel": "Principal Activities"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the nature of the entity's operations and principal activities."
       }
      }
     },
     "auth_ref": [
      "r14"
     ]
    },
    "ifrs-full_DescriptionOfOptionLifeShareOptionsGranted": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfOptionLifeShareOptionsGranted",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Option life, share options granted",
        "terseLabel": "Expected life",
        "verboseLabel": "Residual life"
       }
      },
      "en": {
       "role": {
        "documentation": "The option life of share options granted."
       }
      }
     },
     "auth_ref": [
      "r245"
     ]
    },
    "ifrs-full_DescriptionOfRiskFreeInterestRateShareOptionsGranted": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfRiskFreeInterestRateShareOptionsGranted",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk free interest rate, share options granted",
        "terseLabel": "Risk-free interest rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The implied yield currently available on zero-coupon government issues of the country in whose currency the exercise price for share options granted is expressed, with a remaining term equal to the expected term of the option being valued (based on the option's remaining contractual life and taking into account the effects of expected early exercise). [Refer: Government [member]]"
       }
      }
     },
     "auth_ref": [
      "r245"
     ]
    },
    "ifrs-full_DescriptionOfVestingRequirementsForSharebasedPaymentArrangement": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Description of vesting requirements for share-based payment arrangement",
        "terseLabel": "Ratio of shares to be vested description"
       }
      },
      "en": {
       "role": {
        "documentation": "The description of the vesting requirements for a type of share-based payment arrangement that existed at any time during the period. An entity with substantially similar types of share-based payment arrangements may aggregate this information. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r241"
     ]
    },
    "tsm_DigitalConsumerElectronicsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DigitalConsumerElectronicsMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Digital Consumer Electronics [Member]",
        "terseLabel": "Digital consumer electronics [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DilutedEarningsLossPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DilutedEarningsLossPerShare",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted earnings (loss) per share",
        "terseLabel": "Diluted earnings per share",
        "verboseLabel": "Diluted EPS"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator), divided by the weighted average number of ordinary shares outstanding during the period (the denominator), both adjusted for the effects of all dilutive potential ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]]"
       }
      }
     },
     "auth_ref": [
      "r127",
      "r128"
     ]
    },
    "tsm_Director1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "Director1Member",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Director 1 [member]",
        "terseLabel": "Compensation to Directors [member]",
        "documentation": "Director [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfAccountingJudgementsAndEstimatesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfAccountingJudgementsAndEstimatesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/MeterialAccountingJudgmentsAndKeySourcesOfEstimationAndUncertainty"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of accounting judgements and estimates [text block]",
        "terseLabel": "Material Accounting Judgments and Key Sources of Estimation and Uncertainty"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of judgements that management has made in the process of applying the entity's accounting policies that have the most significant effect on amounts recognised in the financial statements along with information about the assumptions that the entity makes about the future, and other major sources of estimation uncertainty at the end of the reporting period, that have a significant risk of resulting in a material adjustment to the carrying amounts of assets and liabilities within the next year. [Refer: Carrying amount [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfAdditionalInformationAboutDefinedBenefitPlansExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of additional information about defined benefit plans [text block]",
        "terseLabel": "Pension Costs of Defined Benefit Plans Recognized in Profit or Loss by Categories"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of additional information about defined benefit plans necessary to meet the objectives of IAS 19. [Refer: Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r83"
     ]
    },
    "tsm_DisclosureOfAdditionalInformationAboutInMaturityLeaseLiabilitiesExplanatoryTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfAdditionalInformationAboutInMaturityLeaseLiabilitiesExplanatoryTableTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Additional Information About In Maturity Lease Liabilities Explanatory [Table Text Block]",
        "terseLabel": "Summary of Additional Information About In Maturity Lease Liabilities",
        "documentation": "Disclosure of additional information about in maturity lease liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfAdditionalInformationExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfAdditionalInformationExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of additional information [text block]",
        "terseLabel": "Summary of Additional Information of Expenses by Nature"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of additional information that is not presented elsewhere in the financial statements, but that is relevant to an understanding of them."
       }
      }
     },
     "auth_ref": [
      "r10"
     ]
    },
    "ifrs-full_DisclosureOfAllowanceForCreditLossesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfAllowanceForCreditLossesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of allowance for credit losses [text block]",
        "terseLabel": "Movements of Allowance for Doubtful Receivables"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the allowance relating to impairments of financial assets due to credit losses. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfAuthorisationOfFinancialStatementsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfAuthorisationOfFinancialStatementsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/TheAuthorizationOfFinancialStatements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of authorisation of financial statements [text block]",
        "terseLabel": "The Authorization of Financial Statements"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the authorisation of financial statements for issue."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfBasisOfConsolidationExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfBasisOfConsolidationExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of basis of consolidation [text block]",
        "terseLabel": "Basis of Consolidation"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the basis used for consolidation."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "tsm_DisclosureOfBasisOfPreparationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfBasisOfPreparationOfFinancialStatementsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of basis of preparation of financial statements [abstract]",
        "documentation": "Disclosure of basis of preparation of financial statements."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfBasisOfPreparationOfFinancialStatementsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfBasisOfPreparationOfFinancialStatementsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of basis of preparation of financial statements [text block]",
        "terseLabel": "Basis of Preparation"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the basis used for the preparation of the financial statements."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfBorrowingsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfBorrowingsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/LoansAndBondsPayable"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of borrowings [text block]",
        "terseLabel": "Loans and Bonds Payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCashAndCashEquivalentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of cash and cash equivalents [text block]",
        "terseLabel": "Cash and Cash Equivalents"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of cash and cash equivalents. [Refer: Cash and cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfCashFlowStatementExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCashFlowStatementExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of cash flow statement [text block]",
        "terseLabel": "Cash Flow Information"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for a statement of cash flows."
       }
      }
     },
     "auth_ref": [
      "r166"
     ]
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfClassesOfShareCapitalAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfClassesOfShareCapitalExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/EquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [text block]",
        "terseLabel": "Summary of Capital Stock and Capital Surplus"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of classes of share capital. [Refer: Share capital [member]]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfClassesOfShareCapitalLineItems",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [line items]",
        "terseLabel": "Disclosure of classes of share capital [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfClassesOfShareCapitalTable",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [table]",
        "terseLabel": "Disclosure of classes of share capital [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to classes of share capital."
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "ifrs-full_DisclosureOfCollateralExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCollateralExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/PledgedAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of collateral [text block]",
        "terseLabel": "Pledged Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of assets and liabilities used as collateral."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCommitmentsAndContingentLiabilitiesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of commitments and contingent liabilities [text block]",
        "terseLabel": "Significant Contingent Liabilities and Unrecognized Commitments"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of commitments and contingent liabilities. [Refer: Contingent liabilities [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfContingentLiabilitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfContingentLiabilitiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [line items]",
        "terseLabel": "Disclosure of contingent liabilities [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfContingentLiabilitiesTable",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [table]",
        "terseLabel": "Disclosure of contingent liabilities [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to contingent liabilities."
       }
      }
     },
     "auth_ref": [
      "r135"
     ]
    },
    "tsm_DisclosureOfContractBalancesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfContractBalancesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Contract Balances [Line Items]",
        "terseLabel": "Disclosure of Contract Balances [line items]",
        "documentation": "Disclosure of contract balances."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfContractLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfContractLiabilitiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contract liabilities [line items]",
        "terseLabel": "Disclosure of contract liabilities [line items]",
        "documentation": "Disclosure of contract liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfContractLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfContractLiabilitiesTable",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfContractBalancesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contract liabilities [table]",
        "terseLabel": "Disclosure of contract liabilities [table]",
        "documentation": "Disclosure of contract liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfCreditRiskExposureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCreditRiskExposureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of credit risk exposure [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfCreditRiskExposureExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCreditRiskExposureExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of credit risk exposure [text block]",
        "terseLabel": "Summary of Current Credit Risk Assessment Policies"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the credit risk exposure. Credit risk exposure is the credit risk inherent in an entity\u2019s financial assets and commitments to extend credit."
       }
      }
     },
     "auth_ref": [
      "r282"
     ]
    },
    "ifrs-full_DisclosureOfCreditRiskExposureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCreditRiskExposureLineItems",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of credit risk exposure [line items]",
        "terseLabel": "Disclosure of credit risk exposure [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfCreditRiskExposureTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfCreditRiskExposureTable",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of credit risk exposure [table]",
        "terseLabel": "Disclosure of credit risk exposure [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the credit risk exposure."
       }
      }
     },
     "auth_ref": [
      "r282"
     ]
    },
    "ifrs-full_DisclosureOfDeferredTaxesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDeferredTaxesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of deferred taxes [text block]",
        "terseLabel": "Analysis of Deferred Income Tax Assets and Liabilities in Consolidated Statements of Financial Position"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of deferred taxes. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDefinedBenefitPlansAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDefinedBenefitPlansExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [text block]",
        "terseLabel": "Amounts Recognized in Consolidated Statements of Profit or Loss and Other Comprehensive Income of Defined Benefit Plans"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of defined benefit plans. [Refer: Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDefinedBenefitPlansLineItems",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [line items]",
        "terseLabel": "Disclosure of defined benefit plans [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDefinedBenefitPlansTable",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [table]",
        "terseLabel": "Disclosure of defined benefit plans [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to defined benefit plans."
       }
      }
     },
     "auth_ref": [
      "r84"
     ]
    },
    "ifrs-full_DisclosureOfDerivativeFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDerivativeFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of derivative financial instruments [text block]",
        "terseLabel": "Outstanding Derivative Contracts for which Hedge Accounting Treatment is not Applied"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of derivative financial instruments. [Refer: Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "tsm_DisclosureOfDetailedInformationAboutAccruedProfitSharingBonusTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutAccruedProfitSharingBonusTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Accrued Profit Sharing Bonus [Text Block]",
        "terseLabel": "Summary of Accrued Profit Sharing Bonus to Employees",
        "documentation": "Disclosure Of Detailed Information About Accrued Profit Sharing Bonus [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/LoansAndBondsPayableTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [text block]",
        "terseLabel": "Summary of Loans and Bonds Payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsTable",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [table]",
        "terseLabel": "Disclosure of detailed information about borrowings [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of borrowings."
       }
      }
     },
     "auth_ref": [
      "r444"
     ]
    },
    "tsm_DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Cash Settled Share Based Payment Explanatory",
        "terseLabel": "Summary of Cash Settled Share Based Payment Arrangements",
        "documentation": "Disclosure of detailed information about cash settled share based payment explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentUnderBinominalApproachExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutCashSettledShareBasedPaymentUnderBinominalApproachExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Cash Settled Share Based Payment Under Binominal Approach Explanatory",
        "terseLabel": "Summary of Fair Value of Compensation Costs",
        "documentation": "Disclosure of detailed information about cash settled share based payment under binominal approach explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutDomesticUnsecuredBondsAndOverseasUnsecuredBondsPostFinancialStatementsDateExplanatoryTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutDomesticUnsecuredBondsAndOverseasUnsecuredBondsPostFinancialStatementsDateExplanatoryTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/LoansAndBondsPayableTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Summary of Domestic Unsecured Bonds And Overseas Unsecured Bonds",
        "terseLabel": "Summary of Domestic Unsecured Bonds And Overseas Unsecured Bonds",
        "documentation": "Disclosure of detailed information about domestic unsecured bonds and overseas unsecured bonds post financial statements date explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutFinanceCostExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutFinanceCostExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about finance cost [text block]",
        "terseLabel": "Summary of Finance Costs",
        "documentation": "The disclosure of detailed information about finance cost."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutFinancialAssetsAtAmortisedCostExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial assets at amortised cost [text block]",
        "terseLabel": "Schedule of Financial Assets at Amortized Cost",
        "documentation": "Disclosure of detailed information about financial assets at amortised cost."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughOtherComprehensiveIncomeExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Detailed Information About Financial Instruments At Fair Value Through Other Comprehensive Income [text block]",
        "terseLabel": "Summary of Financial Assets at Fair Value through Other Comprehensive Income",
        "documentation": "Disclosure of detailed information about financial instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Financial Instruments At Fair Value Through Profit Or Loss [text block]",
        "terseLabel": "Summary of Financial Assets and Liabilities at Fair Value through Profit or Loss",
        "documentation": "Disclosure of detailed information about financial instruments at fair value through profit or loss explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [text block]",
        "terseLabel": "Categories of Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about financial instruments. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r269",
      "r278",
      "r287"
     ]
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutHedgedItemsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutHedgedItemsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedged items [text block]",
        "terseLabel": "Summary of Information Related to Hedged Items"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about hedged items. [Refer: Hedged items [member]]"
       }
      }
     },
     "auth_ref": [
      "r265"
     ]
    },
    "tsm_DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutHedgingFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Hedging Financial Instruments Explanatory",
        "verboseLabel": "Summary of hedging financial instruments",
        "documentation": "The disclosure of detailed information about hedging financial instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedging instruments [text block]",
        "terseLabel": "Summary of Hedging Derivative Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about hedging instruments. [Refer: Hedging instruments [member]]"
       }
      }
     },
     "auth_ref": [
      "r263"
     ]
    },
    "tsm_DisclosureOfDetailedInformationAboutInterestIncomeExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutInterestIncomeExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InterestIncomeTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Interest Income Explanatory",
        "terseLabel": "Summary of interest income",
        "documentation": "Disclosure of detailed information about interest income explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutInventoriesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutInventoriesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InventoriesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about inventories [text block]",
        "terseLabel": "Summary of Inventories",
        "documentation": "The disclosure of detailed information about inventories."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutNonCashTransactionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutNonCashTransactionLineItems",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Non Cash Transaction [Line Items]",
        "terseLabel": "Disclosure of detailed information about non-cash transaction [line items]",
        "documentation": "Disclosure of detailed information about non-cash transaction [line items]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutNonCashTransactionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutNonCashTransactionTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Detailed Information about Non Cash Transaction [Text Block]",
        "terseLabel": "Schedule of Detailed Information about Non Cash Transaction",
        "documentation": "Disclosure of detailed Information about non cash transaction."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationAboutProfitSharingBonusToEmployeesAndDirectorsCompensationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutProfitSharingBonusToEmployeesAndDirectorsCompensationTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Profit Sharing Bonus To Employees And Directors Compensation [Text Block]",
        "terseLabel": "Summary of Profit Sharing Bonus to Employees and Compensation to Directors",
        "documentation": "Disclosure Of Detailed Information About Profit Sharing Bonus To Employees And Directors Compensation [Text Block]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [text block]",
        "terseLabel": "Summary of Property, Plant and Equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "tsm_DisclosureOfDetailedInformationAboutRestictedStockAwardShareBasedPaymentExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationAboutRestictedStockAwardShareBasedPaymentExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Detailed Information About Resticted Stock Award Share Based Payment Explanatory",
        "terseLabel": "Summary of RSAs",
        "documentation": "Disclosure of detailed information about resticted stock award share based payment explanatory."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationOfCashAndCashEquivalentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information of cash and cash equivalents explanatory [text block]",
        "terseLabel": "Summary of Cash and Cash Equivalents",
        "documentation": "The disclosure of detailed information of cash and cash equivalents."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDetailedInformationOtherGainsAndLossesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information other gains and losses [text block]",
        "terseLabel": "Summary of Other Gains and Losses",
        "documentation": "The disclosure of detailed information about other gains and losses."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of disaggregation of revenue from contracts with customers [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of disaggregation of revenue from contracts with customers [text block]",
        "terseLabel": "Summary of Disaggregation of Revenue from Contracts with Customers"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the disaggregation of revenue from contracts with customers. [Refer: Revenue from contracts with customers]"
       }
      }
     },
     "auth_ref": [
      "r209"
     ]
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersLineItems",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of disaggregation of revenue from contracts with customers [line items]",
        "terseLabel": "Disclosure of disaggregation of revenue from contracts with customers [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersTable",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of disaggregation of revenue from contracts with customers [table]",
        "terseLabel": "Disclosure of disaggregation of revenue from contracts with customers [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the disaggregation of revenue from contracts with customers."
       }
      }
     },
     "auth_ref": [
      "r209"
     ]
    },
    "tsm_DisclosureOfDiscountRateOnLeaseLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDiscountRateOnLeaseLiabilitiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Discount Rate On Lease Liabilities [Line Items]",
        "verboseLabel": "Disclosure Of Discount Rate On Lease Liabilities [Line Items]",
        "documentation": "Disclosure Of Discount Rate On Lease Liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDiscountRateOnLeaseLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDiscountRateOnLeaseLiabilitiesTable",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Discount Rate On Lease Liabilities [Table]",
        "verboseLabel": "Disclosure Of Discount Rate On Lease Liabilities [Table]",
        "documentation": "Disclosure Of Discount Rate On Lease Liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfDiscountRateOnLeaseLiabilitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfDiscountRateOnLeaseLiabilitiesTableTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Discount Rate On Lease Liabilities [Table Text Block]",
        "verboseLabel": "Ranges of discount rates for lease liabilities",
        "documentation": "Disclosure Of Discount Rate On Lease Liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfDividendsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfDividendsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/EquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of dividends [text block]",
        "terseLabel": "Appropriations of Earnings and Dividends Per Share"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of dividends. Dividends are distributions of profits to holders of equity investments in proportion to their holdings of a particular class of capital."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfEarningsPerShareExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfEarningsPerShareExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShare"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of earnings per share [text block]",
        "terseLabel": "Earnings Per Share"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for earnings per share."
       }
      }
     },
     "auth_ref": [
      "r131"
     ]
    },
    "ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/USDollarAmounts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of effect of changes in foreign exchange rates [text block]",
        "terseLabel": "U.S. Dollar Amounts"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for the effect of changes in foreign exchange rates."
       }
      }
     },
     "auth_ref": [
      "r109"
     ]
    },
    "ifrs-full_DisclosureOfEmployeeBenefitsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfEmployeeBenefitsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlans"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of employee benefits [text block]",
        "terseLabel": "Retirement Benefit Plans"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for employee benefits."
       }
      }
     },
     "auth_ref": [
      "r101"
     ]
    },
    "ifrs-full_DisclosureOfEntitysReportableSegmentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfEntitysReportableSegmentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of entity's operating segments [text block]",
        "terseLabel": "Operating Segments Information"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for operating segments."
       }
      }
     },
     "auth_ref": [
      "r314"
     ]
    },
    "ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfEventsAfterReportingPeriodExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SignificantSubsequentEvents"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of events after reporting period [text block]",
        "terseLabel": "Significant Subsequent Events"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for events after the reporting period."
       }
      }
     },
     "auth_ref": [
      "r64"
     ]
    },
    "ifrs-full_DisclosureOfExpensesByNatureExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfExpensesByNatureExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNature"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of expenses by nature [text block]",
        "terseLabel": "Additional Information of Expenses by Nature"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of expenses by nature. [Refer: Expenses, by nature]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfFairValueOfEachInvestmentInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfEachInvestmentInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of investments in equity instruments designated at fair value through other comprehensive income [text block]",
        "terseLabel": "Summary of Level 3 Fair Value Were Financial Assets at FVTPL and Equity Investments classified as Financial Assets at FVTOCI"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the fair value of investments in equity instruments that the entity has designated at fair value through other comprehensive income. [Refer: Investments in equity instruments designated at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r254"
     ]
    },
    "ifrs-full_DisclosureOfFairValueOfFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of financial instruments [text block]",
        "terseLabel": "Fair Value of Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the fair value of financial instruments. [Refer: Financial instruments, class [member]; At fair value [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of investments in equity instruments designated at fair value through other comprehensive income [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeLineItems",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of investments in equity instruments designated at fair value through other comprehensive income [line items]",
        "verboseLabel": "Disclosure of fair value of investments in equity instruments designated at FVTOCI and at FVTPL"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncomeTable",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of investments in equity instruments designated at fair value through other comprehensive income [table]",
        "terseLabel": "Disclosure of fair value of investments in equity instruments designated at fair value through other comprehensive income [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the fair value of investments in equity instruments designated at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": [
      "r254"
     ]
    },
    "ifrs-full_DisclosureOfFairValueOfPlanAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfPlanAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of plan assets [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFairValueOfPlanAssetsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfPlanAssetsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of plan assets [text block]",
        "terseLabel": "Fair Value of Plan Assets by Major Categories"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the fair value of defined benefit plan assets. [Refer: Plan assets [member]; Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r95"
     ]
    },
    "ifrs-full_DisclosureOfFairValueOfPlanAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfPlanAssetsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of plan assets [line items]",
        "terseLabel": "Disclosure of fair value of plan assets [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFairValueOfPlanAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFairValueOfPlanAssetsTable",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of plan assets [table]",
        "terseLabel": "Disclosure of fair value of plan assets [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the fair value of defined benefit plan assets."
       }
      }
     },
     "auth_ref": [
      "r95"
     ]
    },
    "ifrs-full_DisclosureOfFinanceCostExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinanceCostExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinanceCosts"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of finance cost [text block]",
        "terseLabel": "Finance Costs"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of finance cost. [Refer: Finance costs]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialAssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets [abstract]",
        "terseLabel": "Financial assets"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfFinancialAssetsAtAmortisedCostExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfFinancialAssetsAtAmortisedCostExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCost"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets at amortised cost [text block]",
        "terseLabel": "Financial Assets at Amortized Cost",
        "documentation": "Disclosure of financial assets at amortised cost."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFinancialAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialAssetsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets [line items]",
        "terseLabel": "Disclosure of financial assets [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFinancialAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialAssetsTable",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets [table]",
        "terseLabel": "Disclosure of financial assets [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to financial assets."
       }
      }
     },
     "auth_ref": [
      "r287"
     ]
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsAtFairValueThroughProfitOrLossExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLoss"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments at fair value through profit or loss [text block]",
        "terseLabel": "Financial Assets and Liabilities at Fair Value through Profit or Loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of financial instruments measured at fair value through profit or loss. [Refer: At fair value [member]; Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsByTypeOfInterestRateTable",
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments by type of interest rate [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to financial instruments, by type of interest rate."
       }
      }
     },
     "auth_ref": [
      "r443"
     ]
    },
    "tsm_DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfFinancialInstrumentsDesignatedAtFairValueThroughOtherComprehensiveIncomeExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments designated at fair value through other comprehensive income [text block]",
        "terseLabel": "Financial Assets at Fair Value Through Other Comprehensive Income",
        "documentation": "The disclosure of financial instruments designated at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstruments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments [text block]",
        "terseLabel": "Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for financial instruments."
       }
      }
     },
     "auth_ref": [
      "r298"
     ]
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [line items]",
        "terseLabel": "Disclosure of detailed information about financial instruments [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialInstrumentsTable",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [table]",
        "terseLabel": "Disclosure of detailed information about financial instruments [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r269",
      "r278",
      "r287"
     ]
    },
    "ifrs-full_DisclosureOfFinancialLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfFinancialLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of financial liabilities [abstract]",
        "terseLabel": "Financial liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGeneralInformationAboutFinancialStatementsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/General"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of general information about financial statements [text block]",
        "terseLabel": "General"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for general information about financial statements."
       }
      }
     },
     "auth_ref": [
      "r17"
     ]
    },
    "ifrs-full_DisclosureOfGeographicalAreasAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGeographicalAreasAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of geographical areas [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfGeographicalAreasExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGeographicalAreasExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of geographical areas [text block]",
        "terseLabel": "Geographic Information"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of geographical information."
       }
      }
     },
     "auth_ref": [
      "r312"
     ]
    },
    "ifrs-full_DisclosureOfGeographicalAreasLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGeographicalAreasLineItems",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of geographical areas [line items]",
        "terseLabel": "Disclosure of geographical areas [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfGeographicalAreasTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGeographicalAreasTable",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of geographical areas [table]",
        "terseLabel": "Disclosure of geographical areas [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to geographical areas."
       }
      }
     },
     "auth_ref": [
      "r312"
     ]
    },
    "ifrs-full_DisclosureOfGovernmentGrantsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfGovernmentGrantsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/GovernmentGrants"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of government grants [text block]",
        "terseLabel": "Government Grants"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for government grants."
       }
      }
     },
     "auth_ref": [
      "r106"
     ]
    },
    "ifrs-full_DisclosureOfHedgeAccountingExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfHedgeAccountingExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstruments"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of hedge accounting [text block]",
        "terseLabel": "Hedging Financial Instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of hedge accounting."
       }
      }
     },
     "auth_ref": [
      "r320"
     ]
    },
    "tsm_DisclosureOfIncomeTaxExpenseBenefitExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfIncomeTaxExpenseBenefitExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Income Tax Expense Benefit [text block]",
        "terseLabel": "Summary of Income Tax Expense",
        "documentation": "Disclosure of income tax expense (benefit)."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfIncomeTaxExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfIncomeTaxExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTax"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of income tax [text block]",
        "terseLabel": "Income Tax"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for income taxes."
       }
      }
     },
     "auth_ref": [
      "r74"
     ]
    },
    "tsm_DisclosureOfIncomeTaxesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfIncomeTaxesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Income Taxes [line items]",
        "terseLabel": "Disclosure Of Income Taxes [line items]",
        "documentation": "Line items represent concepts included in income taxes."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfIncomeTaxesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfIncomeTaxesTable",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Income Taxes [table]",
        "terseLabel": "Disclosure Of Income Taxes [table]",
        "documentation": "Schedule disclosing information related to income taxes."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfIndirectMeasurementOfFairValueOfGoodsOrServicesReceivedShareOptionsGrantedDuringPeriodExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of indirect measurement of fair value of goods or services received, share options granted during period [text block]",
        "terseLabel": "Summary of RSAs Measured at Fair Value at Grant Date"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of information about indirect, by reference to the fair value of the equity instruments granted, measurement of the fair value of goods or services received as consideration for the entity's share options."
       }
      }
     },
     "auth_ref": [
      "r246"
     ]
    },
    "ifrs-full_DisclosureOfInformationAboutAmountsThatAffectedStatementOfComprehensiveIncomeAsResultOfHedgeAccountingExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfInformationAboutAmountsThatAffectedStatementOfComprehensiveIncomeAsResultOfHedgeAccountingExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of information about amounts that affected statement of comprehensive income as result of hedge accounting [text block]",
        "terseLabel": "Summary of the information relating to the hedges of net investments in foreign operations"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of information about amounts that affected the statement of comprehensive income as a result of hedge accounting."
       }
      }
     },
     "auth_ref": [
      "r267"
     ]
    },
    "ifrs-full_DisclosureOfInformationAboutKeyManagementPersonnelExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfInformationAboutKeyManagementPersonnelExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of information about key management personnel [text block]",
        "terseLabel": "Compensation to Directors and Other Key Management Personnel"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of information about key management personnel. [Refer: Key management personnel of entity or parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "tsm_DisclosureOfInformationAboutOfTradeAccountsAndNotesReceivablesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfInformationAboutOfTradeAccountsAndNotesReceivablesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of information about of trade accounts and notes receivables [line items]",
        "terseLabel": "Disclosure of information about of trade accounts and notes receivables [line items]",
        "documentation": "Line items represents information about of trade accounts and notes receivables."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfIntangibleAssetsAndGoodwillExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssets"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of intangible assets and goodwill [text block]",
        "terseLabel": "Intangible Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "tsm_DisclosureOfInterestIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfInterestIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Interest Income [Abstract]",
        "terseLabel": "Disclosure of Interest Income [Abstract]",
        "documentation": "Disclosure of interest income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfInterestIncomeExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfInterestIncomeExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InterestIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of interest income [text block]",
        "terseLabel": "Interest Income"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of interest income. [Refer: Interest income]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfInventoriesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfInventoriesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/Inventories"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of inventories [text block]",
        "terseLabel": "Inventories"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for inventories."
       }
      }
     },
     "auth_ref": [
      "r104"
     ]
    },
    "tsm_DisclosureOfInventoryWriteDownsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfInventoryWriteDownsTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/InventoriesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Inventory Write Downs [Text Block]",
        "terseLabel": "Inventory write downs",
        "documentation": "Disclosure of inventory write downs."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethod"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of investments accounted for using equity method [text block]",
        "terseLabel": "Investments Accounted for Using Equity Method"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of investments accounted for using the equity method. [Refer: Investments accounted for using equity method]"
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "tsm_DisclosureOfLeaseLiabilititesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfLeaseLiabilititesTableTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Lease Liabilitites [Table Text Block]",
        "verboseLabel": "Lease liabilities",
        "documentation": "Disclosure Of Lease Liabilitites."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfLeasesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfLeasesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of leases [text block]",
        "terseLabel": "Lease Arrangements"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for leases."
       }
      }
     },
     "auth_ref": [
      "r227",
      "r228"
     ]
    },
    "ifrs-full_DisclosureOfMajorCustomersAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfMajorCustomersAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of major customers [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfMajorCustomersLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfMajorCustomersLineItems",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of major customers [line items]",
        "terseLabel": "Disclosure of major customers [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfMajorCustomersTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfMajorCustomersTable",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of major customers [table]",
        "terseLabel": "Disclosure of major customers [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the entity's major customers."
       }
      }
     },
     "auth_ref": [
      "r313"
     ]
    },
    "tsm_DisclosureOfMarketPricesOfInvestmentsAccountedForUsingEquityMethodExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfMarketPricesOfInvestmentsAccountedForUsingEquityMethodExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Market Prices of Investments Accounted For Using Equity Method Explanatory",
        "terseLabel": "Summary of Market Prices of Investments Accounted for Using Equity Method in Publicly Traded Stocks Calculated by Closing Price at End of Reporting Period",
        "documentation": "The disclosure of market prices of investments accounted for using the equity method."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfMaterialAccountingPolicyInformationExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfMaterialAccountingPolicyInformationExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of material accounting policy information [text block]",
        "terseLabel": "Summary of Material Accounting Policy Information"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure of material accounting policy information applied by the entity."
       }
      }
     },
     "auth_ref": [
      "r11"
     ]
    },
    "tsm_DisclosureOfMaturityAnalysisForNonderivativeAndDerivativeFinancialLiabilitiesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfMaturityAnalysisForNonderivativeAndDerivativeFinancialLiabilitiesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Maturity Analysis For Non-derivative And Derivative Financial Liabilities [text block]",
        "terseLabel": "Summary of Maturity Profile of Financial Liabilities Based on Contractual Undiscounted Payments, Including Principal and Interest",
        "documentation": "Disclosure of maturity analysis for non-derivative and derivative financial liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of net defined benefit liability (asset) [text block]",
        "terseLabel": "Funded Status of Defined Benefit Plans, Movements in Present Value of Defined Benefit Obligation and Fair Value of Plan Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of a net defined benefit liability (asset). [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r87"
     ]
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems",
     "presentation": [
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodTable",
     "presentation": [
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to non-adjusting events after the reporting period."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "tsm_DisclosureOfNotesAndAccountsReceivableNetExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfNotesAndAccountsReceivableNetExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of notes and accounts receivable, net [text block]",
        "terseLabel": "Notes and Accounts Receivable, Net",
        "documentation": "Disclosure of notes and accounts receivable, net."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfNumberAndWeightedAverageExercisePricesOfOtherEquityInstrumentsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of number and weighted average exercise prices of other equity instruments [text block]",
        "verboseLabel": "Summary of Granted RSAs in Each Year"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the number and weighted average exercise prices of other equity instruments (ie other than share options)."
       }
      }
     },
     "auth_ref": [
      "r442"
     ]
    },
    "ifrs-full_DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/CapitalManagement"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of objectives, policies and processes for managing capital [text block]",
        "terseLabel": "Capital Management"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of information that enables users of financial statements to evaluate the entity's objectives, policies and processes for managing capital."
       }
      }
     },
     "auth_ref": [
      "r13"
     ]
    },
    "tsm_DisclosureOfOtherGainAndLossExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfOtherGainAndLossExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesNet"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of other gain and loss [text block]",
        "terseLabel": "Other Gains and Losses, Net",
        "documentation": "The disclosure of other gains and losses."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfOtherInformationRelatingToLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfOtherInformationRelatingToLeasesTableTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Other Information Relating To Leases [Table Text Block]",
        "verboseLabel": "Other lease information",
        "documentation": "Disclosure Of Other Information Relating To Leases."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfPledgedAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfPledgedAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Pledged Assets [abstract]",
        "documentation": "Disclosure of pledged assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfPledgedAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfPledgedAssetsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Pledged Assets [line items]",
        "terseLabel": "Disclosure of Pledged Assets [Line Items]",
        "documentation": "Pledged assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfPledgedAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfPledgedAssetsTable",
     "presentation": [
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Pledged Assets [table]",
        "terseLabel": "Disclosure Of Pledged Assets [table]",
        "documentation": "Schedule disclosing information related to pledged assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfPrincipalActuarialAssumptionsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfPrincipalActuarialAssumptionsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Principal Actuarial Assumptions [text block]",
        "terseLabel": "Principal Assumptions for Actuarial Valuation of Present Value of Defined Benefit Obligation",
        "documentation": "Disclosure of principal actuarial assumptions."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfPropertyPlantAndEquipmentAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfPropertyPlantAndEquipmentExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipment"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of property, plant and equipment [text block]",
        "terseLabel": "Property, Plant and Equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for property, plant and equipment."
       }
      }
     },
     "auth_ref": [
      "r82"
     ]
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfPropertyPlantAndEquipmentLineItems",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [line items]",
        "terseLabel": "Disclosure of detailed information about property, plant and equipment [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfPropertyPlantAndEquipmentTable",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [table]",
        "terseLabel": "Disclosure of detailed information about property, plant and equipment [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of property, plant and equipment."
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [abstract]",
        "verboseLabel": "Presentation of leases for lessee [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [text block]",
        "terseLabel": "Right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of quantitative information about right-of-use assets. [Refer: Right-of-use assets]"
       }
      }
     },
     "auth_ref": [
      "r222"
     ]
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [line items]",
        "verboseLabel": "Disclosure of quantitative information about right-of-use assets [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [table]",
        "verboseLabel": "Disclosure of quantitative information about right-of-use assets [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to right-of-use assets."
       }
      }
     },
     "auth_ref": [
      "r222"
     ]
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in intangible assets and goodwill [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in intangible assets and goodwill [text block]",
        "terseLabel": "Summary of Intangible Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the reconciliation of changes in intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillLineItems",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in intangible assets and goodwill [line items]",
        "terseLabel": "Disclosure of reconciliation of changes in intangible assets and goodwill [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfChangesInIntangibleAssetsAndGoodwillTable",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in intangible assets and goodwill [table]",
        "terseLabel": "Disclosure of reconciliation of changes in intangible assets and goodwill [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the reconciliation of changes in intangible assets and goodwill."
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "tsm_DisclosureOfReconciliationOfEffectiveAndApplicableIncomeTaxExpensesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfReconciliationOfEffectiveAndApplicableIncomeTaxExpensesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Reconciliation Of Effective And Applicable Income Tax Expenses [text block]",
        "terseLabel": "Reconciliation of Income before Income Tax and Income Tax Expense Recognized in Profit or Loss",
        "documentation": "Disclosure of reconciliation of effective and applicable income tax expenses."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of liabilities arising from financing activities [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of liabilities arising from financing activities [text block]",
        "terseLabel": "Schedule of Liabilities Arising From Financing Activities"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the reconciliation of liabilities arising from financing activities. [Refer: Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r358"
     ]
    },
    "ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of liabilities arising from financing activities [line items]",
        "terseLabel": "Disclosure of reconciliation of liabilities arising from financing activities [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReconciliationOfLiabilitiesArisingFromFinancingActivitiesTable",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of liabilities arising from financing activities [table]",
        "terseLabel": "Disclosure of reconciliation of liabilities arising from financing activities [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the reconciliation of liabilities arising from financing activities."
       }
      }
     },
     "auth_ref": [
      "r358"
     ]
    },
    "tsm_DisclosureOfRefundLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfRefundLiabilitiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Refund Liabilities [Line Items]",
        "documentation": "Disclosure of refund liabilities [line items]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfRefundLiabilitiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfRefundLiabilitiesTable",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Refund Liabilities [Table]",
        "terseLabel": "Disclosure of refund liabilities [table]",
        "documentation": "Disclosure of refund liabilities"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfRelatedPartyExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfRelatedPartyExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactions"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of related party [text block]",
        "terseLabel": "Related Party Transactions"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for related parties."
       }
      }
     },
     "auth_ref": [
      "r119"
     ]
    },
    "ifrs-full_DisclosureOfReservesAndOtherEquityInterestExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfReservesAndOtherEquityInterestExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/EquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of reserves within equity [text block]",
        "terseLabel": "Changes in Other Reserves"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of reserves within equity. [Refer: Other reserves [member]]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "ifrs-full_DisclosureOfRevenueExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfRevenueExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenue"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of revenue [text block]",
        "terseLabel": "Net Revenue"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for revenue."
       }
      }
     },
     "auth_ref": [
      "r405"
     ]
    },
    "ifrs-full_DisclosureOfSegmentsMajorCustomersExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSegmentsMajorCustomersExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of major customers [text block]",
        "terseLabel": "Major Customers Representing at Least 10% of Net Revenue"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of major customers."
       }
      }
     },
     "auth_ref": [
      "r313"
     ]
    },
    "ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/Equity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of share capital, reserves and other equity interest [text block]",
        "terseLabel": "Equity"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for share capital, reserves and other equity interest."
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ifrs-full_DisclosureOfSharebasedPaymentArrangementsExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSharebasedPaymentArrangementsExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangements"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of share-based payment arrangements [text block]",
        "terseLabel": "Share-Based Payment Arrangements"
       }
      },
      "en": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangements."
       }
      }
     },
     "auth_ref": [
      "r240"
     ]
    },
    "tsm_DisclosureOfSignificantAccountingPoliciesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfSignificantAccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of significant accounting policies [abstract]",
        "documentation": "Disclosure of significant accounting policies."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfSignificantAccountingPoliciesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfSignificantAccountingPoliciesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of significant accounting policies [line items]",
        "terseLabel": "Disclosure of significant accounting policies [line items]",
        "documentation": "Disclosure of significant accounting policies [line items]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfSignificantAccountingPoliciesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfSignificantAccountingPoliciesTable",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of significant accounting policies [table]",
        "terseLabel": "Disclosure of significant accounting policies [table]",
        "documentation": "Disclosure of significant accounting policies [table]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of associates [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of associates [text block]",
        "terseLabel": "Summary of Investments in Associates"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of associates. [Refer: Associates [member]]"
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r197"
     ]
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of associates [line items]",
        "terseLabel": "Disclosure of associates [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesTable",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of associates [table]",
        "terseLabel": "Disclosure of associates [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to associates."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r197"
     ]
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [text block]",
        "terseLabel": "Detail Information of Subsidiaries"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ]
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [line items]",
        "terseLabel": "Disclosure of subsidiaries [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesTable",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [table]",
        "terseLabel": "Disclosure of subsidiaries [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to subsidiaries."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ]
    },
    "tsm_DisclosureOfTaxExemptionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTaxExemptionLineItems",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Tax Exemption [line items]",
        "terseLabel": "Disclosure Of Tax Exemption [line items]",
        "documentation": "Disclosure Of Tax Exemption [line items]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfTaxExemptionPeriodExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTaxExemptionPeriodExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Tax Exemption Period [text block]",
        "terseLabel": "Tax-exemption Information Related to Profits Generated from Certain Projects",
        "documentation": "The disclosure of tax exemption periods."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfTaxExemptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTaxExemptionTable",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Tax Exemption [table]",
        "terseLabel": "Disclosure Of Tax Exemption [table]",
        "documentation": "Disclosure Of Tax Exemption [table]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of temporary difference, unused tax losses and unused tax credits [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of temporary difference, unused tax losses and unused tax credits [line items]",
        "terseLabel": "Disclosure of temporary difference, unused tax losses and unused tax credits [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of temporary difference, unused tax losses and unused tax credits [table]",
        "terseLabel": "Disclosure of temporary difference, unused tax losses and unused tax credits [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to temporary differences, unused tax losses and unused tax credits."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "tsm_DisclosureOfTemporaryReceiptsFromCustomersTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTemporaryReceiptsFromCustomersTableTextBlock",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of Temporary Receipts From Customers [Table Text Block]",
        "terseLabel": "Summary of Temporary Receipts from Customers",
        "documentation": "Disclosure of temporary receipts from customers."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [text block]",
        "terseLabel": "Summary of vesting conditions of Employee RSAs performance metrics"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of the general terms and conditions of share-based payment arrangements. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r244"
     ]
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to terms and conditions of share-based payment arrangements."
       }
      }
     },
     "auth_ref": [
      "r244"
     ]
    },
    "tsm_DisclosureOfTheOwnershipDetailsOfPropertyplantAndEquipmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTheOwnershipDetailsOfPropertyplantAndEquipmentLineItems",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of The Ownership Details Of PropertyPlant And Equipment [Line Items]",
        "documentation": "Disclosure of the ownership details of property,plant and equipment"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfTheOwnershipDetailsOfPropertyplantAndEquipmentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTheOwnershipDetailsOfPropertyplantAndEquipmentTable",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure Of The Ownership Details Of PropertyPlant And Equipment [Table]",
        "documentation": "Disclosure of the ownership details of property,plant and equipment"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfTradeAndOtherReceivablesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTradeAndOtherReceivablesTable",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Trade and Other Receivables [table]",
        "terseLabel": "Disclosure of Trade and Other Receivables [table]",
        "documentation": "Disclosure of trade and other receivables."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisclosureOfTradeNotesAndAccountsReceivableNetExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Trade notes and accounts receivable, net [text block]",
        "terseLabel": "Summary of Notes and Accounts Receivable, Net",
        "documentation": "Disclosure of Trade notes and accounts receivable, net."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [text block]",
        "terseLabel": "Summary of Significant Transactions between the Company and Other Related Parties"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of transactions between the entity and its related parties. [Refer: Related parties [member]]"
       }
      }
     },
     "auth_ref": [
      "r115"
     ]
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesLineItems",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [line items]",
        "terseLabel": "Disclosure of transactions between related parties [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesTable",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [table]",
        "terseLabel": "Disclosure of transactions between related parties [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to transactions between related parties."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "tsm_DiscontinuationOfSignificantInfluenceFromInvestmentAccountedForUsingTheEquityMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscontinuationOfSignificantInfluenceFromInvestmentAccountedForUsingTheEquityMethod",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinuation of significant influence from investment accounted for using the equity method",
        "documentation": "Discontinuation of significant influence from investment accounted for using the equity method."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DiscountForLackOfMarketabilityPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscountForLackOfMarketabilityPercentage",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discount for lack of marketability percentage",
        "terseLabel": "Discount for lack of marketability percentage",
        "documentation": "Discount for lack of marketability percentage."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DiscountRateOnLeaseLiabilities": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscountRateOnLeaseLiabilities",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discount Rate On Lease Liabilities",
        "terseLabel": "Discount rate on lease liabilities",
        "documentation": "The discount rates used in the measurement of lease liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DiscountsOnBondsPayable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscountsOnBondsPayable",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discounts On Bonds Payable",
        "terseLabel": "Discounts on bonds payable",
        "documentation": "Discounts on bonds payable."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DiscountsOnBondsPayableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscountsOnBondsPayableMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discounts on bonds payable [member]",
        "terseLabel": "Discounts on bonds payable [member]",
        "documentation": "Discounts on bonds payable."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DiscountsOnGovernmentGrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DiscountsOnGovernmentGrants",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discounts On Government Grants",
        "terseLabel": "Less: Discounts on government grants",
        "documentation": "Discounts on government grants."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisposalOfFinancialAssetsAtFVTOCIMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisposalOfFinancialAssetsAtFVTOCIMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal of financial assets at F V T O C I [Member]",
        "terseLabel": "Disposal of financial assets at FVTOCI [Member]",
        "documentation": "Disposal of financial assets at FVTOCI."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DisposalOfFinancialinstrumentsAtFairvaluethroughothercomprehensiveincome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DisposalOfFinancialinstrumentsAtFairvaluethroughothercomprehensiveincome",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposal Of Financial Instruments At Fair Value Through Other Comprehensive Income",
        "terseLabel": "Disposal of financial assets at FVTOCI",
        "documentation": "Disposal of financial instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_DisposalsAndRetirementsIntangibleAssetsAndGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisposalsAndRetirementsIntangibleAssetsAndGoodwill",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposals and retirements, intangible assets and goodwill",
        "negatedLabel": "Disposals or retirements"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease in intangible assets and goodwill resulting from disposals and retirements. [Refer: Intangible assets and goodwill]"
       }
      }
     },
     "auth_ref": [
      "r432"
     ]
    },
    "ifrs-full_DisposalsAndRetirementsPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DisposalsAndRetirementsPropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disposals and retirements, property, plant and equipment",
        "negatedLabel": "Disposals or retirements"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease in property, plant and equipment resulting from disposals and retirements. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r421"
     ]
    },
    "ifrs-full_DividendsPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsPaid",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners",
        "negatedLabel": "Cash dividends to shareholders"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "ifrs-full_DividendsPaidClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsPaidClassifiedAsFinancingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 67.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends paid, classified as financing activities",
        "negatedLabel": "Cash dividends"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for dividends paid by the entity, classified as financing activities."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "ifrs-full_DividendsReceivedClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsReceivedClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 43.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends received, classified as investing activities",
        "terseLabel": "Other dividends received"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from dividends received, classified as investing activities. [Refer: Dividends received]"
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "ifrs-full_DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsReceivedFromInvestmentsAccountedForUsingEquityMethodClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 42.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends received from investments accounted for using equity method, classified as investing activities",
        "terseLabel": "Dividends received from investments accounted for using equity method"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow representing dividends received from investments that are accounted for using the equity method, classified as investing activities. [Refer: Investments accounted for using equity method; Dividends received]"
       }
      }
     },
     "auth_ref": [
      "r435"
     ]
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToOwnersOfParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsRecognisedAsDistributionsToOwnersOfParent",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners of parent",
        "terseLabel": "Cash dividends to shareholders"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as distributions to owners of the parent. [Refer: Parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToOwnersPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "DividendsRecognisedAsDistributionsToOwnersPerShare",
     "presentation": [
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners per share",
        "terseLabel": "Cash dividends to shareholders"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount, per share, of dividends recognised as distributions to owners."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "dei_DocumentAccountingStandard": {
     "xbrltype": "accountingStandardItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentAccountingStandard",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Accounting Standard",
        "terseLabel": "Document Accounting Standard",
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'."
       }
      }
     },
     "auth_ref": [
      "r399"
     ]
    },
    "dei_DocumentAnnualReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentAnnualReport",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report",
        "documentation": "Boolean flag that is true only for a form used as an annual report."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400"
     ]
    },
    "dei_DocumentFinStmtErrorCorrectionFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFinStmtErrorCorrectionFlag",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Financial Statement Error Correction [Flag]",
        "documentation": "Indicates whether any of the financial statement period in the filing include a restatement due to error correction."
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400",
      "r402"
     ]
    },
    "dei_DocumentFiscalPeriodFocus": {
     "xbrltype": "fiscalPeriodItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus",
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentFiscalYearFocus": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus",
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationLineItems",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Line Items]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentInformationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentInformationTable",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Information [Table]",
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentPeriodEndDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date",
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD."
       }
      }
     },
     "auth_ref": []
    },
    "dei_DocumentRegistrationStatement": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentRegistrationStatement",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Registration Statement",
        "terseLabel": "Document Registration Statement",
        "documentation": "Boolean flag that is true only for a form used as a registration statement."
       }
      }
     },
     "auth_ref": [
      "r394"
     ]
    },
    "dei_DocumentShellCompanyReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentShellCompanyReport",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Shell Company Report",
        "terseLabel": "Document Shell Company Report",
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r399"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report",
        "documentation": "Boolean flag that is true only for a form used as a transition report."
       }
      }
     },
     "auth_ref": [
      "r401"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "terseLabel": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenFiveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven Five [Member]",
        "documentation": "Domestic unsecured bonds hundred and eleven five."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenFourGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenFourGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven Four Green Bond [Member]",
        "documentation": "Domestic unsecured bonds hundred and eleven four green bond."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenOneGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenOneGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven One Green Bond [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenSixGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenSixGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven Six Green Bond [Member]",
        "documentation": "Domestic unsecured bonds hundred and eleven six green bond."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenThreeGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenThreeGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven Three Green Bond [Member]",
        "documentation": "Domestic unsecured bonds hundred and eleven three green bond."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndElevenTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndElevenTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Eleven Two [Member]",
        "documentation": "Domestic unsecured bonds hundred and eleven two."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineFiveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineOneMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine One [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineSevenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Seven [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineSixGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineSixGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Six Green Bond [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndNineTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndNineTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Nine Two [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndOneFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndOneFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And One Four [member]",
        "documentation": "Domestic unsecured bonds hundred and one four."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndOneThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndOneThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And One Three [member]",
        "documentation": "Domestic unsecured bonds hundred and one three."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenFiveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenOneMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten One [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenSevenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Seven [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenSixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenSixMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Six [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTenTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTenTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Ten Two [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndThirteenOneGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndThirteenOneGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Thirteen One Green Bond [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Thirteen One Green Bond [Member]",
        "documentation": "Domestic unsecured bonds hundred and thirteen one green bond."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTweleveFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTweleveFiveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Tweleve Five [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Tweleve Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTweleveFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTweleveFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Tweleve Four [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Tweleve Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTweleveOneGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTweleveOneGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Tweleve One Green Bond [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Tweleve One Green Bond [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTweleveThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTweleveThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Tweleve Three [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Tweleve Three [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTweleveTwoGreenBondMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTweleveTwoGreenBondMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Tweleve Two Green Bond [Member]",
        "terseLabel": "Domestic Unsecured Bonds Hundred And Tweleve Two Green Bond [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTwoFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTwoFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Two Four [member]",
        "documentation": "Domestic unsecured bonds hundred and two four."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTwoOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTwoOneMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Two One [member]",
        "documentation": "Domestic unsecured bonds hundred and two one."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DomesticUnsecuredBondsHundredAndTwoTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DomesticUnsecuredBondsHundredAndTwoTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Domestic Unsecured Bonds Hundred And Two Two [member]",
        "documentation": "Domestic unsecured bonds hundred and two two."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DonationFromShareholderClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DonationFromShareholderClassifiedAsFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 66.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Donation From Shareholder Classified As Financing Activities",
        "terseLabel": "Donation from shareholders",
        "documentation": "Donation from shareholder classified as financing activities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_DoubtfulMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "DoubtfulMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Doubtful [member]",
        "terseLabel": "Doubtful [member]",
        "documentation": "Doubtful."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EarningsPerShareAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per share [abstract]",
        "terseLabel": "EARNINGS PER SHARE"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EarningsPerShareExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EarningsPerShareExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShareTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings per share [text block]",
        "terseLabel": "Computation of Earnings Per Share"
       }
      },
      "en": {
       "role": {
        "documentation": "The disclosure of earnings per share."
       }
      }
     },
     "auth_ref": [
      "r127"
     ]
    },
    "tsm_EarthquakeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EarthquakeMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earthquake [Member]",
        "documentation": "Earthquake."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EffectOfExchangeRateChangesOnCashAndCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_IncreaseDecreaseInCashAndCashEquivalents",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effect of exchange rate changes on cash and cash equivalents",
        "terseLabel": "EFFECT OF EXCHANGE RATE CHANGES ON CASH AND CASH EQUIVALENTS"
       }
      },
      "en": {
       "role": {
        "documentation": "The effect of exchange rate changes on cash and cash equivalents held or due in a foreign currency. [Refer: Cash and cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r155",
      "r156"
     ]
    },
    "tsm_EffectsOfAllDilutivePotentialCommonShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EffectsOfAllDilutivePotentialCommonShares",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effects Of All Dilutive Potential Common Shares",
        "terseLabel": "Effects of all dilutive potential common shares",
        "documentation": "Effects of all dilutive potential common shares."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EmeaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmeaMember",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "EMEA [member]",
        "terseLabel": "Europe, the Middle East and Africa [member]",
        "documentation": "EMEA ."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EmergingFundLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmergingFundLPMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Emerging Fund L P [Member]",
        "terseLabel": "Emerging Fund L.P.[member]",
        "documentation": "Emerging fund l.p."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EmployeeBenefitsExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EmployeeBenefitsExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee benefits expense",
        "verboseLabel": "Employee benefits expenses"
       }
      },
      "en": {
       "role": {
        "documentation": "The expense of all forms of consideration given by an entity in exchange for a service rendered by employees or for the termination of employment."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r62",
      "r324"
     ]
    },
    "tsm_EmployeeBenefitsExpensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmployeeBenefitsExpensesMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Benefits Expenses [Member]",
        "terseLabel": "Employee benefits expenses [member]",
        "documentation": "Employee benefits expenses."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EmployeeRestrictedStockAwardsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmployeeRestrictedStockAwardsMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Restricted Stock Awards [Member]",
        "terseLabel": "Employee Restricted Stock Awards [Member]",
        "documentation": "Employee restricted stock awards [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EmployeeRestrictedStocksAwardsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmployeeRestrictedStocksAwardsMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee Restricted Stocks Awards [Member]",
        "documentation": "Employee restricted stocks awards."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EmployeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EmployeesMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employees [member]",
        "terseLabel": "Bonus to Employees [member]",
        "documentation": "Employees."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line One",
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressAddressLine2": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Address Line Two",
        "documentation": "Address Line 2 such as Street or Suite number"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCityOrTown": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, City or Town",
        "documentation": "Name of the City or Town"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressCountry": {
     "xbrltype": "countryCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressCountry",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Country",
        "terseLabel": "Entity Address, Country",
        "documentation": "ISO 3166-1 alpha-2 country code."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressPostalZipCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Address, Postal Zip Code",
        "documentation": "Code for the postal or zip code"
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressesAddressTypeAxis",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Addresses, Address Type [Axis]",
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r396"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding",
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityCurrentReportingStatus": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status",
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityEmergingGrowthCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company",
        "documentation": "Indicate if registrant meets the emerging growth company criteria."
       }
      }
     },
     "auth_ref": [
      "r396"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity File Number",
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityFilerCategory": {
     "xbrltype": "filerCategoryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category",
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure."
       }
      }
     },
     "auth_ref": [
      "r396"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Incorporation, State or Country Code",
        "terseLabel": "Entity Incorporation, State or Country Code",
        "documentation": "Two-character EDGAR code representing the state or country of incorporation."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityInteractiveDataCurrent": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current",
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files)."
       }
      }
     },
     "auth_ref": [
      "r403"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r396"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company",
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act."
       }
      }
     },
     "auth_ref": [
      "r396"
     ]
    },
    "tsm_EntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricAxis",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Total Shareholder Return To S And P 500 IT Index Total Shareholder Return Performance Metric [Axis]",
        "documentation": "Entity total shareholder return to s and p 500 it index total shareholder return performance metric [axis]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EntityTotalShareholderReturnToSAndP500ItIndexTotalShareholderReturnPerformanceMetricMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Total Shareholder Return To S And P 500 IT Index Total Shareholder Return Performance Metric [Member]",
        "documentation": "Entity total shareholder return to s and p 500 it index total shareholder return performance metric."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityVoluntaryFilers": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityVoluntaryFilers",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Voluntary Filers",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act."
       }
      }
     },
     "auth_ref": []
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "xbrltype": "yesNoItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityWellKnownSeasonedIssuer",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer",
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A."
       }
      }
     },
     "auth_ref": [
      "r404"
     ]
    },
    "ifrs-full_EntitysTotalForAssociatesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForAssociatesMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for associates [member]",
        "terseLabel": "Entity's total for associates [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Associates' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r197"
     ]
    },
    "ifrs-full_EntitysTotalForImpairmentOfFinancialAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForImpairmentOfFinancialAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for impairment of financial assets [member]",
        "terseLabel": "Entity's total for impairment of financial assets [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Impairment of financial assets' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r322"
     ]
    },
    "ifrs-full_EntitysTotalForJointVenturesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForJointVenturesMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for joint ventures [member]",
        "terseLabel": "Entity's total for joint ventures [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Joint ventures' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r196"
     ]
    },
    "ifrs-full_EntitysTotalForProbabilityOfDefaultMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForProbabilityOfDefaultMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for probability of default [member]",
        "terseLabel": "Entity's total for probability of default [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Probability of default' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r376",
      "r388"
     ]
    },
    "ifrs-full_EntitysTotalForRelatedPartiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForRelatedPartiesMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for related parties [member]",
        "terseLabel": "Entity's total for related parties [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Categories of related parties' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "ifrs-full_EntitysTotalForSubsidiariesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EntitysTotalForSubsidiariesMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity's total for subsidiaries [member]",
        "terseLabel": "Entity's total for subsidiaries [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Subsidiaries' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ]
    },
    "tsm_EqualToTheTotalShareholderReturnOfIndexMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EqualToTheTotalShareholderReturnOfIndexMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equal To The Total Shareholder Return Of Index [Member]",
        "terseLabel": "Equal to the Index [Member]",
        "documentation": "Equal to the total shareholder return of index [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EquipmentUnderInstallationAndConstructionInProgressMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EquipmentUnderInstallationAndConstructionInProgressMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equipment Under Installation And Construction In Progress [member]",
        "terseLabel": "Equipment under installation and construction in progress [member]",
        "documentation": "Equipment under installation and construction in progress."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_Equity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Equity",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0,
       "order": 22.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity",
        "totalLabel": "Total equity",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of residual interest in the assets of the entity after deducting all its liabilities."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r35",
      "r171",
      "r173",
      "r198",
      "r199",
      "r203"
     ]
    },
    "ifrs-full_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [abstract]",
        "terseLabel": "EQUITY ATTRIBUTABLE TO SHAREHOLDERS OF THE PARENT",
        "verboseLabel": "May be used to offset a deficit, distributed as cash dividends, or transferred to share capital"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EquityAndLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityAndLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity and liabilities",
        "totalLabel": "TOTAL"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of the entity's equity and liabilities. [Refer: Equity; Liabilities]"
       }
      }
     },
     "auth_ref": [
      "r28"
     ]
    },
    "ifrs-full_EquityAttributableToOwnersOfParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityAttributableToOwnersOfParent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity attributable to owners of parent",
        "totalLabel": "Equity attributable to shareholders of the parent"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of equity attributable to the owners of the parent. This specifically excludes non-controlling interest."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "ifrs-full_EquityAttributableToOwnersOfParentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityAttributableToOwnersOfParentMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity attributable to owners of parent [member]",
        "terseLabel": "Total Equity Attributable to Shareholders of the Parent [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for equity attributable to the owners of the parent."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_EquityInstrumentsAmountContributedToFairValueOfPlanAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityInstrumentsAmountContributedToFairValueOfPlanAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail": {
       "parentTag": "ifrs-full_PlanAssetsAtFairValue",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity instruments, amount contributed to fair value of plan assets",
        "terseLabel": "Equity instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount instruments representing equity (rather than debt) contribute to the fair value of defined benefit plan assets. [Refer: Plan assets, at fair value; Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r343"
     ]
    },
    "tsm_EquityInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EquityInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity instruments [member]",
        "terseLabel": "Equity instruments [member]",
        "documentation": "Equity instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_EquityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail",
      "http://www.tsmc.com/role/EquityTables",
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [member]",
        "terseLabel": "Equity [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the residual interest in the assets of the entity after deducting all its liabilities. It also represents the standard value for the 'Components of equity' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_EquityPriceRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EquityPriceRiskMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity price risk [member]",
        "terseLabel": "Equity Price Risk [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of other price risk that represents the type of risk that the fair value or future cash flows of a financial instrument will fluctuate because of changes in equity prices. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r378",
      "r391"
     ]
    },
    "ifrs-full_EstimateOfContributionsExpectedToBePaidToPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "EstimateOfContributionsExpectedToBePaidToPlan",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Estimate of contributions expected to be paid to plan for next annual reporting period",
        "terseLabel": "Defined benefit plans contribution in the next year"
       }
      },
      "en": {
       "role": {
        "documentation": "The estimate of the expected contributions to be made to a defined benefit plan for the next annual reporting period. [Refer: Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r98",
      "r99"
     ]
    },
    "tsm_EstimatedUsefulLivesOfPropertyPlantAndEquipment": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EstimatedUsefulLivesOfPropertyPlantAndEquipment",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Estimated Useful Lives Of Property Plant And Equipment",
        "terseLabel": "Estimated useful lives for property, plant and equipment",
        "documentation": "Estimated useful lives of property plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EuropeMiddleEastAndAfricaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EuropeMiddleEastAndAfricaMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Europe Middle East and Africa [member]",
        "terseLabel": "Europe, the Middle East and Africa [member]",
        "documentation": "Europe Middle East and Africa."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_EuropeanSemiconductorManufacturingCompanyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "EuropeanSemiconductorManufacturingCompanyMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "European Semiconductor Manufacturing Company [Member]",
        "terseLabel": "European Semiconductor Manufacturing Company (ESMC) GmbH [member]",
        "documentation": "European semiconductor manufacturing company."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ExchangeOfAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ExchangeOfAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Of Assets",
        "terseLabel": "Exchange of assets",
        "documentation": "Exchange of assets."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ExchangeOfEquityInstrumentsValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ExchangeOfEquityInstrumentsValue",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Exchange Of Equity Instruments Value",
        "terseLabel": "Exchange of equity instruments",
        "documentation": "Exchange of equity instruments value."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ExpectedCreditLossRate": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpectedCreditLossRate",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expected credit loss rate",
        "terseLabel": "Expected Credit Loss Ratio"
       }
      },
      "en": {
       "role": {
        "documentation": "The rate of expected credit losses, calculated as percentage of the gross carrying amount. Expected credit losses are the weighted average of credit losses with the respective risks of a default occurring as the weights."
       }
      }
     },
     "auth_ref": [
      "r377",
      "r389"
     ]
    },
    "ifrs-full_ExpenseByNatureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpenseByNatureAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses by nature [abstract]",
        "terseLabel": "OPERATING EXPENSES"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ExpenseByNatureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ExpenseByNatureLineItems",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense by Nature [line items]",
        "terseLabel": "Expense by nature [line items]",
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose the amount of expenses aggregated according to their nature (for example, depreciation, purchases of materials, transport costs, employee benefits and advertising costs), and not reallocated among functions within the entity."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ExpenseByNatureTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ExpenseByNatureTable",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAccruedProfitSharingBonusToEmployeesDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense By Nature [table]",
        "terseLabel": "Expense By Nature [table]",
        "documentation": "This table concepts are used to disclose the amount of expenses aggregated according to their nature (for example, depreciation, purchases of materials, transport costs, employee benefits and advertising costs), and not reallocated among functions within the entity."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ExpenseFromCashsettledSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpenseFromCashsettledSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense from cash-settled share-based payment transactions",
        "terseLabel": "Cash-settled"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expense arising from cash-settled share-based payment transactions in which the goods or services received did not qualify for recognition as assets. [Refer: Expense from share-based payment transactions]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_ExpenseFromEquitysettledSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpenseFromEquitysettledSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense from equity-settled share-based payment transactions",
        "terseLabel": "Equity-settled"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expense arising from equity-settled share-based payment transactions in which the goods or services received did not qualify for recognition as assets. [Refer: Expense from share-based payment transactions]"
       }
      }
     },
     "auth_ref": [
      "r248"
     ]
    },
    "ifrs-full_ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense from share-based payment transactions",
        "terseLabel": "Share -based payments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expense arising from share-based payment transactions in which the goods or services received did not qualify for recognition as assets."
       }
      }
     },
     "auth_ref": [
      "r248"
     ]
    },
    "ifrs-full_ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExpenseRelatingToShorttermLeasesForWhichRecognitionExemptionHasBeenUsed",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsOtherLeaseInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expense relating to short-term leases for which recognition exemption has been used",
        "verboseLabel": "Expenses relating to short-term leases"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of the expense relating to short-term leases accounted for applying paragraph 6 of IFRS 16. This expense need not include the expense relating to leases with a lease term of one month or less. Short-term lease is a lease that, at the commencement date, has a lease term of 12 months or less. A lease that contains a purchase option is not a short-term lease."
       }
      }
     },
     "auth_ref": [
      "r218"
     ]
    },
    "ifrs-full_ExplanationOfNatureAndExtentOfRenewalAndTerminationOptions": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExplanationOfNatureAndExtentOfRenewalAndTerminationOptions",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Explanation of nature and extent of renewal and termination options",
        "terseLabel": "Renewal period of agreement"
       }
      },
      "en": {
       "role": {
        "documentation": "The explanation of the nature and extent (for example, quantity, time period or amount as appropriate) of renewal and termination options in service concession arrangements. [Refer: Service concession arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r318"
     ]
    },
    "ifrs-full_ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Explanation of significant changes in contract assets and contract liabilities [text block]",
        "terseLabel": "Summary of Contract Balances"
       }
      },
      "en": {
       "role": {
        "documentation": "The explanation of the significant changes in the contract assets and the contract liabilities. [Refer: Contract assets; Contract liabilities]"
       }
      }
     },
     "auth_ref": [
      "r211"
     ]
    },
    "ifrs-full_FairValueHedgesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FairValueHedgesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair value hedges [member]",
        "terseLabel": "Fair value hedges [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for hedges of the exposure to changes in fair value of a recognised asset or liability or an unrecognised firm commitment, or an identified portion of such an asset, liability or firm commitment, that is attributable to a particular risk and could affect profit or loss. [Refer: Hedges [member]]"
       }
      }
     },
     "auth_ref": [
      "r143",
      "r263",
      "r265",
      "r267"
     ]
    },
    "ifrs-full_FairValueOfInvestmentsInAssociatesWherePriceQuotationsPublished": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FairValueOfInvestmentsInAssociatesWherePriceQuotationsPublished",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair value of investments in associates for which there are quoted market prices",
        "terseLabel": "Closing Price in Active Markets"
       }
      },
      "en": {
       "role": {
        "documentation": "The fair value of investments in associates if there are quoted market prices for the investment. [Refer: Associates [member]; Investments in associates reported in separate financial statements]"
       }
      }
     },
     "auth_ref": [
      "r183"
     ]
    },
    "tsm_FairValueOfInvestmentsInDebtInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FairValueOfInvestmentsInDebtInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair value of investments in debt instruments designated as measured at fair value through other comprehensive income",
        "terseLabel": "Investments in debt instruments at FVTOCI",
        "documentation": "Fair value of investments in debt instruments designated as measured at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FairValueOfInvestmentsInEquityInstrumentsDesignatedAsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail": {
       "parentTag": "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in equity instruments designated at fair value through other comprehensive income",
        "verboseLabel": "Investment in equity instruments at FVTOCI",
        "terseLabel": "Financial assets at FVTOCI, Investments in equity instruments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of investments in equity instruments that the entity has designated at fair value through other comprehensive income. [Refer: At fair value [member]; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r254",
      "r292"
     ]
    },
    "ifrs-full_FinanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinanceCosts",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 19.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": -1.0,
       "order": 23.0
      },
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance costs",
        "negatedLabel": "Finance costs",
        "terseLabel": "Finance costs",
        "totalLabel": "Finance costs"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of costs associated with financing activities of the entity."
       }
      }
     },
     "auth_ref": [
      "r52"
     ]
    },
    "ifrs-full_FinanceIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinanceIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": 1.0,
       "order": 25.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finance income",
        "terseLabel": "Other income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income associated with interest and other financing activities of the entity."
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "ifrs-full_FinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets",
        "totalLabel": "Financial assets",
        "terseLabel": "Financial assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose the entity\u2019s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r268",
      "r276",
      "r277",
      "r282",
      "r377"
     ]
    },
    "ifrs-full_FinancialAssetsAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtAmortisedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialAssets",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at amortised cost",
        "terseLabel": "Amortized cost (Note 3)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets at amortised cost. The amortised cost is the amount at which financial assets are measured at initial recognition minus principal repayments, plus or minus the cumulative amortisation using the effective interest method of any difference between that initial amount and the maturity amount, and adjusted for any impairment. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r290"
     ]
    },
    "ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtAmortisedCostCategoryMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at amortised cost, category [member]",
        "terseLabel": "Amortized cost [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at amortised cost category. [Refer: Financial assets at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r290"
     ]
    },
    "ifrs-full_FinancialAssetsAtAmortisedCostMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtAmortisedCostMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at amortised cost, class [member]",
        "terseLabel": "Financial assets at amortised cost, class [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets measured at amortised cost class. [Refer: Financial assets at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r294"
     ]
    },
    "ifrs-full_FinancialAssetsAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets, at fair value",
        "terseLabel": "Financial assets, at fair value"
       }
      },
      "en": {
       "role": {
        "documentation": "The fair value of financial assets. [Refer: At fair value [member]; Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialAssets",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through other comprehensive income",
        "verboseLabel": "FVTOCI (Note 2)",
        "totalLabel": "Financial assets at FVTOCI"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets at fair value through other comprehensive income. [Refer: At fair value [member]; Financial assets; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through other comprehensive income [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through other comprehensive income, category [member]",
        "terseLabel": "FVTOCI [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at fair value through other comprehensive income category. [Refer: Financial assets at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValueThroughProfitOrLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialAssets",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through profit or loss",
        "totalLabel": "Total",
        "positiveLabel": "FVTPL (Note 1)",
        "verboseLabel": "Financial assets at FVTPL"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets that are measured at fair value and for which gains (losses) are recognised in profit or loss. A financial asset shall be measured at fair value through profit or loss unless it is measured at amortised cost or at fair value through other comprehensive income. A gain (loss) on a financial asset measured at fair value shall be recognised in profit or loss unless it is part of a hedging relationship, it is an investment in an equity instrument for which the entity has elected to present gains and losses in other comprehensive income or it is a financial asset measured at fair value through other comprehensive income. [Refer: At fair value [member]; Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r288"
     ]
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail": {
       "parentTag": "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through profit or loss, mandatorily measured at fair value",
        "verboseLabel": "Financial assets, Mandatorily measured at FVTPL",
        "terseLabel": "Financial assets at FVTPL, mandatorily measured at FVTPL"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets mandatorily measured at fair value through profit or loss in accordance with IFRS 9. [Refer: Financial assets at fair value through profit or loss]"
       }
      }
     },
     "auth_ref": [
      "r288"
     ]
    },
    "ifrs-full_FinancialAssetsCategoryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsCategoryMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets, category [member]",
        "terseLabel": "Financial assets, category [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial assets. It also represents the standard value for the 'Categories of financial assets' axis if no other member is used. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r293"
     ]
    },
    "tsm_FinancialAssetsHeldForHedging": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FinancialAssetsHeldForHedging",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialAssets",
       "weight": 1.0,
       "order": 4.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 50.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets held for hedging",
        "terseLabel": "Hedging financial assets",
        "documentation": "The amount of derivative financial assets held for hedging. [Refer: Derivative financial assets]."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail": {
       "parentTag": "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets measured at fair value through other comprehensive income",
        "totalLabel": "Investment in equity and debt instruments at FVTOCI",
        "terseLabel": "Financial assets at FVTOCI, investments in equity and debt instruments",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets that are measured at fair value through other comprehensive income. A financial asset shall be measured at fair value through other comprehensive income if both of the following conditions are met: (a) the financial asset is held within a business model whose objective is achieved by both collecting contractual cash flows and selling financial assets and (b) the contractual terms of the financial asset give rise on specified dates to cash flows that are solely payments of principal and interest on the principal amount outstanding. [Refer: At fair value [member]; Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "ifrs-full_FinancialAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNet",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets, class [member]",
        "terseLabel": "Financial assets, class [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes of financial assets. It also represents the standard value for the 'Classes of financial assets' axis if no other member is used. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r239",
      "r285",
      "r286",
      "r316",
      "r317"
     ]
    },
    "tsm_FinancialAssetsNotPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FinancialAssetsNotPastDueMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets not past due [member]",
        "terseLabel": "Not past due [member]",
        "documentation": "Financial assets not past due."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FinancialAssetsPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FinancialAssetsPastDueMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets past due [member]",
        "terseLabel": "Past due [member]",
        "documentation": "This member stands for financial assets that are past due. A financial asset is past due when a counterparty has failed to make a payment when contractually due."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FinancialAssetsPledgedAsCollateralForLiabilitiesOrContingentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialAssetsPledgedAsCollateralForLiabilitiesOrContingentLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/PledgedAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial assets pledged as collateral for liabilities or contingent liabilities",
        "terseLabel": "Financial assets pledged as collateral"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial assets that the entity has pledged as collateral for liabilities or contingent liabilities, including amounts that have been reclassified in accordance with paragraph 3.2.23(a) of IFRS 9. [Refer: Contingent liabilities [member]; Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r256"
     ]
    },
    "ifrs-full_FinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities",
        "totalLabel": "Financial liabilities",
        "terseLabel": "Financial liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity\u2019s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity\u2019s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]]"
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "ifrs-full_FinancialLiabilitiesAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesAtAmortisedCost",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities at amortised cost",
        "terseLabel": "Amortized cost (Note 5)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial liabilities at amortised cost. The amortised cost is the amount at which financial liabilities are measured at initial recognition minus principal repayments, plus or minus the cumulative amortisation using the effective interest method of any difference between that initial amount and the maturity amount. [Refer: Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r291"
     ]
    },
    "ifrs-full_FinancialLiabilitiesAtAmortisedCostMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesAtAmortisedCostMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities at amortised cost, class [member]",
        "terseLabel": "Financial liabilities at amortised cost [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities measured at amortised cost class. [Refer: Financial liabilities at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r294"
     ]
    },
    "ifrs-full_FinancialLiabilitiesAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesAtFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities, at fair value",
        "terseLabel": "Financial liabilities, at fair value"
       }
      },
      "en": {
       "role": {
        "documentation": "The fair value of financial liabilities. [Refer: At fair value [member]; Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r268"
     ]
    },
    "ifrs-full_FinancialLiabilitiesAtFairValueThroughProfitOrLossClassifiedAsHeldForTrading": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesAtFairValueThroughProfitOrLossClassifiedAsHeldForTrading",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities at fair value through profit or loss that meet definition of held for trading",
        "verboseLabel": "Financial liabilities, Held for trading",
        "terseLabel": "Financial liabilities at FVTPL, Held for trading"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of financial liabilities at fair value through profit or loss that meet the definition of held for trading. A financial liability is classified as held for trading if: (a) it is acquired or incurred principally for the purpose of selling or repurchasing it in the near term; (b) on initial recognition it is part of a portfolio of identified financial instruments that are managed together and for which there is evidence of a recent actual pattern of short-term profit-taking; or (c) it is a derivative (except for a derivative that is a financial guarantee contract or a designated and effective hedging instrument). [Refer: Financial liabilities at fair value through profit or loss]"
       }
      }
     },
     "auth_ref": [
      "r289"
     ]
    },
    "ifrs-full_FinancialLiabilitiesCategoryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesCategoryMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities, category [member]",
        "terseLabel": "Financial liabilities, category [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial liabilities. It also represents the standard value for the 'Categories of financial liabilities' axis if no other member is used. [Refer: Financial assets]"
       }
      }
     },
     "auth_ref": [
      "r293"
     ]
    },
    "tsm_FinancialLiabilitiesHeldForHedging": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FinancialLiabilitiesHeldForHedging",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail": {
       "parentTag": "ifrs-full_FinancialLiabilities",
       "weight": 1.0,
       "order": 2.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialInstrumentsCategoriesOfFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities held for hedging",
        "terseLabel": "Hedging financial liabilities",
        "documentation": "The amount of derivative financial liabilities held for hedging. [Refer: Derivative financial liabilities]."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FinancialLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinancialLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial liabilities, class [member]",
        "terseLabel": "Financial liabilities, class [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes financial liabilities. It also represents the standard value for the 'Classes of financial liabilities' axis if no other member is used. [Refer: Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r285",
      "r286",
      "r316",
      "r317"
     ]
    },
    "ifrs-full_FinishedGoods": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FinishedGoods",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail": {
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current finished goods",
        "terseLabel": "Finished goods"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of goods that have completed the production process and are held for sale in the ordinary course of business. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r330",
      "r428"
     ]
    },
    "tsm_FirstYearAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FirstYearAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "First Year Anniversary of Grant Date [Member]",
        "terseLabel": "First Year Anniversary of Grant Date [Member]",
        "documentation": "First year anniversary of grant date [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FiveNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FiveNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Five Nanometer [Member]",
        "terseLabel": "5-nanometer [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FixedIncomeSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FixedIncomeSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fixed Income Securities [Member]",
        "terseLabel": "Fixed Income Securities [member]",
        "documentation": "Fixed income securities [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FixedPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FixedPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fixed Percentage Of Other Equity Instruments Vested Subject To Entity Total Shareholder Achievement Performance Metric",
        "terseLabel": "Fixed percentage of other equity instruments vested subject to entity total shareholder achievement performance metric",
        "verboseLabel": "Fixed percentage of other equity instruments vested subject to entity total shareholder achievement performance metric",
        "documentation": "Fixed percentage of other equity instruments vested subject to entity total shareholder achievement performance metric."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FixedRateOfInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FixedRateOfInstrumentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fixed Rate of Instruments [abstract]",
        "documentation": "Fixed rate of instruments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ForecastTransactionCapitalExpendituresMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ForecastTransactionCapitalExpendituresMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast Transaction Capital Expenditures [member]",
        "terseLabel": "Forecast Transaction Capital Expenditures [member]",
        "documentation": "Forecast transaction capital expenditures."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ForecastTransactionRelatesToIssuanceOfDebtsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ForecastTransactionRelatesToIssuanceOfDebtsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast Transaction Relates To Issuance of Debts [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ForeignCountriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ForeignCountriesMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign countries [member]",
        "terseLabel": "Overseas [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for countries outside the entity's country of domicile. [Refer: Country of domicile [member]]"
       }
      }
     },
     "auth_ref": [
      "r310",
      "r311"
     ]
    },
    "tsm_FortyToFortyFiveNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FortyToFortyFiveNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forty to forty five nanometer [member]",
        "terseLabel": "40/45-nanometer [member]",
        "documentation": "Forty to forty five nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ForwardContractMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ForwardContractMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward contract [member]",
        "terseLabel": "Forward exchange contracts [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a contract between two parties for the purchase or sale of an underlying asset at a specified future date for a settlement price determined in advance."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_ForwardExchangeContractsAndForeignCurrencyDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ForwardExchangeContractsAndForeignCurrencyDepositsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward exchange contracts and foreign currency deposits [member]",
        "terseLabel": "Forward exchange contracts and foreign currency deposits [member]",
        "documentation": "Forward exchange contracts and foreign currency deposits."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ForwardExchangeContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ForwardExchangeContractsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Exchange Contracts [member]",
        "terseLabel": "Forward exchange contracts [member]",
        "documentation": "Forward exchange contracts."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ForwardInterestRateContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ForwardInterestRateContractsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forward Interest Rate Contracts [Member]",
        "terseLabel": "Forward interest rate contracts [member]",
        "documentation": "Forward Interest Rate Contracts [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_FromDifferenceBetweenTheConsiderationReceivedAndTheCarryingAmountOfTheSubsidiariesNetAssetsDuringActualDisposal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "FromDifferenceBetweenTheConsiderationReceivedAndTheCarryingAmountOfTheSubsidiariesNetAssetsDuringActualDisposal",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "From Difference Between The Consideration Received And The Carrying Amount Of The Subsidiaries Net Assets During Actual Disposal",
        "terseLabel": "From difference between the consideration received and the carrying amount of the subsidiaries' net assets during actual disposal",
        "documentation": "From difference between the consideration received and the carrying amount of the subsidiaries' net assets during actual disposal."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_FuturesContractMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "FuturesContractMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Futures contract [member]",
        "verboseLabel": "Interest rate futures contracts [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a standardised, exchange-traded contract for the purchase or sale of an underlying asset at a specified future date for a settlement price determined in advance."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_GainLossArisingOnChangesInTheFairValueOfHedgingInstrumentsAndHedgedItemAffectsProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GainLossArisingOnChangesInTheFairValueOfHedgingInstrumentsAndHedgedItemAffectsProfitOrLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (loss) arising on changes in the fair value of hedging instruments and hedged item affects profit or loss",
        "terseLabel": "Gain (loss) arising on changes in the fair value of hedging instruments and hedged item affects profit or loss",
        "documentation": "Gain (loss) arising on changes in the fair value of hedging instruments and hedged item affects profit or loss."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_GainLossOnDisposalOfFinancialAssetsNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GainLossOnDisposalOfFinancialAssetsNetAbstract",
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain Loss on Disposal of Financial Assets Net [Abstract]",
        "terseLabel": "Gain (loss) on disposal of financial assets, net",
        "documentation": "Gain loss on Disposal of Financial Assets, Net"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GainLossOnHedgeIneffectivenessRecognisedInOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainLossOnHedgeIneffectivenessRecognisedInOtherComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 15.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (loss) on hedge ineffectiveness recognised in other comprehensive income",
        "terseLabel": "Gain (loss) on hedging instruments",
        "verboseLabel": "Increase (Decrease) in Value Used for Calculating Hedge Ineffectiveness",
        "definitionGuidance": "Change in Value Used for Calculating Hedged Ineffectiveness"
       }
      },
      "en": {
       "role": {
        "documentation": "The gain (loss) recognised in other comprehensive income on hedge ineffectiveness. [Refer: Gain (loss) on hedge ineffectiveness]"
       }
      }
     },
     "auth_ref": [
      "r266"
     ]
    },
    "tsm_GainLossOnHedgingInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GainLossOnHedgingInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (loss) on hedging instruments [member]",
        "terseLabel": "Other - Gain (loss) on hedging instruments [member]",
        "documentation": "Gain (loss) on hedging instruments."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAssetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainLossOnRemeasurementOfNetDefinedBenefitLiabilityAssetAbstract",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (loss) on remeasurement, net defined benefit liability (asset) [abstract]",
        "terseLabel": "Remeasurement on the net defined benefit liability:",
        "verboseLabel": "Remeasurement:"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_GainOnHedgingInstrumentsThatWillBeReclassifiedToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GainOnHedgingInstrumentsThatWillBeReclassifiedToProfitOrLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain On Hedging Instruments That Will Be Reclassified To Profit Or Loss Before Tax",
        "terseLabel": "Gain (loss) on hedging instruments",
        "documentation": "Gain on hedging instruments that will be reclassified to profit or loss before tax."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GainsLossesOnDisposalsOfInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnDisposalsOfInvestments",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on disposals of investments",
        "terseLabel": "Gain on disposal of investments accounted for using equity method, net"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) on disposals of investments."
       }
      }
     },
     "auth_ref": [
      "r61"
     ]
    },
    "ifrs-full_GainsLossesOnDisposalsOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnDisposalsOfPropertyPlantAndEquipment",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on disposals of property, plant and equipment",
        "negatedLabel": "Loss (gain) on disposal or retirement of property, plant and equipment, net"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) on disposals of property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r60"
     ]
    },
    "ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnExchangeDifferencesOnTranslationBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on exchange differences on translation, before tax",
        "terseLabel": "Exchange differences arising on translation of foreign operations"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) recognised in other comprehensive income on exchange differences on the translation of financial statements of foreign operations, before tax, before reclassification adjustments. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r56"
     ]
    },
    "ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnExchangeDifferencesOnTranslationRecognisedInProfitOrLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Foreign exchange gain (loss)",
        "negatedLabel": "Loss (gain) on foreign exchange, net"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of exchange differences recognised in profit or loss that arise from foreign currency transactions, excluding those arising on financial instruments measured at fair value through profit or loss in accordance with IFRS 9. [Refer: At fair value [member]; Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r16",
      "r107"
     ]
    },
    "ifrs-full_GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on financial assets at fair value through profit or loss, mandatorily measured at fair value",
        "terseLabel": "Mandatorily measured at FVTPL"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) on financial assets mandatorily measured at fair value through profit or loss in accordance with IFRS 9. [Refer: Financial assets at fair value through profit or loss, mandatorily measured at fair value; Gains (losses) on financial assets at fair value through profit or loss; Financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r257"
     ]
    },
    "ifrs-full_GainsLossesOnFinancialInstrumentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnFinancialInstrumentsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on financial instruments [abstract]",
        "terseLabel": "Gain (loss) on financial instruments at FVTPL, net"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GainsLossesOnHedgesOfNetInvestmentsInForeignOperationsBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesOnHedgesOfNetInvestmentsInForeignOperationsBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) on hedges of net investments in foreign operations, before tax",
        "terseLabel": "Gain (Loss) on hedging instruments designated as hedges of net investments in foreign operations"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) recognised in other comprehensive income on hedges of net investments in foreign operations, before tax, before reclassification adjustments. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r56",
      "r142",
      "r315"
     ]
    },
    "ifrs-full_GainsLossesRecognisedInOtherComprehensiveIncomeFairValueMeasurementAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesRecognisedInOtherComprehensiveIncomeFairValueMeasurementAssets",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) recognised in other comprehensive income, fair value measurement, assets",
        "terseLabel": "Recognized in other comprehensive income or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) including exchange differences recognised in other comprehensive income on the fair value measurement of assets. [Refer: At fair value [member]; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r201"
     ]
    },
    "ifrs-full_GainsLossesRecognisedInProfitOrLossFairValueMeasurementAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GainsLossesRecognisedInProfitOrLossFairValueMeasurementAssets",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (losses) recognised in profit or loss including exchange differences, fair value measurement, assets",
        "terseLabel": "Recognized in profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) including exchange differences recognised in profit or loss on the fair value measurement of assets. [Refer: At fair value [member]]"
       }
      }
     },
     "auth_ref": [
      "r200"
     ]
    },
    "ifrs-full_GeneralAndAdministrativeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GeneralAndAdministrativeExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OperatingExpenseExcludingCostOfSales",
       "weight": 1.0,
       "order": 32.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General and administrative expense",
        "terseLabel": "General and administrative"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expense relating to general and administrative activities of the entity."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_GeneralAndAdministrativeExpense1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GeneralAndAdministrativeExpense1Member",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "General And Administrative Expense1 [member]",
        "terseLabel": "General and administrative expenses [member]",
        "documentation": "General and administrative expenses."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GeographicalAreasAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GeographicalAreasAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical areas [axis]",
        "terseLabel": "Geographical areas [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r312",
      "r341",
      "r368",
      "r372"
     ]
    },
    "ifrs-full_GeographicalAreasMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GeographicalAreasMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical areas [member]",
        "terseLabel": "Geographical areas [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregated geographical areas. It also represents the standard value for the 'Geographical areas' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r312",
      "r341",
      "r368",
      "r372"
     ]
    },
    "tsm_GlobalUnichipCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GlobalUnichipCorporationMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Global Unichip Corporation [member]",
        "terseLabel": "Global Unichip Corporation [member]",
        "documentation": "Global Unichip Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GoodwillMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GoodwillMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill [member]",
        "terseLabel": "Goodwill [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for goodwill. [Refer: Goodwill]"
       }
      }
     },
     "auth_ref": [
      "r348"
     ]
    },
    "tsm_GovernmentBondsAgencyBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GovernmentBondsAgencyBondsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government Bonds Agency Bonds [Member]",
        "terseLabel": "Government bonds/Agency bonds [member]",
        "documentation": "Government bonds/agency bonds."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_GovernmentBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GovernmentBondsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government bonds [member]",
        "verboseLabel": "Government bonds/Agency bonds [member]",
        "documentation": "Government bonds."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GovernmentDebtInstrumentsHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GovernmentDebtInstrumentsHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Government debt instruments held",
        "terseLabel": "Government bonds/Agency bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of debt instruments held by the entity that were issued by a government. [Refer: Debt instruments held; Government [member]]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_GovernmentGrantsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GovernmentGrantsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Government Grants [Abstract]",
        "documentation": "Government grants."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_GrossCarryingAmountMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GrossCarryingAmountMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gross carrying amount [member]",
        "terseLabel": "Cost [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised before deducting any accumulated depreciation (amortisation) and accumulated impairment losses thereon. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      }
     },
     "auth_ref": [
      "r75",
      "r137",
      "r148",
      "r151",
      "r252",
      "r277",
      "r282",
      "r377"
     ]
    },
    "ifrs-full_GrossLeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GrossLeaseLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gross lease liabilities",
        "verboseLabel": "Lease liabilities (including those classified under accrued expenses and other current liabilities)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to lease liabilities before deducting finance charges. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r223",
      "r381"
     ]
    },
    "ifrs-full_GrossProfit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "GrossProfit",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLossFromOperatingActivities",
       "weight": 1.0,
       "order": 34.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gross profit",
        "totalLabel": "GROSS PROFIT"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of revenue less cost of sales. [Refer: Cost of sales; Revenue]"
       }
      }
     },
     "auth_ref": [
      "r325"
     ]
    },
    "tsm_GrowthFundLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GrowthFundLimitedMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Growth fund limited [member]",
        "terseLabel": "Growth Fund Limited [member]",
        "documentation": "Growth Fund Limited."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_GuaranteeDepositsReceivedClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GuaranteeDepositsReceivedClassifiedAsFinancingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 69.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Guarantee Deposits Received Classified As Financing Activities",
        "terseLabel": "Guarantee deposits received",
        "documentation": "Guarantee deposits received classified as financing activities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_GuaranteeDepositsRefundedClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "GuaranteeDepositsRefundedClassifiedAsFinancingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 68.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Guarantee Deposits Refunded Classified As Financing Activities",
        "negatedLabel": "Guarantee deposits refunded",
        "documentation": "Guarantee deposits refunded classified as financing activities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_HedgeRatioAdjustmentPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HedgeRatioAdjustmentPercentage",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedge ratio adjustment percentage",
        "terseLabel": "Hedge ratio adjustment percentage",
        "documentation": "Hedge ratio adjustment percentage."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_HedgedItemsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgedItemsAxis",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedged items [axis]",
        "terseLabel": "Hedged items [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r265"
     ]
    },
    "ifrs-full_HedgedItemsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgedItemsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedged items [member]",
        "terseLabel": "Hedged items [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for hedged items. A hedged item can be a recognised asset or liability, an unrecognised firm commitment, a forecast transaction or a net investment in a foreign operation. The hedged item can be: (a) a single item; or (b) a group of items (subject to paragraphs 6.6.1\u20136.6.6 and B6.6.1\u2013B6.6.16 of IFRS 9). A hedged item can also be a component of such an item or group of items (see paragraphs 6.3.7 and B6.3.7\u2013B6.3.25 of IFRS 9). This member also represents the standard value for the 'Hedged items' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r265"
     ]
    },
    "ifrs-full_HedgesOfNetInvestmentInForeignOperationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgesOfNetInvestmentInForeignOperationsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedges of net investments in foreign operations [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for hedges of the entity's monetary items that are receivable from or payable to a foreign operation, for which settlement is neither planned nor likely to occur in the foreseeable future. A foreign operation is an entity that is a subsidiary, associate, joint venture or branch of a reporting entity, the activities of which are based or conducted in a country or currency other than those of the reporting entity."
       }
      }
     },
     "auth_ref": [
      "r145",
      "r263",
      "r265",
      "r267"
     ]
    },
    "tsm_HedgingFinancialLiabilitiesBankLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HedgingFinancialLiabilitiesBankLoansMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging financial liabilities bank loans [Member]",
        "documentation": "Hedging financial liabilities- bank loans."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_HedgingInstrumentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgingInstrumentAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging instrument, assets",
        "terseLabel": "Asset Carrying Amount"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of a hedging instrument, recognised as an asset. [Refer: Hedging instruments [member]]"
       }
      }
     },
     "auth_ref": [
      "r262"
     ]
    },
    "ifrs-full_HedgingInstrumentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgingInstrumentLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging instrument, liabilities",
        "terseLabel": "Hedging financial liabilities-bank loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of a hedging instrument, recognised as a liability. [Refer: Hedging instruments [member]]"
       }
      }
     },
     "auth_ref": [
      "r262"
     ]
    },
    "tsm_HedgingInstrumentsAnnualInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HedgingInstrumentsAnnualInterestRate",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Instruments Annual interest Rate",
        "terseLabel": "Annual Interest\u00a0Rate",
        "documentation": "Hedging instruments annual interest rate."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_HedgingInstrumentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgingInstrumentsAxis",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging instruments [axis]",
        "terseLabel": "Hedging instruments [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r260",
      "r263"
     ]
    },
    "tsm_HedgingInstrumentsContractAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HedgingInstrumentsContractAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Instruments Contract Amount",
        "terseLabel": "Contract Amount",
        "documentation": "Hedging Instruments Contract Amount"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_HedgingInstrumentsContractAmountMaturityDate": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HedgingInstrumentsContractAmountMaturityDate",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging Instruments Contract Amount Maturity Date",
        "terseLabel": "Maturity",
        "documentation": "Hedging instruments contract amount maturity date."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_HedgingInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "HedgingInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedging instruments [member]",
        "terseLabel": "Hedging instruments [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for hedging instruments. A hedging instrument can be a designated: (a) derivative measured at fair value through profit or loss, except for some written options (see paragraph B6.2.4 of IFRS 9); (b) non-derivative financial asset or non-derivative financial liability measured at fair value through profit or loss, unless it is a financial liability designated as at fair value through profit or loss for which the amount of its change in fair value that is attributable to changes in the credit risk of that liability is presented in other comprehensive income in accordance with paragraph 5.7.7 of IFRS 9. For a hedge of foreign currency risk, the foreign currency risk component of a non-derivative financial asset or a non-derivative financial liability may be designated as a hedging instrument provided that it is not an investment in an equity instrument for which an entity has elected to present changes in fair value in other comprehensive income in accordance with paragraph 5.7.5 of IFRS 9. This member also represents the standard value for the 'Hedging instruments' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r260",
      "r263"
     ]
    },
    "tsm_HighPerformanceComputingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "HighPerformanceComputingMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "High Performance Computing [Member]",
        "terseLabel": "High performance computing [member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_IcfrAuditorAttestationFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "IcfrAuditorAttestationFlag",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r399",
      "r400"
     ]
    },
    "tsm_ImpactOnChangeInFinancialStatementsDueToNatureAndExtendOfRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ImpactOnChangeInFinancialStatementsDueToNatureAndExtendOfRiskAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impact on Change in Financial Statements Due to Nature and Extend of Risk [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ImpactOnChangeInFinancialStatementsDueToNatureAndExtendOfRiskDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ImpactOnChangeInFinancialStatementsDueToNatureAndExtendOfRiskDomain",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impact on Change in Financial Statements Due to Nature and Extend of Risk [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ImpactOnNetIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ImpactOnNetIncomeMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impact On Net Income [Member]",
        "terseLabel": "Impact on Net Income [member]",
        "documentation": "Impact on net income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ImpactOnOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ImpactOnOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impact on Other Comprehensive Income [Member]",
        "documentation": "Impact on other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ImpairmentLossRecognisedInProfitOrLossGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ImpairmentLossRecognisedInProfitOrLossGoodwill",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment loss recognised in profit or loss, goodwill",
        "terseLabel": "Impairment loss recognized in goodwill"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of impairment loss recognised in profit or loss for goodwill. [Refer: Impairment loss recognised in profit or loss; Goodwill]"
       }
      }
     },
     "auth_ref": [
      "r251"
     ]
    },
    "ifrs-full_ImpairmentLossRecognisedInProfitOrLossPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ImpairmentLossRecognisedInProfitOrLossPropertyPlantAndEquipment",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment",
        "terseLabel": "Impairment"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of impairment loss recognised in profit or loss for property, plant and equipment. [Refer: Impairment loss recognised in profit or loss; Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r59",
      "r77"
     ]
    },
    "ifrs-full_ImpairmentOfFinancialAssetsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ImpairmentOfFinancialAssetsAxis",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Impairment of financial assets [axis]",
        "terseLabel": "Impairment of financial assets [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r322"
     ]
    },
    "tsm_IncomeStatementLocation1Axis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncomeStatementLocation1Axis",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location 1 [axis]",
        "terseLabel": "Income Statement Location 1 [axis]",
        "documentation": "Income Statement Location1 [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncomeStatementLocation1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncomeStatementLocation1Member",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location1 [member]",
        "terseLabel": "Income Statement Location1 [member]",
        "documentation": "Income Statement Location1 [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location [axis]",
        "terseLabel": "Income Statement Location [axis]",
        "documentation": "Income statement location."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncomeStatementLocationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncomeStatementLocationMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location 1 [member]",
        "terseLabel": "Income Statement Location 1 [member]",
        "documentation": "Income Statement Location 1 [member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncomeTaxEffectOnOtherEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncomeTaxEffectOnOtherEquity",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax effect On Other Equity",
        "negatedLabel": "Income tax effect",
        "documentation": "Income tax effect on other equity."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncomeTaxExpenseContinuingOperations": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncomeTaxExpenseContinuingOperations",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": -1.0,
       "order": 19.0
      },
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      },
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax expense (income)",
        "terseLabel": "INCOME TAX EXPENSE",
        "totalLabel": "Income tax expense recognized in profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)]"
       }
      }
     },
     "auth_ref": [
      "r53",
      "r65",
      "r67",
      "r68",
      "r120",
      "r193",
      "r301"
     ]
    },
    "ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income tax relating to components of other comprehensive income",
        "terseLabel": "Recognized in Other Comprehensive Income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r54",
      "r66"
     ]
    },
    "ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": -1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income tax relating to components of other comprehensive income that will be reclassified to profit or loss",
        "negatedLabel": "Income tax benefit (expense) related to items that may be reclassified subsequently"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income that will be reclassified to profit or loss. [Refer: Income tax relating to components of other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncomeTaxRelatingToComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": -1.0,
       "order": 13.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income tax relating to components of other comprehensive income that will not be reclassified to profit or loss",
        "negatedLabel": "Income tax benefit (expense) related to items that will not be reclassified subsequently"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income that will not be reclassified to profit or loss. [Refer: Income tax relating to components of other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r57"
     ]
    },
    "ifrs-full_IncomeTaxesPaidClassifiedAsOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncomeTaxesPaidClassifiedAsOperatingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": -1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income taxes paid, classified as operating activities",
        "negatedLabel": "Income taxes paid"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for income taxes paid, classified as operating activities."
       }
      }
     },
     "auth_ref": [
      "r440"
     ]
    },
    "tsm_IncreaseDecreaseExpectedCreditLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseExpectedCreditLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase decrease expected credit loss",
        "terseLabel": "Expected credit loss decrease increase",
        "documentation": "Increase decrease expected credit loss"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseInCashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseInCashAndCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in cash and cash equivalents",
        "totalLabel": "NET INCREASE IN CASH AND CASH EQUIVALENTS"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in cash and cash equivalents after the effect of exchange rate changes on cash and cash equivalents held in foreign currencies. [Refer: Cash and cash equivalents; Effect of exchange rate changes on cash and cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r163"
     ]
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in defined benefit obligation due to reasonably possible decrease in actuarial assumption",
        "terseLabel": "Amount of increase in defined benefit obligation"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in defined benefit obligation due to reasonably possible increase in actuarial assumption",
        "terseLabel": "Amount of increase in defined benefit obligation"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by an increase in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "ifrs-full_IncreaseDecreaseInFairValueMeasurementAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseInFairValueMeasurementAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) in fair value measurement, assets",
        "terseLabel": "Decrease in fair value due to lack of marketability increase by 1%"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the fair value measurement of assets. [Refer: At fair value [member]]"
       }
      }
     },
     "auth_ref": [
      "r203"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughAcquisitionOfSubsidiary": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughAcquisitionOfSubsidiary",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through acquisition of subsidiary, equity",
        "terseLabel": "Effect of acquisition of subsidiary"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the acquisition of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughAppropriationOfRetainedEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughAppropriationOfRetainedEarnings",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through appropriation of retained earnings, equity",
        "totalLabel": "Total"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the appropriation of retained earnings. [Refer: Retained earnings]"
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "tsm_IncreaseDecreaseThroughBasisAdjustmentForLossOnHedgingInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughBasisAdjustmentForLossOnHedgingInstruments",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase decrease through basis adjustment for loss on hedging instruments",
        "terseLabel": "Basis adjustment for gain (loss) on hedging instruments",
        "documentation": "Increase decrease through basis adjustment for loss on hedging instruments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncreaseDecreaseThroughChangeInAssociatesAndJointVenture": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughChangeInAssociatesAndJointVenture",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through change in associates and joint venture",
        "terseLabel": "Adjustments to share of changes in equities of associates",
        "documentation": "Increase (decrease) through change in associates and joint venture."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughChangeInEquityOfSubsidiaries",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through change in equity of subsidiaries, equity",
        "terseLabel": "From share of changes in equities of subsidiaries"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the entity's equity resulting from the change in the equity of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControl": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControl",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through changes in ownership interests in subsidiaries that do not result in loss of control, equity",
        "terseLabel": "Decrease in non-controlling interests"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity through changes in ownership interests in subsidiaries that do not result in loss of control. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughConversionOfConvertibleInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughConversionOfConvertibleInstruments",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through conversion of convertible instruments, equity",
        "terseLabel": "Conversion of convertible bonds into equity securities"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the conversion of convertible instruments."
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "tsm_IncreaseDecreaseThroughDisposalOfInvestmentsAccountedForUsingEquityMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughDisposalOfInvestmentsAccountedForUsingEquityMethod",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through disposal of investments accounted for using equity method",
        "terseLabel": "Disposal of investments accounted for using equity method",
        "documentation": "Increase (decrease) through disposal of investments accounted for using equity method."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncreaseDecreaseThroughDisposalOfInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughDisposalOfInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through disposal of investments in equity instruments at fair value through other comprehensive income",
        "terseLabel": "Disposal of investments in equity instruments at fair value through other comprehensive income",
        "documentation": "Increase (decrease) through disposal of investments in equity instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseThroughEffectOfChangesInForeignExchangeRatesLiabilitiesArisingFromFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughEffectOfChangesInForeignExchangeRatesLiabilitiesArisingFromFinancingActivities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through effect of changes in foreign exchange rates, liabilities arising from financing activities",
        "terseLabel": "Non-cash changes Foreign Exchange Movement"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in liabilities arising from financing activities resulting from the effect of changes in foreign exchange rates. [Refer: Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r161"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughFinancingCashFlowsLiabilitiesArisingFromFinancingActivities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through financing cash flows, liabilities arising from financing activities",
        "terseLabel": "Financing Cash Flow"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in liabilities arising from financing activities resulting from financing cash flows. [Refer: Cash flows from (used in) financing activities; Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r160"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesAllowanceAccountForCreditLossesOfFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesAllowanceAccountForCreditLossesOfFinancialAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, allowance account for credit losses of financial assets",
        "terseLabel": "Effect of exchange rate changes"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in an allowance account for credit losses of financial assets resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Allowance account for credit losses of financial assets]"
       }
      }
     },
     "auth_ref": [
      "r446"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesDeferredTaxLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesDeferredTaxLiabilityAsset",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, deferred tax liability (asset)",
        "negatedLabel": "Effect of Exchange Rate Changes"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in deferred tax liability (asset) resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Deferred tax liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r419"
     ]
    },
    "tsm_IncreaseDecreaseThroughNetExchangeDifferencesFinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Net Exchange Differences Financial Assets At Fair Value Through Other Comprehensive Income",
        "terseLabel": "Effect of exchange rate changes",
        "documentation": "The increase (decrease) in financial assets at fair value through other comprehensive income resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, intangible assets and goodwill",
        "terseLabel": "Effect of exchange rate changes"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in intangible assets and goodwill resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Intangible assets and goodwill]"
       }
      }
     },
     "auth_ref": [
      "r431"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, property, plant and equipment",
        "terseLabel": "Effect of exchange rate changes"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r79"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughOtherChangesLiabilitiesArisingFromFinancingActivities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through other changes, liabilities arising from financing activities",
        "terseLabel": "Non-cash changes Other Changes"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in liabilities arising from financing activities resulting from changes that the entity does not separately disclose in the same statement or note. [Refer: Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r162"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughOtherChangesPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughOtherChangesPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through other changes, property, plant and equipment",
        "terseLabel": "Transfers from right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment resulting from changes that the entity does not separately disclose in the same statement or note. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r76"
     ]
    },
    "tsm_IncreaseDecreaseThroughSharebasedPaymentShareTransactions": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughSharebasedPaymentShareTransactions",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Sharebased Payment Share Transactions",
        "terseLabel": "Share-based payment arrangements, shares",
        "documentation": "Increase decrease through sharebased payment share transactions."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseThroughSharebasedPaymentTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughSharebasedPaymentTransactions",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through share-based payment transactions, equity",
        "terseLabel": "Share-based payment arrangements"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from share-based payment transactions. [Refer: Equity]"
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "ifrs-full_IncreaseDecreaseThroughTransactionsWithOwners": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughTransactionsWithOwners",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through transactions with owners, equity",
        "terseLabel": "Donation from shareholders"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from transactions with owners."
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "tsm_IncreaseDecreaseThroughTransferToSpecialCapitalReserve": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughTransferToSpecialCapitalReserve",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through transfer to special capital reserve",
        "terseLabel": "Special capital reserve",
        "documentation": "Increase (decrease) through transfer to special capital reserve."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncreaseDecreaseThroughTreasuryShareRetired": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughTreasuryShareRetired",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Treasury Share Retired",
        "terseLabel": "Treasury stock retired",
        "documentation": "Increase decrease through treasury share retired."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncreaseDecreaseThroughTreasuryShareRetiredShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreaseDecreaseThroughTreasuryShareRetiredShares",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease Through Treasury Share Retired, Shares",
        "terseLabel": "Treasury stock retired, shares",
        "documentation": "Increase decrease through treasury share retired, shares."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IncreaseDecreaseThroughTreasuryShareTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseDecreaseThroughTreasuryShareTransactions",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (decrease) through treasury share transactions, equity",
        "terseLabel": "Treasury stock acquired"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from treasury share transactions. [Refer: Equity; Treasury shares]"
       }
      }
     },
     "auth_ref": [
      "r7"
     ]
    },
    "ifrs-full_IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IncreaseThroughNewLeasesLiabilitiesArisingFromFinancingActivities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase through new leases, liabilities arising from financing activities",
        "terseLabel": "Non-cash changes Lease modifications"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase in liabilities arising from financing activities resulting from new leases. [Refer: Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r356",
      "r360"
     ]
    },
    "tsm_IncreasedecreaseThroughTransfersFromOperatingLeasesPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreasedecreaseThroughTransfersFromOperatingLeasesPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers from assets subject to operating leases",
        "documentation": "Increase (decrease) through transfers from operating leases, property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IncreasedecreaseThroughTransfersToOperatingLeasesPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IncreasedecreaseThroughTransfersToOperatingLeasesPropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers to assets subject to operating leases",
        "documentation": "Increase (decrease) through transfers to operating leases, property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_InformationOnHowInstrumentsWereGroupedIfExpectedCreditLossesWereMeasuredOnCollectiveBasis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InformationOnHowInstrumentsWereGroupedIfExpectedCreditLossesWereMeasuredOnCollectiveBasis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Information on how instruments were grouped if expected credit losses were measured on collective basis",
        "terseLabel": "Description"
       }
      },
      "en": {
       "role": {
        "documentation": "Information on how the instruments were grouped if expected credit losses were measured on a collective basis."
       }
      }
     },
     "auth_ref": [
      "r272"
     ]
    },
    "ifrs-full_IntangibleAssetsAndGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IntangibleAssetsAndGoodwill",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 38.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible assets and goodwill",
        "terseLabel": "Intangible assets",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of intangible assets and goodwill held by the entity. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_IntangibleAssetsAndGoodwillMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IntangibleAssetsAndGoodwillMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible assets and goodwill [member]",
        "terseLabel": "Intangible assets and goodwill [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for intangible assets and goodwill. It also represents the standard value for the 'Classes of intangible assets and goodwill' axis if no other member is used. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": [
      "r433"
     ]
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwillMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IntangibleAssetsOtherThanGoodwillMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Intangible assets other than goodwill [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for intangible assets other than goodwill. It also represents the standard value for the 'Classes of intangible assets other than goodwill' axis if no other member is used. [Refer: Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": [
      "r140",
      "r348",
      "r370"
     ]
    },
    "ifrs-full_InterestCostsCapitalised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestCostsCapitalised",
     "calculation": {
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest costs capitalised",
        "negatedLabel": "Less: Capitalized interest under property, plant and equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest costs that an entity incurs in connection with the borrowing of funds that are directly attributable to the acquisition, construction or production of a qualifying asset and which form part of the cost of that asset."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_InterestExpenseIncomeNetDefinedBenefitLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "InterestExpenseIncomeNetDefinedBenefitLiability",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense Income Net Defined Benefit Liability",
        "terseLabel": "Net interest expense",
        "documentation": "Interest expense (income) net defined benefit liability."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_InterestExpenseIncomeNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestExpenseIncomeNetDefinedBenefitLiabilityAsset",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense (income), net defined benefit liability (asset)",
        "terseLabel": "Interest expense",
        "negatedLabel": "Interest income"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the net defined benefit liability (asset) resulting from the passage of time. [Refer: Interest expense; Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r89"
     ]
    },
    "ifrs-full_InterestExpenseOnBonds": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestExpenseOnBonds",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense on bonds",
        "terseLabel": "Interest expense, Corporate bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest expense on bonds issued. [Refer: Interest expense; Bonds issued]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_InterestExpenseOnBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestExpenseOnBorrowings",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense on borrowings",
        "terseLabel": "Interest expense, Bank loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest expense on borrowings. [Refer: Interest expense; Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_InterestExpenseOnLeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestExpenseOnLeaseLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense on lease liabilities",
        "terseLabel": "Lease liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest expense on lease liabilities. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r217"
     ]
    },
    "ifrs-full_InterestExpenseOnOtherFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestExpenseOnOtherFinancialLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail": {
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest expense on other financial liabilities",
        "terseLabel": "Interest expense, Others"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest expense on other financial liabilities. [Refer: Interest expense; Other financial liabilities]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_InterestIncomeForFinancialAssetsMeasuredAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestIncomeForFinancialAssetsMeasuredAtAmortisedCost",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail": {
       "parentTag": "ifrs-full_RevenueFromInterest",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest revenue for financial assets measured at amortised cost",
        "terseLabel": "Financial assets at amortized cost"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of revenue arising from interest for financial assets that are measured at amortised cost. [Refer: Interest income; Financial assets at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r258"
     ]
    },
    "ifrs-full_InterestIncomeOnCashAndCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestIncomeOnCashAndCashEquivalents",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest income on cash and cash equivalents",
        "terseLabel": "Cash and cash equivalents"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest income on cash and cash equivalents. [Refer: Interest income; Cash and cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_InterestPaidClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestPaidClassifiedAsFinancingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 70.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest paid, classified as financing activities",
        "negatedLabel": "Interest paid"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for interest paid, classified as financing activities."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "tsm_InterestRateFuturesContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "InterestRateFuturesContractsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Rate Futures Contracts [member]",
        "terseLabel": "Interest rate futures contracts [member]",
        "documentation": "Interest rate futures contracts."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_InterestRateRiskMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestRateRiskMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest rate risk [member]",
        "terseLabel": "Interest rate risk [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the type of risk that the fair value or future cash flows of a financial instrument will fluctuate because of changes in market interest rates. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r236",
      "r297"
     ]
    },
    "ifrs-full_InterestRateTypesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestRateTypesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest rate types [member]",
        "terseLabel": "Interest rate types [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all types of interest rates. It also represents the standard value for the 'Types of interest rates' axis if no other member is used. [Refer: Interest rate risk [member]]"
       }
      }
     },
     "auth_ref": [
      "r443"
     ]
    },
    "ifrs-full_InterestReceivedClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestReceivedClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 45.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest received, classified as investing activities",
        "terseLabel": "Interest received"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from interest received, classified as investing activities."
       }
      }
     },
     "auth_ref": [
      "r157"
     ]
    },
    "ifrs-full_InterestRevenueForFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InterestRevenueForFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail": {
       "parentTag": "ifrs-full_RevenueFromInterest",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest revenue for financial assets measured at fair value through other comprehensive income",
        "terseLabel": "Financial assets at FVTOCI"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of interest revenue arising on financial assets measured at fair value through other comprehensive income. [Refer: Revenue; Financial assets measured at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r258"
     ]
    },
    "tsm_InternetOfThingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "InternetOfThingsMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Internet Of Things [Member]",
        "terseLabel": "Internet of things [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_Inventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Inventories",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 46.0
      },
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current inventories",
        "terseLabel": "Inventories",
        "totalLabel": "Inventories, total"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current inventories. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r21",
      "r103",
      "r327"
     ]
    },
    "ifrs-full_InvestmentAccountedForUsingEquityMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "InvestmentAccountedForUsingEquityMethod",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 40.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments accounted for using equity method",
        "verboseLabel": "Investments accounted for using equity method",
        "terseLabel": "Carrying Amount"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of investments accounted for using the equity method. The equity method is a method of accounting whereby the investment is initially recognised at cost and adjusted thereafter for the post-acquisition change in the investor's share of net assets of the investee. The investor's profit or loss includes its share of the profit or loss of the investee. The investor's other comprehensive income includes its share of the other comprehensive income of the investee. [Refer: At cost [member]]"
       }
      }
     },
     "auth_ref": [
      "r20",
      "r194",
      "r303"
     ]
    },
    "tsm_InvestmentIncomeInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "InvestmentIncomeInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": 1.0,
       "order": 26.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Interest",
        "terseLabel": "Interest Income",
        "documentation": "Investment income interest."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_InvestmentTaxCreditsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "InvestmentTaxCreditsMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investment Tax Credits [Member]",
        "terseLabel": "Investment Tax Credits [Member]",
        "documentation": "Investment tax credits."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodEightMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodEightMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Eight [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodElevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodElevenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Eleven [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodFifteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodFifteenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Fifteen [Member]",
        "documentation": "Issuance period fifteen member."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodFiveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodFiveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Five [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodFourMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodFourMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Four [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodFourteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodFourteenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Fourteen [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodNineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodNineMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Nine [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodOneMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance period one [Member]",
        "terseLabel": "Issuance period one [Member]",
        "documentation": "Issuance Period One."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodSevenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodSevenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Seven [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodSixMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodSixMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Six [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodSixteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodSixteenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Sixteen [Member]",
        "documentation": "Issuance period Sixteen member."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodTenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodTenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Ten [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodThirteenMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodThirteenMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Thirteen [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodThreeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodThreeMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance period three [Member]",
        "terseLabel": "Issuance period three [Member]",
        "documentation": "Issuance Period Three."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodTwelveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodTwelveMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance Period Twelve [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_IssuancePeriodTwoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "IssuancePeriodTwoMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issuance period two [Member]",
        "terseLabel": "Issuance period two [Member]",
        "documentation": "Issuance Period Two."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_IssueOfEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IssueOfEquity",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issue of equity",
        "terseLabel": "Issuance of shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The increase in equity through the issue of equity instruments."
       }
      }
     },
     "auth_ref": [
      "r6"
     ]
    },
    "ifrs-full_IssuedCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IssuedCapital",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0,
       "order": 31.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/EquitySummaryOfCapitalStockDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issued capital",
        "terseLabel": "Capital stock",
        "verboseLabel": "Issued capital"
       }
      },
      "en": {
       "role": {
        "documentation": "The nominal value of capital issued."
       }
      }
     },
     "auth_ref": [
      "r331"
     ]
    },
    "ifrs-full_IssuedCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "IssuedCapitalMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Issued capital [member]",
        "terseLabel": "Capital Stock - Common Stock [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing issued capital."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "country_JP": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "JP",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "JAPAN",
        "terseLabel": "Japan [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_JapanAdvancedSemiconductorManufacturingIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "JapanAdvancedSemiconductorManufacturingIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Japan Advanced Semiconductor Manufacturing Inc [Member]",
        "terseLabel": "Japan Advanced Semiconductor Manufacturing, Inc. [member]",
        "documentation": "Japan Advanced Semiconductor Manufacturing, Inc.[Member]."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_JointVenturesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "JointVenturesAxis",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Joint ventures [axis]",
        "terseLabel": "Joint ventures [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r196"
     ]
    },
    "ifrs-full_KeyManagementPersonnelCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "KeyManagementPersonnelCompensation",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Key management personnel compensation",
        "totalLabel": "Compensation of key management personnel"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel. [Refer: Key management personnel of entity or parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r114"
     ]
    },
    "ifrs-full_KeyManagementPersonnelCompensationPostemploymentBenefits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "KeyManagementPersonnelCompensationPostemploymentBenefits",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail": {
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, post-employment benefits",
        "terseLabel": "Post-employment benefits"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of post-employment benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r112"
     ]
    },
    "ifrs-full_KeyManagementPersonnelCompensationSharebasedPayment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "KeyManagementPersonnelCompensationSharebasedPayment",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail": {
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, share-based payment",
        "terseLabel": "Share-based payments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of share-based payments. [Refer: Key management personnel of entity or parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r113"
     ]
    },
    "ifrs-full_KeyManagementPersonnelCompensationShorttermEmployeeBenefits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail": {
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsCompensationToDirectorsAndOtherKeyManagementPersonnelDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, short-term employee benefits",
        "terseLabel": "Short-term employee benefits"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of short-term employee benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      }
     },
     "auth_ref": [
      "r111"
     ]
    },
    "tsm_LandAndLandImprovements1Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LandAndLandImprovements1Member",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Land and Land Improvements 1- [member]",
        "terseLabel": "Land and Land Improvements [Member]",
        "documentation": "Land and Land Improvements [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_LandImprovementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LandImprovementsMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Land Improvements [Member]",
        "terseLabel": "Land improvements [member]",
        "documentation": "Land improvements."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_LandMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LandMember",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Land [member]",
        "verboseLabel": "Land [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing land held by the entity for use in operations. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r338"
     ]
    },
    "ifrs-full_LaterThanFifteenYearsAndNotLaterThanTwentyYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanFifteenYearsAndNotLaterThanTwentyYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than fifteen years and not later than twenty years [member]",
        "terseLabel": "15-20\u00a0years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than fifteen years and not later than twenty years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r390"
     ]
    },
    "ifrs-full_LaterThanFiveYearsAndNotLaterThanTenYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanFiveYearsAndNotLaterThanTenYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than five years and not later than ten years [member]",
        "terseLabel": "5-10\u00a0years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years and not later than ten years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r390",
      "r410"
     ]
    },
    "ifrs-full_LaterThanFiveYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanFiveYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than five years [member]",
        "verboseLabel": "More than 5 years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years."
       }
      }
     },
     "auth_ref": [
      "r224",
      "r226",
      "r238",
      "r380",
      "r386",
      "r390"
     ]
    },
    "ifrs-full_LaterThanFourMonthsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanFourMonthsMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than four months [member]",
        "terseLabel": "Past due over 31 days [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than four months."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanOneYearAndNotLaterThanThreeYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than one year and not later than three years [member]",
        "terseLabel": "1-3 years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than three years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r384",
      "r390"
     ]
    },
    "ifrs-full_LaterThanTenYearsAndNotLaterThanFifteenYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanTenYearsAndNotLaterThanFifteenYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than ten years and not later than fifteen years [member]",
        "terseLabel": "10-15\u00a0years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than ten years and not later than fifteen years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r390"
     ]
    },
    "ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanThreeYearsAndNotLaterThanFiveYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than three years and not later than five years [member]",
        "terseLabel": "3-5 years\t[member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than three years and not later than five years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r385",
      "r390"
     ]
    },
    "ifrs-full_LaterThanTwentyYearsAndNotLaterThanTwentyfiveYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LaterThanTwentyYearsAndNotLaterThanTwentyfiveYearsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Later than twenty years and not later than twenty-five years [member]",
        "terseLabel": "More\u00a0than 20 years [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than twenty years and not later than twenty-five years."
       }
      }
     },
     "auth_ref": [
      "r380",
      "r390"
     ]
    },
    "ifrs-full_LeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LeaseLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease liabilities",
        "totalLabel": "Lease liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration."
       }
      }
     },
     "auth_ref": [
      "r215"
     ]
    },
    "ifrs-full_LeaseLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LeaseLiabilitiesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease liabilities [abstract]",
        "verboseLabel": "Lease liabilities [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_LeaseLiabilitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LeaseLiabilitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease liabilities [member]",
        "terseLabel": "Lease Liabilities [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for lease liabilities. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r357",
      "r361"
     ]
    },
    "tsm_LeaseLiabilitiesNonCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LeaseLiabilitiesNonCurrent",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease Liabilities Non Current",
        "terseLabel": "Lease liabilities",
        "documentation": "Lease liabilities non current."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_LegalCapitalReservePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LegalCapitalReservePercentage",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Legal Capital Reserve Percentage",
        "terseLabel": "Legal capital reserve percentage",
        "documentation": "Legal capital reserve percentage."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_LettersOfCreditMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LettersOfCreditMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Letters Of Credit [member]",
        "terseLabel": "Letters of Credit [member]",
        "documentation": "Letters of credit."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_Level1OfFairValueHierarchyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Level1OfFairValueHierarchyMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Level 1 of fair value hierarchy [member]",
        "terseLabel": "Level 1 [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are quoted prices (unadjusted) in active markets for identical assets or liabilities that the entity can access at the measurement date."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r199"
     ]
    },
    "ifrs-full_Level2OfFairValueHierarchyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Level2OfFairValueHierarchyMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Level 2 of fair value hierarchy [member]",
        "terseLabel": "Level 2 [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are inputs other than quoted prices included within Level 1 that are observable for the asset or liability, either directly or indirectly."
       }
      }
     },
     "auth_ref": [
      "r199"
     ]
    },
    "ifrs-full_Level3OfFairValueHierarchyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Level3OfFairValueHierarchyMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Level 3 of fair value hierarchy [member]",
        "terseLabel": "Level 3 [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are unobservable inputs for the asset or liability. Unobservable inputs are inputs for which market data are not available and that are developed using the best information available about the assumptions that the market participants would use when pricing the asset or liability."
       }
      }
     },
     "auth_ref": [
      "r199"
     ]
    },
    "ifrs-full_LevelsOfFairValueHierarchyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LevelsOfFairValueHierarchyAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Levels of fair value hierarchy [axis]",
        "terseLabel": "Levels of fair value hierarchy [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r95",
      "r199"
     ]
    },
    "ifrs-full_Liabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Liabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of a present obligation of the entity to transfer an economic resource as a result of past events. Economic resource is a right that has the potential to produce economic benefits."
       }
      }
     },
     "auth_ref": [
      "r28",
      "r198",
      "r199",
      "r203",
      "r302",
      "r307"
     ]
    },
    "ifrs-full_LiabilitiesArisingFromFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LiabilitiesArisingFromFinancingActivities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities arising from financing activities",
        "periodStartLabel": "Beginning Balance",
        "periodEndLabel": "Ending Balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities for which cash flows were, or future cash flows will be, classified in the statement of cash flows as cash flows from financing activities. [Refer: Cash flows from (used in) financing activities; Liabilities]"
       }
      }
     },
     "auth_ref": [
      "r358"
     ]
    },
    "ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LiabilitiesArisingFromFinancingActivitiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities arising from financing activities [axis]",
        "terseLabel": "Liabilities arising from financing activities [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r358"
     ]
    },
    "ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LiabilitiesArisingFromFinancingActivitiesMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities arising from financing activities [member]",
        "terseLabel": "Liabilities arising from financing activities [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for liabilities arising from financing activities. It also represents the standard value for the 'Liabilities arising from financing activities' axis if no other member is used. [Refer: Liabilities arising from financing activities]"
       }
      }
     },
     "auth_ref": [
      "r358"
     ]
    },
    "ifrs-full_LiabilitiesFromSharebasedPaymentTransactions2011": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LiabilitiesFromSharebasedPaymentTransactions2011",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities from share-based payment transactions",
        "terseLabel": "Liabilities from share-based payment transactions"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities arising from share-based payment transactions. Share-based payment transactions are transactions in which the entity: (a) receives goods or services from the supplier of those goods or services (including an employee) in a share-based payment arrangement; or (b) incurs an obligation to settle the transaction with the supplier in a share-based payment arrangement when another group entity receives those goods or services. [Refer: Share-based payment arrangements [member]]"
       }
      }
     },
     "auth_ref": [
      "r249"
     ]
    },
    "ifrs-full_LiabilityAssetOfDefinedBenefitPlans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LiabilityAssetOfDefinedBenefitPlans",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net defined benefit liability (asset)",
        "periodStartLabel": "Balance, beginning of year",
        "periodEndLabel": "Balance, end of year",
        "negatedPeriodStartLabel": "Balance, beginning of year",
        "negatedPeriodEndLabel": "Balance, end of year"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of deficit or surplus in a defined benefit plan, adjusted for any effect of limiting a net defined benefit asset to the asset ceiling. [Refer: Defined benefit plans [member]]"
       }
      }
     },
     "auth_ref": [
      "r87"
     ]
    },
    "ifrs-full_LifetimeExpectedCreditLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LifetimeExpectedCreditLossesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lifetime expected credit losses [member]",
        "terseLabel": "Lifetime expected credit losses [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the expected credit losses that result from all possible default events over the expected life of a financial instrument. [Refer: Type of measurement of expected credit losses [member]]"
       }
      }
     },
     "auth_ref": [
      "r275",
      "r281"
     ]
    },
    "ifrs-full_LoansAndReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LoansAndReceivables",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail": {
       "parentTag": "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and receivables",
        "verboseLabel": "Notes and accounts receivable, net"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-derivative financial assets with fixed or determinable payments that are not quoted in an active market, other than: (a) those that the entity intends to sell immediately or in the near term, which shall be classified as held for trading, and those that the entity, upon initial recognition, designates as at fair value through profit or loss; (b) those that the entity, upon initial recognition, designates as available for sale; or (c) those for which the holder may not recover substantially all of its initial investment, other than because of credit deterioration, which shall be classified as available for sale. An interest acquired in a pool of assets that are not loans or receivables (for example, an interest in a mutual fund or a similar fund) is not a loan or receivable. [Refer: Derivative financial assets]"
       }
      }
     },
     "auth_ref": [
      "r323"
     ]
    },
    "ifrs-full_LoansAndReceivablesCategoryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LoansAndReceivablesCategoryMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and receivables, category [member]",
        "verboseLabel": "Notes and accounts receivable, net [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the loans and receivables category of financial assets. [Refer: Loans and receivables]"
       }
      }
     },
     "auth_ref": [
      "r323"
     ]
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Local Phone Number",
        "documentation": "Local phone number for entity."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_LongTermBankLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LongTermBankLoansMember",
     "presentation": [
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long Term Bank Loans [Member]",
        "terseLabel": "Long-term bank loans [member]",
        "documentation": "Long term bank loans."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_LongtermBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LongtermBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 3.0
      },
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term bank loans",
        "terseLabel": "Long-term bank loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The non-current portion of non-current borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_LongtermBorrowingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LongtermBorrowingsMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term borrowings [member]",
        "terseLabel": "Long-term bank loans [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for long-term borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r357",
      "r361"
     ]
    },
    "ifrs-full_LongtermDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "LongtermDeposits",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 36.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Long-term deposits",
        "terseLabel": "Refundable deposits"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of long-term deposits held by the entity."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_LossAllowanceAdjustmentsFromDebtInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LossAllowanceAdjustmentsFromDebtInstruments",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss allowance adjustments from debt instruments",
        "terseLabel": "Loss allowance adjustments from debt instruments",
        "documentation": "Loss allowance adjustments from debt instruments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_LossDueToUnexpectedEvent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "LossDueToUnexpectedEvent",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loss Due To Unexpected Event",
        "documentation": "Loss due to unexpected event."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MachineryAndEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MachineryAndEquipmentMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Machinery and equipment [member]",
        "verboseLabel": "Machinery and equipment [member]",
        "documentation": "Machinery and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MachineryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MachineryMember",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Machinery [member]",
        "terseLabel": "Machinery and equipment [member]",
        "verboseLabel": "Machinery [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing long-lived, depreciable machinery used in operations. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r339"
     ]
    },
    "ifrs-full_MajorComponentsOfTaxExpenseIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MajorComponentsOfTaxExpenseIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Major components of tax expense (income) [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MajorCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MajorCustomersAxis",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Major customers [axis]",
        "terseLabel": "Major customers [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r313"
     ]
    },
    "ifrs-full_MajorCustomersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MajorCustomersMember",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customers [member]",
        "terseLabel": "Customers [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for customers. It also represents the standard value for the 'Major customers' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r313"
     ]
    },
    "tsm_MarketingExpensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MarketingExpensesMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Marketing Expenses [member]",
        "terseLabel": "Marketing expenses [member]",
        "documentation": "Marketing expenses."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MarketsOfCustomersAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MarketsOfCustomersAxis",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Markets of customers [axis]",
        "terseLabel": "Markets of customers [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r369"
     ]
    },
    "ifrs-full_MarketsOfCustomersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MarketsOfCustomersMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Markets of customers [member]",
        "terseLabel": "Markets of customers [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all markets of customers. It also represents the standard value for the 'Markets of customers' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r369"
     ]
    },
    "ifrs-full_MaterialIncomeAndExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MaterialIncomeAndExpenseAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Material income and expense [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MaturityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MaturityAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsDetailedInformationAboutInMaturityAnalysisForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maturity [axis]",
        "terseLabel": "Maturity [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r31",
      "r212",
      "r224",
      "r226",
      "r229",
      "r230",
      "r232",
      "r238",
      "r261",
      "r284",
      "r345",
      "r380"
     ]
    },
    "tsm_MaximumCapacityThatCanBeUsedUnderAgreement": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MaximumCapacityThatCanBeUsedUnderAgreement",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum capacity that can be used under agreement",
        "terseLabel": "Maximum capacity that can be used as per agreement",
        "documentation": "Maximum capacity that can be used under agreement."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MaximumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MaximumPercentageOfOtherEquityInstrumentsVestedAfterSubjectToPerformanceMetrics": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MaximumPercentageOfOtherEquityInstrumentsVestedAfterSubjectToPerformanceMetrics",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Percentage Of Other Equity Instruments Vested After Subject To Performance Metrics",
        "terseLabel": "Maximum percentage of other equity instruments vested after subject to performance metrics",
        "documentation": "Maximum percentage of other equity instruments vested after subject to performance metrics."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MaximumPercentageOfOtherEquityInstrumentsVestedModifierIncreaseDecreaseSubjectToEntityEnvironmentalSocialAndGovernanceMetricAchievement": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MaximumPercentageOfOtherEquityInstrumentsVestedModifierIncreaseDecreaseSubjectToEntityEnvironmentalSocialAndGovernanceMetricAchievement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Percentage Of Other Equity Instruments Vested Modifier Increase Decrease Subject To Entity Environmental Social And Governance Metric Achievement",
        "terseLabel": "Maximum percentage of other equity instruments vested modifier increase decrease subject to environmental social and governance metric achievement",
        "documentation": "Maximum percentage of other equity instruments vested modifier increase decrease subject to environmental social and governance metric achievement."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MaximumPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MaximumPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum Percentage Of Other Equity Instruments Vested Subject To Entity Total Shareholder Achievement Performance Metric",
        "terseLabel": "Maximum percentage of other equity instruments vested subject to entity total shareholder achievement performance metric",
        "documentation": "Maximum percentage of other equity instruments vested subject to entity total shareholder achievement performance metric."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MaximumPurchaseCapacityRequiredBySingleParty": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MaximumPurchaseCapacityRequiredBySingleParty",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum purchase capacity required by single party",
        "terseLabel": "Maximum purchase capacity required",
        "documentation": "Maximum purchase capacity required by single party."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MeasurementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MeasurementAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsTables",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measurement [axis]",
        "terseLabel": "Measurement [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r146",
      "r150",
      "r198"
     ]
    },
    "tsm_MechanicalAndElectricalPowerEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MechanicalAndElectricalPowerEquipmentMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mechanical and electrical power equipment [member]",
        "terseLabel": "Mechanical and electrical power equipment [member]",
        "documentation": "Mechanical and electrical power equipment."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_MergerReserve": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "MergerReserve",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Merger reserve",
        "terseLabel": "From merger"
       }
      },
      "en": {
       "role": {
        "documentation": "A component of equity that may result in relation to a business combination outside the scope of IFRS 3."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_MethodOfAssessmentOfExpectedCreditLosses": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MethodOfAssessmentOfExpectedCreditLosses",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Method Of Assessment Of Expected Credit Losses",
        "terseLabel": "Basis for Recognizing Expected Credit Loss",
        "documentation": "Method of assessment of expected credit losses."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MinimumCollectivePurchaseCapacityRequired": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MinimumCollectivePurchaseCapacityRequired",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum collective purchase capacity required",
        "terseLabel": "Minimum collective purchase capacity required",
        "documentation": "Minimum collective purchase capacity required."
       }
      }
     },
     "auth_ref": []
    },
    "srt_MinimumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MinimumPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MinimumPercentageOfOtherEquityInstrumentsVestedSubjectToEntityTotalShareholderAchievementPerformanceMetric",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum Percentage Of Other Equity Instruments Vested Subject To Entity Total Shareholder Achievement Performance Metric",
        "terseLabel": "Minimum percentage of other equity instruments vested subject to entity total shareholder achievement performance metric",
        "documentation": "Minimum percentage of other equity instruments vested subject to entity total shareholder achievement performance metric."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MiscellaneousOtherNonDerivativeFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MiscellaneousOtherNonDerivativeFinancialLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Miscellaneous Other Non Derivative Financial Liabilities",
        "terseLabel": "Others",
        "documentation": "Miscellaneous other non derivative financial liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MutualFundsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MutualFundsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Funds [Member]",
        "terseLabel": "Mutual funds [member]",
        "documentation": "Mutual funds [member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_MutualPakMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "MutualPakMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Mutual Pak [Member]",
        "terseLabel": "Mutual-Pak [member]",
        "documentation": "Mutual-Pak."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NXPBVMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NXPBVMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "NXP B.V [member]",
        "terseLabel": "NXP B.V [member]",
        "documentation": "NXP B.V."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NetDefinedBenefitLiabilityAssetAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NetDefinedBenefitLiabilityAssetAxis",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net defined benefit liability (asset) [axis]",
        "terseLabel": "Net defined benefit liability (asset) [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r87"
     ]
    },
    "ifrs-full_NetDefinedBenefitLiabilityAssetMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NetDefinedBenefitLiabilityAssetMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net defined benefit liability (asset) [member]",
        "terseLabel": "Net defined benefit liability (asset) [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the net defined benefit liability (asset). It also represents the standard value for the 'Net defined benefit liability (asset)' axis if no other member is used. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r87"
     ]
    },
    "tsm_NetDefinedBenefitLiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NetDefinedBenefitLiabilityMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Defined Benefit Liability [Member]",
        "terseLabel": "Net defined benefit liability [member]",
        "documentation": "Net defined benefit liability."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NetForeignExchangeGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NetForeignExchangeGainLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": 1.0,
       "order": 24.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Foreign Exchange Gain Loss",
        "terseLabel": "Foreign exchange gain (loss), net",
        "documentation": "Net foreign exchange gain (loss)."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NetInvestmentsInForeignOperationsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NetInvestmentsInForeignOperationsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net investments in foreign operations [Member]",
        "terseLabel": "Net investments in foreign operations [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NewIFRSsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NewIFRSsAxis",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New IFRSs [axis]",
        "terseLabel": "New IFRSs [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "ifrs-full_NewIFRSsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NewIFRSsMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "New IFRSs [member]",
        "terseLabel": "New IFRSs [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for IFRSs that have been issued but are not yet effective. It also represents the standard value for the 'New IFRSs' axis if no other member is used. [Refer: IFRSs [member]]"
       }
      }
     },
     "auth_ref": [
      "r169"
     ]
    },
    "tsm_NinetyNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NinetyNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ninety nanometer [member]",
        "terseLabel": "90-nanometer [member]",
        "documentation": "Ninety nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonAdjustingEventsAfterReportingPeriodMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonAdjustingEventsAfterReportingPeriodMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Adjusting Events After Reporting Period [Member]",
        "terseLabel": "Non Adjusting Events After Reporting Period [Member]",
        "verboseLabel": "Non Adjusting Events After Reporting Period [Member]",
        "documentation": "Non adjusting events after reporting period [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonCashTransactionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonCashTransactionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Cash Transaction [Abstract]",
        "documentation": "Non cash transaction."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonDerivativeFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonDerivativeFinancialLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonderivativeAndDerivativeFinancialInstrumentsNet",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non- derivative financial liabilities",
        "totalLabel": "Non-derivative financial liabilities",
        "documentation": "Non-derivative financial liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonOperatingIncomeExpense1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonOperatingIncomeExpense1",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0,
       "order": 21.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Operating Income Expense1",
        "totalLabel": "Total non-operating income and expenses",
        "documentation": "The aggregate amount of non-operating income (expenses)."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonOperatingIncomeExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonOperatingIncomeExpenseAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non operating income (expense) [abstract]",
        "terseLabel": "NON-OPERATING INCOME AND EXPENSES",
        "documentation": "Non operating income (expense)."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NonadjustingEventsAfterReportingPeriodAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NonadjustingEventsAfterReportingPeriodAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-adjusting events after reporting period [axis]",
        "terseLabel": "Non-adjusting events after reporting period [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ifrs-full_NonadjustingEventsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NonadjustingEventsMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/SignificantSubsequentEventsAdditionalInormationDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-adjusting events after reporting period [member]",
        "terseLabel": "Non-adjusting events after reporting period [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for events that occur between the end of the reporting period and the date when the financial statements are authorised for issue and are indicative of conditions that arose after the reporting period. It also represents the standard value for the 'Non-adjusting events after reporting period' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r63"
     ]
    },
    "ifrs-full_NoncontrollingInterests": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncontrollingInterests",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0,
       "order": 23.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-controlling interests",
        "terseLabel": "NON - CONTROLLING INTERESTS"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of equity in a subsidiary not attributable, directly or indirectly, to a parent. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r26",
      "r175",
      "r178"
     ]
    },
    "ifrs-full_NoncontrollingInterestsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncontrollingInterestsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-controlling interests [member]",
        "terseLabel": "Non-controlling Interests [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for equity in a subsidiary not attributable, directly or indirectly, to the parent."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_NoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0,
       "order": 32.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current assets",
        "totalLabel": "Total noncurrent assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of assets that do not meet the definition of current assets. [Refer: Current assets]"
       }
      }
     },
     "auth_ref": [
      "r32",
      "r185",
      "r362"
     ]
    },
    "ifrs-full_NoncurrentAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentAssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current assets [abstract]",
        "terseLabel": "NONCURRENT ASSETS"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current assets other than financial instruments, deferred tax assets, post-employment benefit assets, and rights arising under insurance contracts",
        "terseLabel": "Non-current Assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current assets other than financial instruments, deferred tax assets, post-employment benefit assets and rights arising under insurance contracts. [Refer: Deferred tax assets; Financial instruments, class [member]; Non-current assets]"
       }
      }
     },
     "auth_ref": [
      "r311"
     ]
    },
    "ifrs-full_NoncurrentFinancialAssetsAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentFinancialAssetsAtAmortisedCost",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 41.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialAssetsAtAmortizedCostScheduleOfFinancialAssetsAtAmortizedCostDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current financial assets at amortised cost",
        "terseLabel": "Financial assets at amortized cost",
        "verboseLabel": "Noncurrent portion"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current financial assets measured at amortised cost. [Refer: Financial assets at amortised cost]"
       }
      }
     },
     "auth_ref": [
      "r290"
     ]
    },
    "ifrs-full_NoncurrentFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentFinancialAssetsAtFairValueThroughProfitOrLossMandatorilyMeasuredAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 33.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossSummaryOfFinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current financial assets at fair value through profit or loss, mandatorily measured at fair value",
        "terseLabel": "Financial assets at fair value through profit or loss",
        "verboseLabel": "Noncurrent"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current financial assets mandatorily measured at fair value through profit or loss in accordance with IFRS 9. [Refer: Financial assets at fair value through profit or loss, mandatorily measured at fair value]"
       }
      }
     },
     "auth_ref": [
      "r288"
     ]
    },
    "ifrs-full_NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail": {
       "parentTag": "ifrs-full_FinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 42.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current financial assets measured at fair value through other comprehensive income",
        "terseLabel": "Financial assets at fair value through other comprehensive income",
        "verboseLabel": "Noncurrent"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current financial assets measured at fair value through other comprehensive income. [Refer: Financial assets measured at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r292"
     ]
    },
    "tsm_NoncurrentGuaranteeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NoncurrentGuaranteeDeposits",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncurrent guarantee deposits",
        "terseLabel": "Guarantee deposits",
        "documentation": "The amount of non-current guarantee deposits."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NoncurrentLeaseLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentLeaseLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail": {
       "parentTag": "ifrs-full_LeaseLiabilities",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/LeaseArrangementsLeaseLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current lease liabilities",
        "definitionGuidance": "Lease liabilities",
        "verboseLabel": "Noncurrent portion"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current lease liabilities. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r215"
     ]
    },
    "ifrs-full_NoncurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_Liabilities",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current liabilities",
        "totalLabel": "Total noncurrent liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of liabilities that do not meet the definition of current liabilities. [Refer: Current liabilities]"
       }
      }
     },
     "auth_ref": [
      "r33",
      "r187",
      "r362"
     ]
    },
    "ifrs-full_NoncurrentLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentLiabilitiesAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current liabilities [abstract]",
        "terseLabel": "NONCURRENT LIABILITIES"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NoncurrentPayablesToTradeSuppliers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentPayablesToTradeSuppliers",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current trade payables",
        "terseLabel": "Payables to contractors and equipment suppliers"
       }
      },
      "en": {
       "role": {
        "documentation": "The non-current amount of payment due to suppliers for goods and services used in the entity's business. [Refer: Trade payables]"
       }
      }
     },
     "auth_ref": [
      "r414"
     ]
    },
    "ifrs-full_NoncurrentPortionOfNoncurrentBondsIssued": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentPortionOfNoncurrentBondsIssued",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 9.0
      },
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableSummaryOfBondsPayableDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current portion of non-current bonds issued",
        "terseLabel": "Bonds payable",
        "totalLabel": "Noncurrent bonds payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The non-current portion of non-current bonds issued. [Refer: Bonds issued]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_NoncurrentRecognisedLiabilitiesDefinedBenefitPlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NoncurrentRecognisedLiabilitiesDefinedBenefitPlan",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 7.0
      },
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current net defined benefit liability",
        "terseLabel": "Net defined benefit liability",
        "totalLabel": "Net defined benefit liability"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current net defined benefit liability. [Refer: Net defined benefit liability]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "tsm_NonderivativeAndDerivativeFinancialInstrumentsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonderivativeAndDerivativeFinancialInstrumentsNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-derivative and derivative financial instruments, Net",
        "totalLabel": "Total non-derivative and derivative financial instruments",
        "documentation": "Non-derivative and derivative financial instruments, net."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonderivativeFinancialInstrumentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonderivativeFinancialInstrumentMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-derivative financial instrument [member]",
        "terseLabel": "Non-derivative financial liabilities [member]",
        "documentation": "Non-derivative financial instrument."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NonpubliclyTradedStocksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NonpubliclyTradedStocksMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-publicly traded stocks [member]",
        "terseLabel": "Non-publicly traded stocks [member]",
        "verboseLabel": "Non-publicly traded equity investments [member]",
        "documentation": "Non-publicly traded stocks."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NotLaterThanOneMonthMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NotLaterThanOneMonthMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Not later than one month [member]",
        "terseLabel": "Past due within 30 days [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of not later than one month."
       }
      }
     },
     "auth_ref": [
      "r379",
      "r383",
      "r390"
     ]
    },
    "ifrs-full_NotLaterThanOneYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NotLaterThanOneYearMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Not later than one year [member]",
        "terseLabel": "Less than 1 year [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a time band of not later than one year."
       }
      }
     },
     "auth_ref": [
      "r30",
      "r224",
      "r226",
      "r238",
      "r380",
      "r390"
     ]
    },
    "ifrs-full_NotMeasuredAtFairValueInStatementOfFinancialPositionButForWhichFairValueIsDisclosedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NotMeasuredAtFairValueInStatementOfFinancialPositionButForWhichFairValueIsDisclosedMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsNotMeasuredAtFairValueButForWhichFairValueIsDisclosedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Not measured at fair value in statement of financial position but for which fair value is disclosed [member]",
        "terseLabel": "Not measured at fair value but for which the fair value is disclosed [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for items not measured at fair value in the statement of financial position but for which fair value is disclosed. [Refer: At fair value [member]]"
       }
      }
     },
     "auth_ref": [
      "r205"
     ]
    },
    "tsm_NoticePeriodForContractTerminations": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NoticePeriodForContractTerminations",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notice period for contract terminations",
        "terseLabel": "Notice period for contract termination",
        "documentation": "Notice period for contract terminations"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NotionalAmount",
     "presentation": [
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Notional amount",
        "terseLabel": "Unsecured loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The nominal or face amount of a financial instrument, used to calculate payments made on that instrument."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "tsm_NumberOfAmericanDepositarySharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NumberOfAmericanDepositarySharesIssued",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of American Depositary Shares issued",
        "terseLabel": "Number of American Depositary Shares issued",
        "documentation": "Number of American Depositary Shares issued."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_NumberOfAmericanDepositarySharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "NumberOfAmericanDepositarySharesOutstanding",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of American Depositary shares outstanding",
        "terseLabel": "Number of American Depositary shares outstanding",
        "documentation": "Number of American Depositary shares outstanding."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsGranted",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of other equity instruments granted in share-based payment arrangement",
        "verboseLabel": "Issuance of stocks",
        "presentationGuidance": "Issuance of units"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) granted in a share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r247",
      "r442"
     ]
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of other equity instruments exercised or vested in share-based payment arrangement",
        "negatedLabel": "Vested shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) exercised or vested in a share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r442"
     ]
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfOtherEquityInstrumentsForfeitedInSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of other equity instruments forfeited in share-based payment arrangement",
        "negatedLabel": "Canceled shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) forfeited in a share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r442"
     ]
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of other equity instruments outstanding in share-based payment arrangement",
        "terseLabel": "Number of shares unvested",
        "periodStartLabel": "Balance, beginning of year",
        "periodEndLabel": "Balance, end of year"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) outstanding in a share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r442"
     ]
    },
    "ifrs-full_NumberOfShareOptionsExercisableInSharebasedPaymentArrangement": {
     "xbrltype": "decimalItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfShareOptionsExercisableInSharebasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of share options exercisable in share-based payment arrangement",
        "terseLabel": "Shares allocated for exercise of employee stock options"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of share options exercisable in a share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r242"
     ]
    },
    "ifrs-full_NumberOfSharesAuthorised": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfSharesAuthorised",
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalStockDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of shares authorised",
        "terseLabel": "Authorized shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of shares authorised."
       }
      }
     },
     "auth_ref": [
      "r36"
     ]
    },
    "ifrs-full_NumberOfSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfSharesIssued",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of shares issued",
        "terseLabel": "Number of shares issued"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of shares issued by the entity."
       }
      }
     },
     "auth_ref": [
      "r408"
     ]
    },
    "ifrs-full_NumberOfSharesIssuedAndFullyPaid": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfSharesIssuedAndFullyPaid",
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalStockDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of shares issued and fully paid",
        "terseLabel": "Issued and paid shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of shares issued by the entity, for which full payment has been received."
       }
      }
     },
     "auth_ref": [
      "r37"
     ]
    },
    "ifrs-full_NumberOfSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "NumberOfSharesOutstanding",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of shares outstanding",
        "periodStartLabel": "Beginning balance, shares",
        "periodEndLabel": "Ending balance, shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares]"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "ifrs-full_OfficeEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OfficeEquipmentMember",
     "presentation": [
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Office equipment [member]",
        "definitionGuidance": "Office equipment [member]",
        "terseLabel": "Office equipment [member]",
        "verboseLabel": "Office equipment [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing equipment used to support office functions, not specifically used in the production process. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r340"
     ]
    },
    "ifrs-full_OperatingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OperatingExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating expense",
        "terseLabel": "Operating expenses"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of all operating expenses."
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "ifrs-full_OperatingExpenseExcludingCostOfSales": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OperatingExpenseExcludingCostOfSales",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLossFromOperatingActivities",
       "weight": -1.0,
       "order": 30.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating expense excluding cost of sales",
        "totalLabel": "Total operating expenses"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of operating expense excluding the cost of sales. [Refer: Cost of sales]"
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "ifrs-full_OrdinarySharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OrdinarySharesMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ordinary shares [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for equity instruments that are subordinate to all other classes of equity instruments. It also represents the standard value for the 'Classes of ordinary shares' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r127",
      "r415"
     ]
    },
    "ifrs-full_OtherAdjustmentsToReconcileProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherAdjustmentsToReconcileProfitLoss",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other adjustments to reconcile profit (loss)",
        "terseLabel": "Others"
       }
      },
      "en": {
       "role": {
        "documentation": "Adjustments to reconcile profit (loss) to net cash flow from (used in) operating activities that the entity does not separately disclose in the same statement or note. [Refer: Adjustments to reconcile profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r154"
     ]
    },
    "ifrs-full_OtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income",
        "totalLabel": "Other comprehensive income (loss) , net of income tax",
        "terseLabel": "Other comprehensive income (loss), net of income tax"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income and expense (including reclassification adjustments) that is not recognised in profit or loss as required or permitted by IFRSs. [Refer: IFRSs [member]]"
       }
      }
     },
     "auth_ref": [
      "r5",
      "r45",
      "r55",
      "r190"
     ]
    },
    "ifrs-full_OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherComprehensiveIncomeBeforeTaxExchangeDifferencesOnTranslation",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income, before tax, exchange differences on translation",
        "terseLabel": "Exchange differences arising on translation of foreign operations"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, before tax, after reclassification adjustments, related to exchange differences on translation of financial statements of foreign operations. [Refer: Other comprehensive income, before tax]"
       }
      }
     },
     "auth_ref": [
      "r34",
      "r56"
     ]
    },
    "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "tsm_DefinedBenefitPlanExpense",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income, before tax, gains (losses) on remeasurements of defined benefit plans",
        "verboseLabel": "Remeasurement of defined benefit obligation",
        "negatedTotalLabel": "Components of defined benefit costs recognized in other comprehensive income (loss)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [member]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r34",
      "r56",
      "r422"
     ]
    },
    "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncome",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income that will be reclassified to profit or loss, net of tax",
        "totalLabel": "Total items that may be reclassified subsequently to profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income that will be reclassified to profit or loss, net of tax. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r332",
      "r333"
     ]
    },
    "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncome",
       "weight": 1.0,
       "order": 12.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income that will not be reclassified to profit or loss, net of tax",
        "totalLabel": "Total items that will not be reclassified subsequently to profit or loss"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income that will not be reclassified to profit or loss, net of tax. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r332",
      "r333"
     ]
    },
    "tsm_OtherCountryMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherCountryMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other country [member]",
        "terseLabel": "Other country [member]",
        "documentation": "Other country."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_OtherCurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherCurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 44.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other current assets",
        "verboseLabel": "Other current assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current assets that the entity does not separately disclose in the same statement or note. [Refer: Current assets]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_OtherCurrentFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherCurrentFinancialAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 45.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other current financial assets",
        "terseLabel": "Other financial assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current financial assets that the entity does not separately disclose in the same statement or note. [Refer: Other financial assets; Current financial assets]"
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "tsm_OtherCurrentReceivablesFromRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherCurrentReceivablesFromRelatedParties",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0,
       "order": 47.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other current receivables from related parties",
        "terseLabel": "Other receivables from related parties",
        "documentation": "The amounts receivable resulting from related party transactions not relating to core business."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_OtherDebtInstrumentsHeld": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherDebtInstrumentsHeld",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other debt instruments held",
        "terseLabel": "Money market funds"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of debt instruments held by the entity that it does not separately disclose in the same statement or note. [Refer: Debt instruments held]"
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_OtherEmployeeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherEmployeeExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other employee expense",
        "terseLabel": "Other employee benefits"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of employee expenses that the entity does not separately disclose in the same statement or note."
       }
      }
     },
     "auth_ref": [
      "r426"
     ]
    },
    "tsm_OtherEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherEquity",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Equity",
        "terseLabel": "Balance in Other Equity (Continuing Hedges)",
        "documentation": "Other equity."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_OtherGainsAndLossesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherGainsAndLossesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Gains and Losses [abstract]",
        "documentation": "Other gains and losses."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_OtherGainsLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherGainsLosses",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": 1.0,
       "order": 22.0
      },
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other gains (losses)",
        "terseLabel": "Other gains and losses, net",
        "totalLabel": "Other gains and losses"
       }
      },
      "en": {
       "role": {
        "documentation": "The gains (losses) that the entity does not separately disclose in the same statement or note."
       }
      }
     },
     "auth_ref": [
      "r406",
      "r407"
     ]
    },
    "tsm_OtherGainsLossesNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherGainsLossesNet",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other gains (losses) net",
        "terseLabel": "Other gains,net",
        "documentation": "Other gains (losses) net."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_OtherManufacturingExpensesRelatedPartyTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherManufacturingExpensesRelatedPartyTransactions",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Manufacturing Expenses Related Party Transactions",
        "terseLabel": "Manufacturing expenses",
        "documentation": "Other manufacturing expenses related party transactions."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_OtherMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other [Member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_OtherNoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherNoncurrentAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 35.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other non-current assets",
        "verboseLabel": "Other noncurrent assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current assets that the entity does not separately disclose in the same statement or note. [Refer: Non-current assets]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_OtherNoncurrentLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherNoncurrentLiabilities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other non-current liabilities",
        "verboseLabel": "Others"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of non-current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Non-current liabilities]"
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_OtherOperatingIncomeExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherOperatingIncomeExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLossFromOperatingActivities",
       "weight": 1.0,
       "order": 29.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other operating income (expense)",
        "terseLabel": "OTHER OPERATING INCOME AND EXPENSES, NET",
        "definitionGuidance": "Other operating income and expenses"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of operating income (expense) that the entity does not separately disclose in the same statement or note."
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "tsm_OtherProductsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OtherProductsMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Products [member]",
        "terseLabel": "Other Products [member]",
        "documentation": "Other products."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_OtherRelatedPartiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherRelatedPartiesMember",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other related parties [member]",
        "terseLabel": "Other related parties [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for related parties that the entity does not separately disclose in the same statement or note. [Refer: Related parties [member]]"
       }
      }
     },
     "auth_ref": [
      "r117"
     ]
    },
    "ifrs-full_OtherReserves": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherReserves",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0,
       "order": 29.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other reserves",
        "terseLabel": "Others",
        "periodStartLabel": "Balance, beginning of year",
        "periodEndLabel": "Balance, end of year"
       }
      },
      "en": {
       "role": {
        "documentation": "A component of equity representing reserves within equity, not including retained earnings. [Refer: Retained earnings]"
       }
      }
     },
     "auth_ref": [
      "r331"
     ]
    },
    "ifrs-full_OtherReservesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherReservesMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other reserves [member]",
        "terseLabel": "Others - Total [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing reserves within equity, not including retained earnings. It also represents the standard value for the 'Reserves within equity' axis if no other member is used. [Refer: Retained earnings]"
       }
      }
     },
     "auth_ref": [
      "r8",
      "r42"
     ]
    },
    "ifrs-full_OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0,
       "order": 1.0
      },
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_CurrentTaxExpenseIncomeAndAdjustmentsForCurrentTaxOfPriorPeriods",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other tax effects for reconciliation between accounting profit and tax expense (income)",
        "terseLabel": "Other income tax adjustments"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that the entity does not separately disclose in the same statement or note. [Refer: Accounting profit; Applicable tax rate]"
       }
      }
     },
     "auth_ref": [
      "r67"
     ]
    },
    "tsm_OthersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OthersMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Others [member]",
        "terseLabel": "Others [member]",
        "documentation": "Others."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_OverseasUnsecuredBondsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "OverseasUnsecuredBondsMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Overseas Unsecured Bonds [Member]",
        "terseLabel": "Overseas unsecured bonds [member]",
        "documentation": "Overseas\u200b unsecured \u200bbonds\u200b."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ParValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ParValuePerShare",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Par value per share",
        "terseLabel": "Common shares par value"
       }
      },
      "en": {
       "role": {
        "documentation": "The nominal value per share."
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "ifrs-full_PastDueStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PastDueStatusAxis",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Past due status [axis]",
        "terseLabel": "Past due status [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r377"
     ]
    },
    "ifrs-full_PastDueStatusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PastDueStatusMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Past due status [member]",
        "terseLabel": "Past due status [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all past-due statuses. It also represents the standard value for the 'Past due status' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r377"
     ]
    },
    "tsm_PatentAndOthersMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PatentAndOthersMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Patent And Others [member]",
        "terseLabel": "Patent and others [member]",
        "documentation": "Patent and others."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PaymentForAcquireOfTreasuryShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PaymentForAcquireOfTreasuryShares",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 58.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment For Acquire Of Treasury Shares",
        "negatedLabel": "Treasury stock acquired",
        "documentation": "Payment for acquire of treasury shares."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PaymentsForDebtIssueCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PaymentsForDebtIssueCosts",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 62.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments for transaction costs attributable to the issuance of bonds",
        "negatedLabel": "Payments for transaction costs attributable to the issuance of bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for debt issue costs."
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "ifrs-full_PaymentsFromPlanNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PaymentsFromPlanNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments from plan, net defined benefit liability (asset)",
        "negatedLabel": "Benefits paid from plan assets",
        "terseLabel": "Benefits paid from plan assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in the net defined benefit liability (asset) resulting from payments from the plan. [Refer: Net defined benefit liability (asset)]"
       }
      }
     },
     "auth_ref": [
      "r94"
     ]
    },
    "ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 64.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments of lease liabilities, classified as financing activities",
        "negatedLabel": "Repayment of the principal portion of lease liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for payment of lease liabilities, classified as financing activities. [Refer: Lease liabilities]"
       }
      }
     },
     "auth_ref": [
      "r354"
     ]
    },
    "tsm_PaymentsProceedsFromChangesInNoncontrollingInterests": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PaymentsProceedsFromChangesInNoncontrollingInterests",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 65.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments Proceeds From Changes In Noncontrolling Interests",
        "negatedLabel": "Increase (decrease) in non-controlling interests",
        "documentation": "Cash inflow (outflow) for changes in noncontrolling interests."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PercentageIncreaseInTheDiscountForLackOfMarketability": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PercentageIncreaseInTheDiscountForLackOfMarketability",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage increase in the discount for lack of marketability",
        "terseLabel": "Percentage increase in the discount for lack of marketability",
        "documentation": "Percentage increase in the discount for lack of marketability."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PercentageMultiplierToPercentagePoints": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PercentageMultiplierToPercentagePoints",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Multiplier to Percentage Points",
        "terseLabel": "Percentage multiplier to percentage points",
        "documentation": "Percentage multiplier to percentage points."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PercentageOfAccountsReceivableFromTopTenCustomers": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PercentageOfAccountsReceivableFromTopTenCustomers",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Accounts Receivable From Top Ten Customers",
        "terseLabel": "Percentage of accounts receivable from ten largest customers",
        "documentation": "Percentage of accounts receivable from the top ten customers."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PercentageOfEntitysRevenue": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PercentageOfEntitysRevenue",
     "presentation": [
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage of entity's revenue",
        "terseLabel": "Percentage of entity's revenue"
       }
      },
      "en": {
       "role": {
        "documentation": "The percentage of the entity's revenue. [Refer: Revenue]"
       }
      }
     },
     "auth_ref": [
      "r445"
     ]
    },
    "tsm_PercentageOfPaidInCapitalOnReserveUsedToOffsetDeficitOrDistributeAsDividendInCashOrStock": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PercentageOfPaidInCapitalOnReserveUsedToOffsetDeficitOrDistributeAsDividendInCashOrStock",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Paid In Capital On Reserve Used To Offset Deficit Or Distribute As Dividend In Cash Or Stock",
        "terseLabel": "Percentage of paid in capital on reserve used to offset deficit or distribute as dividend in cash or stock",
        "documentation": "Legal reserve may be used to offset a deficit, or be distributed as dividends in cash or stocks for the portion in excess of 25% of the paid-in capital if the Company incurs no loss."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PercentageOfReasonablyPossibleDecreaseInActuarialAssumption",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage of reasonably possible decrease in actuarial assumption",
        "terseLabel": "Percentage after decrease in discount rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The reasonably possible percentage of the decrease in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "ifrs-full_PercentageOfReasonablyPossibleIncreaseInActuarialAssumption": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PercentageOfReasonablyPossibleIncreaseInActuarialAssumption",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage of reasonably possible increase in actuarial assumption",
        "verboseLabel": "Percentage of increase in salary rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The reasonably possible percentage of the increase in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [member]]"
       }
      }
     },
     "auth_ref": [
      "r96"
     ]
    },
    "tsm_PercentageOfVestingOfAwardUnderShareBasedPaymentArrangement": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PercentageOfVestingOfAwardUnderShareBasedPaymentArrangement",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Percentage Of Vesting Of Award Under Share Based Payment Arrangement",
        "terseLabel": "Percentage of vesting of award under share-based payment arrangement",
        "documentation": "Percentage of vesting of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PerformanceGuarantees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PerformanceGuarantees",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performance Guarantees",
        "terseLabel": "Performance guarantees",
        "documentation": "Performance guarantees ."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PerformingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PerformingMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Performing [member]",
        "terseLabel": "Performing [member]",
        "documentation": "Performing."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PlanAssetsAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PlanAssetsAtFairValue",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail": {
       "parentTag": "ifrs-full_NoncurrentRecognisedLiabilitiesDefinedBenefitPlan",
       "weight": -1.0,
       "order": 1.0
      },
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsArisingFromDefinedBenefitObligationInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansFairValueOfPlanAssetsByMajorCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan assets, at fair value",
        "negatedLabel": "Fair value of plan assets",
        "totalLabel": "Fair value of plan assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The fair value of defined benefit plan assets. Plan assets comprise assets held by a long-term employee benefit fund and qualifying insurance policies. [Refer: At fair value [member]]"
       }
      }
     },
     "auth_ref": [
      "r427"
     ]
    },
    "ifrs-full_PlanAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PlanAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan assets [member]",
        "terseLabel": "Fair value of plan assets [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for defined benefit plan assets. Plan assets comprise: (a) assets held by a long-term employee benefit fund; and (b) qualifying insurance policies."
       }
      }
     },
     "auth_ref": [
      "r85"
     ]
    },
    "tsm_PlanExpenseBenefitRecognizedInIncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PlanExpenseBenefitRecognizedInIncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Expense Benefit Recognized In Income Statement [abstract]",
        "documentation": "Plan Expense Benefit Recognized In Income Statement [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Axis]",
        "documentation": "Plan name."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PlanNameMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PlanNameMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plan Name [Member]",
        "documentation": "Plan name."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PlantsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PlantsMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Plants [member]",
        "terseLabel": "Main plants [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for plants."
       }
      }
     },
     "auth_ref": [
      "r434"
     ]
    },
    "tsm_PostEmploymentBenefitExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PostEmploymentBenefitExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post Employment Benefit Expense",
        "verboseLabel": "Post-employment benefits",
        "documentation": "The amount of post-employment benefit expense."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PostemploymentBenefitExpenseDefinedBenefitPlans",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "tsm_DefinedBenefitPlanExpense",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-employment benefit expense, defined benefit plans",
        "totalLabel": "Components of defined benefit costs recognized in profit or loss",
        "terseLabel": "Defined benefit cost recognized in the income statement",
        "verboseLabel": "Defined benefit plans"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of post-employment benefit expense included in profit or loss relating to defined benefit plans. [Refer: Profit (loss); Defined benefit plans [member]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from expense (income) in profit or loss]"
       }
      }
     },
     "auth_ref": [
      "r422",
      "r426"
     ]
    },
    "ifrs-full_PostemploymentBenefitExpenseDefinedContributionPlans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PostemploymentBenefitExpenseDefinedContributionPlans",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfAdditionalInformationOfExpensesByNatureDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Post-employment benefit expense, defined contribution plans",
        "verboseLabel": "Defined contribution plans expense",
        "terseLabel": "Defined contribution plans"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of post-employment benefit expense relating to defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods."
       }
      }
     },
     "auth_ref": [
      "r100"
     ]
    },
    "ifrs-full_PresentValueOfDefinedBenefitObligationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PresentValueOfDefinedBenefitObligationMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInPresentValueOfDefinedBenefitObligationDetail",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Present value of defined benefit obligation [member]",
        "terseLabel": "Present value of defined benefit obligation [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the present value of a defined benefit obligation. The present value of a defined benefit obligation is the present value, without deducting any plan assets, of expected future payments required to settle the obligation resulting from employee service in the current and prior periods."
       }
      }
     },
     "auth_ref": [
      "r86"
     ]
    },
    "ifrs-full_PresentationOfLeasesForLesseeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PresentationOfLeasesForLesseeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Presentation of leases for lessee [abstract]",
        "verboseLabel": "Presentation of leases for lessee [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PrincipalPlaceOfBusinessOfAssociate": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PrincipalPlaceOfBusinessOfAssociate",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal place of business of associate",
        "terseLabel": "Place of Incorporation and Operation"
       }
      },
      "en": {
       "role": {
        "documentation": "The principal place of business of an associate. [Refer: Principal place of business; Associates [member]]"
       }
      }
     },
     "auth_ref": [
      "r121",
      "r124",
      "r181"
     ]
    },
    "ifrs-full_PrincipalPlaceOfBusinessOfSubsidiary": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PrincipalPlaceOfBusinessOfSubsidiary",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal place of business of subsidiary",
        "terseLabel": "Establishment and Operating Location"
       }
      },
      "en": {
       "role": {
        "documentation": "The principal place of business of a subsidiary. [Refer: Principal place of business; Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r121",
      "r124",
      "r176",
      "r179"
     ]
    },
    "ifrs-full_ProbabilityOfDefaultAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProbabilityOfDefaultAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Probability of default [axis]",
        "terseLabel": "Probability of default [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r376",
      "r388"
     ]
    },
    "ifrs-full_ProbabilityOfDefaultMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProbabilityOfDefaultMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Probability of default [member]",
        "terseLabel": "In default [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all probabilities of default."
       }
      }
     },
     "auth_ref": [
      "r376",
      "r388"
     ]
    },
    "ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromChangesInOwnershipInterestsInSubsidiaries",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 61.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from changes in ownership interests in subsidiaries that do not result in loss of control",
        "terseLabel": "Disposal of ownership interests in subsidiaries (without losing control)"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from changes in ownership interests in subsidiaries that do not result in a loss of control. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r158",
      "r159"
     ]
    },
    "tsm_ProceedsFromFinancialAssetsAtAmortizedCostsClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromFinancialAssetsAtAmortizedCostsClassifiedAsInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 50.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from financial assets at amortized costs classified as investing activities",
        "negatedLabel": "Proceeds from disposal or redemption of financial assets at amortized cost",
        "documentation": "The cash inflow from disposal or redemption of financial assets at amortized cost."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ProceedsFromFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAtLevel3": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAtLevel3",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Financial Assets At Fair Value Through Other Comprehensive Income At Level3",
        "negatedLabel": "Disposals and proceeds from return of capital of investments",
        "documentation": "Proceeds from financial assets at fair value through other comprehensive income measured at level 3."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ProceedsFromFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeClassifiedAsInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 51.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "proceeds from financial assets at fair value through other comprehensive income classified as investing activities",
        "negatedLabel": "Proceeds from disposal or redemption of financial assets at fair value through other comprehensive income",
        "documentation": "The cash inflow from disposal or redemption of financial assets at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProceedsFromGovernmentGrantsClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromGovernmentGrantsClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 44.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from government grants, classified as investing activities",
        "terseLabel": "Proceeds from government grants"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from government grants, classified as investing activities. [Refer: Government [member]; Government grants]"
       }
      }
     },
     "auth_ref": [
      "r429"
     ]
    },
    "tsm_ProceedsFromHedgingFinancialLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromHedgingFinancialLiabilities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 60.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Hedging Financial Liabilities",
        "terseLabel": "Increase in hedging financial liabilities - bank loans",
        "documentation": "Proceeds from hedging financial liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ProceedsFromIntangibleAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromIntangibleAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 48.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from Intangible Assets",
        "terseLabel": "Proceeds from disposal or redemption of intangible assets",
        "documentation": "The cash inflow from disposal or redemption of intangible assets, classified as investing activities. [Refer: Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromIssueOfBondsNotesAndDebentures",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 63.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from issuance of bonds",
        "terseLabel": "Proceeds from issuance of bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from the issuing of bonds, notes and debentures."
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "ifrs-full_ProceedsFromIssuingShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromIssuingShares",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from issuing shares",
        "terseLabel": "Proceeds from sale of shares"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from issuing shares."
       }
      }
     },
     "auth_ref": [
      "r353"
     ]
    },
    "ifrs-full_ProceedsFromNoncurrentBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromNoncurrentBorrowings",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0,
       "order": 71.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from non-current borrowings",
        "terseLabel": "Proceeds from long-term bank loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from non-current borrowings obtained. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "tsm_ProceedsFromReturnOfCapitalOfInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromReturnOfCapitalOfInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 47.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from return of capital of investments in equity instruments at fair value through other comprehensive income",
        "terseLabel": "Proceeds from return of capital of investments in equity instruments at fair value through other comprehensive income",
        "documentation": "The cash inflow from the return of capital of investments in equity instruments at fair value through other comprehensive income. [Refer: Investments in equity instruments at fair value through other comprehensive income]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProceedsFromSalesOfInvestmentsAccountedForUsingEquityMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromSalesOfInvestmentsAccountedForUsingEquityMethod",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 38.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from sales of investments accounted for using equity method",
        "terseLabel": "Proceeds from disposal or redemption of investments accounted for using equity method"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from sales of investments accounted for using the equity method. [Refer: Investments accounted for using equity method]"
       }
      }
     },
     "auth_ref": [
      "r435"
     ]
    },
    "ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0,
       "order": 49.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from sales of property, plant and equipment, classified as investing activities",
        "terseLabel": "Proceeds from disposal or redemption of property, plant and equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash inflow from sales of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r350"
     ]
    },
    "tsm_ProceedsFromdisposalOrMaturityOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProceedsFromdisposalOrMaturityOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds From Disposal Or Maturity Of Financial Assets At Fair Value Through Other Comprehensive Income",
        "terseLabel": "Proceeds from disposal of financial assets at FVTOCI",
        "documentation": "Proceeds from disposal or maturity of financial assets at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProductsAndServicesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProductsAndServicesAxis",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Products and services [axis]",
        "terseLabel": "Products and services [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r309",
      "r367"
     ]
    },
    "ifrs-full_ProductsAndServicesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProductsAndServicesMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Products and services [member]",
        "terseLabel": "Products and services [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the entity's products and services. It also represents the standard value for the 'Products and services' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r309",
      "r367"
     ]
    },
    "ifrs-full_ProfitLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLoss",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0,
       "order": 18.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss)",
        "totalLabel": "NET INCOME",
        "terseLabel": "Net income"
       }
      },
      "en": {
       "role": {
        "documentation": "The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r4",
      "r44",
      "r153",
      "r172",
      "r174",
      "r302",
      "r305",
      "r362",
      "r371"
     ]
    },
    "ifrs-full_ProfitLossAttributableToAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossAttributableToAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to [abstract]",
        "terseLabel": "NET INCOME (LOSS) ATTRIBUTABLE TO:"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProfitLossAttributableToNoncontrollingInterests": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossAttributableToNoncontrollingInterests",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to non-controlling interests",
        "terseLabel": "Non-controlling interests"
       }
      },
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing and discontinued operations attributable to non-controlling interests. [Refer: Profit (loss); Non-controlling interests]"
       }
      }
     },
     "auth_ref": [
      "r47",
      "r177"
     ]
    },
    "ifrs-full_ProfitLossAttributableToOwnersOfParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossAttributableToOwnersOfParent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeAlternate1": {
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to owners of parent",
        "terseLabel": "Shareholders of the parent"
       }
      },
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing and discontinued operations attributable to owners of the parent. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "ifrs-full_ProfitLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 8.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0,
       "order": 20.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss) before tax",
        "totalLabel": "INCOME BEFORE INCOME TAX",
        "terseLabel": "Income before income tax"
       }
      },
      "en": {
       "role": {
        "documentation": "The profit (loss) before tax expense or income. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r253",
      "r324",
      "r325",
      "r392",
      "r393"
     ]
    },
    "ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss) from continuing operations attributable to ordinary equity holders of parent entity",
        "terseLabel": "Net income available to common shareholders of the parent"
       }
      },
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing operations attributable to ordinary equity holders of the parent entity. [Refer: Continuing operations [member]; Profit (loss) from continuing operations]"
       }
      }
     },
     "auth_ref": [
      "r129"
     ]
    },
    "ifrs-full_ProfitLossFromOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProfitLossFromOperatingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0,
       "order": 28.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss) from operating activities",
        "totalLabel": "INCOME FROM OPERATIONS"
       }
      },
      "en": {
       "role": {
        "documentation": "The profit (loss) from operating activities of the entity. [Refer: Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r347",
      "r416"
     ]
    },
    "tsm_ProfitSharingBonus": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProfitSharingBonus",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit Sharing Bonus",
        "terseLabel": "Profit sharing bonus to employees",
        "documentation": "Profit sharing bonus."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ProfitSharingBonusPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProfitSharingBonusPercentage",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit sharing bonus Percentage",
        "terseLabel": "Profit sharing bonus, percentage",
        "documentation": "Profit sharing bonus percentage."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipment",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 39.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment",
        "terseLabel": "Property, plant and equipment",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of tangible assets that: (a) are held for use in the production or supply of goods or services, for rental to others, or for administrative purposes; and (b) are expected to be used during more than one period. Note that right-of-use assets are not included. [Contrast: Property, plant and equipment including right-of-use assets]"
       }
      }
     },
     "auth_ref": [
      "r18",
      "r80"
     ]
    },
    "ifrs-full_PropertyPlantAndEquipmentByOperatingLeaseStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipmentByOperatingLeaseStatusAxis",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment by operating lease status [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r225"
     ]
    },
    "ifrs-full_PropertyPlantAndEquipmentByOperatingLeaseStatusMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipmentByOperatingLeaseStatusMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment by operating lease status [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all property, plant and equipment when disaggregated by the operating lease status by a lessor. It also represents the standard value for the 'Property, plant and equipment by operating lease status' axis if no other member is used. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r225"
     ]
    },
    "tsm_PropertyPlantAndEquipmentIncludingSubjectAndNotSubjectToOperatingLeasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PropertyPlantAndEquipmentIncludingSubjectAndNotSubjectToOperatingLeasesMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property plant and equipment including subject and not subject to operating leases [Member]",
        "verboseLabel": "Property plant and equipment including subject and not subject to operating leases [member]",
        "documentation": "Property plant and equipment including subject and not subject to operating leases [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PropertyPlantAndEquipmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipmentMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment [member]",
        "terseLabel": "Property, plant and equipment [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for property, plant and equipment. It also represents the standard value for the 'Classes of property, plant and equipment' axis if no other member is used. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r81",
      "r348",
      "r370"
     ]
    },
    "ifrs-full_PropertyPlantAndEquipmentNotSubjectToOperatingLeasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipmentNotSubjectToOperatingLeasesMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfAssetsUsedByTheCompanyDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment not subject to operating leases [member]",
        "verboseLabel": "Asset used by the Company [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for property, plant and equipment that is not subject to operating leases. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r225"
     ]
    },
    "ifrs-full_PropertyPlantAndEquipmentSubjectToOperatingLeasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PropertyPlantAndEquipmentSubjectToOperatingLeasesMember",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentSummaryOfPropertyPlantAndEquipmentDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, plant and equipment subject to operating leases [member]",
        "verboseLabel": "Asset subject to operating lease [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for property, plant and equipment that is subject to operating leases. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r225"
     ]
    },
    "tsm_ProportionOfOwnershipInterestAndVotingRights": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ProportionOfOwnershipInterestAndVotingRights",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proportion Of Ownership Interest And Voting Rights",
        "definitionGuidance": "Proportion of voting rights",
        "terseLabel": "% of Ownership and Voting Rights Held by the Company",
        "documentation": "Proportion Of Ownership Interest And Voting Rights"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ProportionOfOwnershipInterestInJointVenture": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProportionOfOwnershipInterestInJointVenture",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proportion of ownership interest in joint venture",
        "terseLabel": "Equity interest in joint venture"
       }
      },
      "en": {
       "role": {
        "documentation": "The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Joint ventures [member]]"
       }
      }
     },
     "auth_ref": [
      "r122",
      "r125",
      "r182"
     ]
    },
    "ifrs-full_ProportionOfOwnershipInterestInSubsidiary": {
     "xbrltype": "percentItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ProportionOfOwnershipInterestInSubsidiary",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proportion of ownership interest in subsidiary",
        "terseLabel": "Percentage of Ownership"
       }
      },
      "en": {
       "role": {
        "documentation": "The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]]"
       }
      }
     },
     "auth_ref": [
      "r122",
      "r125",
      "r180"
     ]
    },
    "tsm_PubliclyTradedStocksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PubliclyTradedStocksMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeSummaryOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Publicly traded stocks [member]",
        "terseLabel": "Publicly traded stocks [member]",
        "documentation": "Publicly traded stocks."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PurchaseOfFinancialAssetsAtAmortisedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PurchaseOfFinancialAssetsAtAmortisedCost",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 54.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of Financial Assets At Amortised Cost",
        "negatedLabel": "Acquisitions of financial assets at amortized cost",
        "documentation": "The cash outflow for the purchase of financial assets at amortized cost. [Refer: Financial instruments at amortized cost]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PurchaseOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PurchaseOfFinancialAssetsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 55.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of financial assets at fair value through other comprehensive income",
        "negatedLabel": "Acquisitions of financial assets at fair value through other comprehensive income",
        "terseLabel": "Payments for acquisition of financial assets at FVTOCI",
        "documentation": "The cash outflow for the purchase of financial assets at fair value through other comprehensive income. [Refer:Financial assets at fair value through other comprehensive income]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_PurchaseOfFinancialAssetsAtFairValueThroughProfitOrLossDebtInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "PurchaseOfFinancialAssetsAtFairValueThroughProfitOrLossDebtInstruments",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 56.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of Financial Assets at Fair Value Through Profit or Loss Debt Instruments",
        "negatedLabel": "Acquisitions of financial instruments at fair value through profit or loss - debt instruments",
        "documentation": "The cash outflow for the purchase of financial assets at fair value through profit or loss debt instruments. [Refer: Financial instruments at fair value through profit or loss]."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 52.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of intangible assets, classified as investing activities",
        "negatedLabel": "Acquisitions of intangible assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of intangible assets, classified as investing activities. [Refer: Intangible assets other than goodwill]"
       }
      }
     },
     "auth_ref": [
      "r349"
     ]
    },
    "ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": -1.0,
       "order": 53.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchase of property, plant and equipment, classified as investing activities",
        "negatedLabel": "Acquisitions of property, plant and equipment",
        "terseLabel": "Payments for acquisition of property, plant and equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r349"
     ]
    },
    "ifrs-full_PurchasesOfGoodsRelatedPartyTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "PurchasesOfGoodsRelatedPartyTransactions",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Purchases of goods, related party transactions",
        "terseLabel": "Purchases"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of goods purchased by the entity in related party transactions. [Refer: Related parties [member]]"
       }
      }
     },
     "auth_ref": [
      "r346"
     ]
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Range [axis]",
        "terseLabel": "Range [axis]",
        "verboseLabel": "Range [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r232",
      "r243",
      "r364",
      "r366",
      "r444"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RangesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RangesMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail",
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ranges [member]",
        "terseLabel": "Ranges [member]",
        "verboseLabel": "Ranges [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for aggregate ranges. It also represents the standard value for the 'Range' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r232",
      "r243",
      "r364",
      "r366",
      "r444"
     ]
    },
    "ifrs-full_RawMaterials": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RawMaterials",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail": {
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current raw materials",
        "terseLabel": "Raw materials"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of assets to be consumed in the production process or in the rendering of services. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r330",
      "r428"
     ]
    },
    "ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reclassification adjustments on cash flow hedges, before tax",
        "negatedLabel": "Transferred to initial carrying amount of hedged items"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of reclassification adjustments related to cash flow hedges, before tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods. [Refer: Cash flow hedges [member]; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r58"
     ]
    },
    "ifrs-full_ReconciliationOfAccountingProfitMultipliedByApplicableTaxRatesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReconciliationOfAccountingProfitMultipliedByApplicableTaxRatesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of accounting profit multiplied by applicable tax rates [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RecurringFairValueMeasurementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RecurringFairValueMeasurementMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recurring fair value measurement [member]",
        "terseLabel": "Measured at fair value on a recurring basis [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for fair value measurements which other IFRSs require or permit in the statement of financial position at the end of each reporting period. [Refer: IFRSs [member]]"
       }
      }
     },
     "auth_ref": [
      "r198"
     ]
    },
    "tsm_RefundLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "RefundLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueRefundLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Refund liabilities",
        "documentation": "Refund liabilities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_RefundLiabilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "RefundLiabilityMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Refund Liability [Member]",
        "terseLabel": "Refund liability [member]",
        "documentation": "Refund liability."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RepaymentsOfBondsNotesAndDebentures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RepaymentsOfBondsNotesAndDebentures",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 72.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of bonds, notes and debentures",
        "negatedLabel": "Repayment of bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for repayments of bonds, notes and debentures."
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "ifrs-full_RepaymentsOfNoncurrentBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RepaymentsOfNoncurrentBorrowings",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": -1.0,
       "order": 59.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of non-current borrowings",
        "negatedLabel": "Repayment of long-term bank loans"
       }
      },
      "en": {
       "role": {
        "documentation": "The cash outflow for repayments of non-current borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r436"
     ]
    },
    "ifrs-full_ResearchAndDevelopmentExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ResearchAndDevelopmentExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OperatingExpenseExcludingCostOfSales",
       "weight": 1.0,
       "order": 33.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Research and development expense",
        "terseLabel": "Research and development"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expenditure directly attributable to research or development activities, recognised in profit or loss."
       }
      }
     },
     "auth_ref": [
      "r141"
     ]
    },
    "tsm_ResearchAndDevelopmentExpensesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ResearchAndDevelopmentExpensesMember",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansPensionCostsOfDefinedBenefitPlansRecognizedInProfitOrLossByCategoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Research and development expenses [member]",
        "terseLabel": "Research and development expenses [member]",
        "documentation": "Research and development expenses."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromDifferenceBetweenConsiderationReceivedAndCarryingAmountOfTheSubsidiariesNetAssetsDuringActualDisposal": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromDifferenceBetweenConsiderationReceivedAndCarryingAmountOfTheSubsidiariesNetAssetsDuringActualDisposal",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Difference Between Consideration Received And Carrying Amount Of The Subsidiaries Net Assets During Actual Disposal",
        "terseLabel": "From difference between the consideration received and the carrying amount of the subsidiaries' net assets during actual disposal",
        "documentation": "Reserve from difference between the consideration received and the carrying amount of the subsidiaries net assets during actual disposal."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromDonationsByShareholders": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromDonationsByShareholders",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Donations By ShareHolders",
        "terseLabel": "Donations - donated by shareholders",
        "documentation": "Reserve from donations by shareHolders."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromDonationsByUnclaimedDividend": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromDonationsByUnclaimedDividend",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Donations By Unclaimed Dividend",
        "terseLabel": "Donations - unclaimed dividend",
        "documentation": "Reserve from donations by unclaimed dividend."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromEmployeeRestrictedShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromEmployeeRestrictedShares",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Employee Restricted Shares",
        "terseLabel": "Employee restricted shares",
        "documentation": "Reserve from employee restricted shares."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromShareOfChangesInEquitiesOfAssociates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromShareOfChangesInEquitiesOfAssociates",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Share of Changes in Equities of Associates",
        "terseLabel": "From share of changes in equities of associates",
        "documentation": "Reserve from share of changes in equities of associates."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReserveFromShareOfChangesInEquitiesOfSubsidiaries": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReserveFromShareOfChangesInEquitiesOfSubsidiaries",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 6.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve From Share of Changes in Equities of Subsidiaries",
        "terseLabel": "From share of changes in equities of subsidiaries",
        "documentation": "Reserve from share of changes in equities of subsidiaries."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ReserveOfEquityComponentOfConvertibleInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReserveOfEquityComponentOfConvertibleInstruments",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail": {
       "parentTag": "tsm_CapitalSurplus",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/EquitySummaryOfCapitalSurplusDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve of equity component of convertible instruments",
        "terseLabel": "From convertible bonds"
       }
      },
      "en": {
       "role": {
        "documentation": "A component of equity representing components of convertible instruments classified as equity."
       }
      }
     },
     "auth_ref": [
      "r413"
     ]
    },
    "ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReserveOfExchangeDifferencesOnTranslationMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve of exchange differences on translation [member]",
        "terseLabel": "Others - Foreign Currency Translation Reserve [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing accumulated exchange differences on the translation of financial statements recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r108",
      "r326"
     ]
    },
    "ifrs-full_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve of gains and losses on financial assets measured at fair value through other comprehensive income [member]",
        "terseLabel": "Other - Unrealized Gain (Loss) on Financial Assets at Fair Value Through Other Comprehensive Income [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing the accumulated gains and losses on financial assets measured at fair value through other comprehensive income. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income]"
       }
      }
     },
     "auth_ref": [
      "r326"
     ]
    },
    "ifrs-full_ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstrumentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstrumentsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve of gains and losses on hedging instruments that hedge investments in equity instruments [member]",
        "terseLabel": "Other - Gain (Loss) on Hedging Instruments [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing the accumulated gains and losses on hedging instruments that hedge investments in equity instruments that the entity has designated at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": [
      "r326"
     ]
    },
    "ifrs-full_ReserveOfSharebasedPaymentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReserveOfSharebasedPaymentsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reserve of share-based payments [member]",
        "verboseLabel": "Others - Unearned Stock-Based Employee Compensation [member]",
        "terseLabel": "Others - Stock-Based Employee Compensation [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity resulting from share-based payments."
       }
      }
     },
     "auth_ref": [
      "r326"
     ]
    },
    "tsm_ResolutionDateOfBoardMeeting": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ResolutionDateOfBoardMeeting",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureSummaryOfProfitSharingBonusToEmployeesAndCompensationToDirectorsDetail",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Resolution Date Of Board Meeting",
        "verboseLabel": "Resolution date of TSMC's Board of Directors in its meeting",
        "definitionGuidance": "Resolution Date of TSMC's Board of Directors in its meeting",
        "terseLabel": "Resolution date of TSMC's Board of Directors in its meeting",
        "documentation": "Resolution date of board meeting."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ResolutionDateOfShareHoldersMeeting": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ResolutionDateOfShareHoldersMeeting",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Resolution Date Of Share Holders Meeting",
        "verboseLabel": "Resolution Date of TSMC's shareholders in its meeting",
        "terseLabel": "Resolution Date of TSMC's Board of Directors in its meeting",
        "documentation": "Resolution date of share holders meeting."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RestatedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RestatedMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Currently stated [member]",
        "terseLabel": "Currently stated [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the information currently stated in the financial statements. It also represents the standard value for the 'Retrospective application and retrospective restatement' and 'Departure from requirement of IFRS' axes if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r167",
      "r168",
      "r170",
      "r231",
      "r412"
     ]
    },
    "tsm_RestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "RestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Restricted Stock Award [Member]",
        "documentation": "Restricted stock award."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RetainedEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RetainedEarnings",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0,
       "order": 25.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained earnings",
        "totalLabel": "Total retained earnings"
       }
      },
      "en": {
       "role": {
        "documentation": "A component of equity representing the entity's cumulative undistributed earnings or deficit."
       }
      }
     },
     "auth_ref": [
      "r331",
      "r333"
     ]
    },
    "ifrs-full_RetainedEarningsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RetainedEarningsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained earnings [abstract]",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retained earnings [member]",
        "terseLabel": "Retained Earnings [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing an entity's cumulative undistributed earnings or deficit."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r326"
     ]
    },
    "ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RetrospectiveApplicationAndRetrospectiveRestatementAxis",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retrospective application and retrospective restatement [axis]",
        "terseLabel": "Retrospective application and retrospective restatement [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r167",
      "r168",
      "r170"
     ]
    },
    "tsm_ReturnOnPlanAssetsExcludingInterestIncomeNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReturnOnPlanAssetsExcludingInterestIncomeNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansMovementsInFairValueOfPlanAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return On Plan Assets Excluding Interest Income Net Defined Benefit Liability Asset",
        "terseLabel": "Return on plan assets (excluding amounts included in net interest expense)",
        "documentation": "Return on plan assets excluding interest income, net defined benefit liability (asset)."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReturnOnPlanAssetsNetDefinedBenefitLiabilityAsset",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
       "weight": -1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAmountsRecognizedInConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncomeOfDefinedBenefitPlansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Return on plan assets excluding interest income or expense, net defined benefit liability (asset)",
        "terseLabel": "Return on plan assets (excluding amounts included in net interest expense)"
       }
      },
      "en": {
       "role": {
        "documentation": "The decrease (increase) in the net defined benefit liability (asset) resulting from the return on plan assets, excluding amounts included in interest income or expense. The return on plan assets is interest, dividends and other revenue derived from the plan assets, together with realised and unrealised gains or losses on the plan assets, less any costs of managing plan assets and less any tax payable by the plan itself, other than tax included in the actuarial assumptions used to measure the present value of the defined benefit obligation. [Refer: Plan assets [member]; Net defined benefit liability (asset); Actuarial assumptions [member]; Increase (decrease) in net defined benefit liability (asset) resulting from interest expense (income)]"
       }
      }
     },
     "auth_ref": [
      "r90"
     ]
    },
    "ifrs-full_Revenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "Revenue",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_GrossProfit",
       "weight": 1.0,
       "order": 36.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/OperatingSegmentsInformationMajorCustomersRepresentingAtLeast10PercentOfNetRevenueDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue",
        "terseLabel": "NET REVENUE"
       }
      },
      "en": {
       "role": {
        "documentation": "The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims."
       }
      }
     },
     "auth_ref": [
      "r51",
      "r189",
      "r253",
      "r299",
      "r304",
      "r309",
      "r310",
      "r313",
      "r324",
      "r325",
      "r362"
     ]
    },
    "ifrs-full_RevenueFromContractsWithCustomers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RevenueFromContractsWithCustomers",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueAdditionalInformationDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from contracts with customers",
        "terseLabel": "Revenue from contracts with customers"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of revenue from contracts with customers. A customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity\u2019s ordinary activities in exchange for consideration."
       }
      }
     },
     "auth_ref": [
      "r208",
      "r209"
     ]
    },
    "ifrs-full_RevenueFromDividends": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RevenueFromDividends",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Dividend income",
        "negatedLabel": "Dividend income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as income. Dividends are distributions of profits to holders of equity investments in proportion to their holdings of a particular class of capital."
       }
      }
     },
     "auth_ref": [
      "r410"
     ]
    },
    "ifrs-full_RevenueFromGovernmentGrants": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RevenueFromGovernmentGrants",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/GovernmentGrantsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income from government grants",
        "terseLabel": "Government Grants"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income recognised in relation to government grants. [Refer: Government grants]"
       }
      }
     },
     "auth_ref": [
      "r430"
     ]
    },
    "ifrs-full_RevenueFromInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RevenueFromInterest",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 17.0
      },
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/InterestIncomeSummaryOfInterestIncomeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest income",
        "negatedLabel": "Interest income",
        "totalLabel": "Interest income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of income arising from interest."
       }
      }
     },
     "auth_ref": [
      "r192",
      "r300",
      "r308",
      "r410"
     ]
    },
    "ifrs-full_RevenueFromSaleOfGoodsRelatedPartyTransactions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RevenueFromSaleOfGoodsRelatedPartyTransactions",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenue from sale of goods, related party transactions",
        "terseLabel": "Net revenue from sale of goods"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of revenue arising from the sale of goods in related party transactions. [Refer: Revenue; Related parties [member]]"
       }
      }
     },
     "auth_ref": [
      "r346"
     ]
    },
    "tsm_ReversalAllowanceAccountForCreditLossesOfFinancialAssetsAtAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReversalAllowanceAccountForCreditLossesOfFinancialAssetsAtAmortizedCost",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reversal, allowance account for credit losses of financial assets at amortized cost",
        "terseLabel": "Financial assets at amortized cost",
        "documentation": "Reversal, allowance account for credit losses of financial assets at amortized cost."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReversalAllowanceAccountForCreditLossesOfFinancialAssetsInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReversalAllowanceAccountForCreditLossesOfFinancialAssetsInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail": {
       "parentTag": "ifrs-full_OtherGainsLosses",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reversal, allowance account for credit losses of financial assets investments in debt instruments at fair value through other comprehensive income",
        "terseLabel": "Investments in debt instruments at FVTOCI",
        "documentation": "Reversal, allowance account for credit losses of financial assets investments in debt instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ReversalOfExpectedCreditLossOfFinancialAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReversalOfExpectedCreditLossOfFinancialAssetsAbstract",
     "presentation": [
      "http://www.tsmc.com/role/OtherGainsAndLossesSummaryOfOtherGainsAndLossesNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reversal of expected credit loss of financial assets [abstract]",
        "terseLabel": "The reversal (accrual) of expected credit loss of financial assets",
        "documentation": "Reversal of expected credit loss of financial assets."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ReversalOfImpairmentLossRecognisedInProfitOrLossPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ReversalOfImpairmentLossRecognisedInProfitOrLossPropertyPlantAndEquipment",
     "presentation": [
      "http://www.tsmc.com/role/PropertyPlantAndEquipmentAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reversal of impairment loss recognised in profit or loss, property, plant and equipment",
        "terseLabel": "Reversal of impairment"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of reversal of impairment loss recognised in profit or loss for property, plant and equipment. [Refer: Reversal of impairment loss recognised in profit or loss; Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r59",
      "r78"
     ]
    },
    "tsm_ReversalWriteoffAllowanceAccountForCreditLossesOfFinancialAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ReversalWriteoffAllowanceAccountForCreditLossesOfFinancialAssets",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetMovementsOfAllowanceForDoubtfulReceivablesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reversal Write-off, allowance account for credit losses of financial assets",
        "negatedLabel": "Reversal/Write-off",
        "documentation": "The (decrease) increase in an allowance account for credit losses of financial assets resulting from reversals and write-offs."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_RightofuseAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RightofuseAssets",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0,
       "order": 34.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/LeaseArrangementsRightOfUseAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Right-of-use assets",
        "verboseLabel": "Right-of-use assets"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of assets that represent a lessee's right to use an underlying asset for the lease term that do not meet the definition of investment property. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee."
       }
      }
     },
     "auth_ref": [
      "r214",
      "r221"
     ]
    },
    "ifrs-full_RightofuseAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RightofuseAssetsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Right-of-use assets [member]",
        "terseLabel": "Land use right and others [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for right-of-use assets. [Refer: Right-of-use assets]"
       }
      }
     },
     "auth_ref": [
      "r213"
     ]
    },
    "ifrs-full_RiskExposureAssociatedWithInstrumentsSharingCharacteristic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "RiskExposureAssociatedWithInstrumentsSharingCharacteristic",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk exposure associated with instruments sharing characteristic",
        "terseLabel": "Assumed change in risk, monetary effect"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of risk exposure associated with financial instruments with a shared characteristic that identifies a concentration of risks. [Refer: Financial instruments, class [member]]"
       }
      }
     },
     "auth_ref": [
      "r296"
     ]
    },
    "tsm_RiskExposureAssociatedWithInstrumentsSharingCharacteristicPercentageChangeInRisk": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "RiskExposureAssociatedWithInstrumentsSharingCharacteristicPercentageChangeInRisk",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risk exposure associated with instruments sharing characteristic, percentage change in risk",
        "terseLabel": "Assumed change in risk",
        "documentation": "Risk exposure associated with instruments sharing characteristic, percentage change in risk"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SalaryAndBonusPayableEmployeeBenefitsAccruals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SalaryAndBonusPayableEmployeeBenefitsAccruals",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 17.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Salary and bonus payable, employee benefits accruals",
        "terseLabel": "Salary and bonus payable",
        "documentation": "Salary and bonus payable, employee benefits accruals."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SaleOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SaleOfStockAxis",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale Of Stock [Axis]",
        "documentation": "Sale of stock."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SaleOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SaleOfStockDomain",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale Of Stock [Domain]",
        "documentation": "Sale of stock."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SaleOfStockPercentageOfSharesSoldInTransaction": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SaleOfStockPercentageOfSharesSoldInTransaction",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sale Of Stock Percentage Of Shares Sold In Transaction",
        "terseLabel": "Percentage of shares sold",
        "documentation": "Sale of stock percentage of shares sold in transaction."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_SalesAndMarketingExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SalesAndMarketingExpense",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OperatingExpenseExcludingCostOfSales",
       "weight": 1.0,
       "order": 31.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sales and marketing expense",
        "terseLabel": "Marketing"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of expense relating to the marketing and selling of goods or services."
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SecondYearAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SecondYearAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Second Year Anniversary Of Grant Date [Member]",
        "terseLabel": "Second Year Anniversary Of Grant Date [Member]",
        "documentation": "Second year anniversary of grant date [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security",
        "documentation": "Title of a 12(b) registered security."
       }
      }
     },
     "auth_ref": [
      "r395"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Security Exchange Name",
        "terseLabel": "Security Exchange Name",
        "documentation": "Name of the Exchange on which a security is registered."
       }
      }
     },
     "auth_ref": [
      "r397"
     ]
    },
    "tsm_SevenNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SevenNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Seven nanometer [member]",
        "terseLabel": "7-nanometer [member]",
        "documentation": "Seven nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ShareBuyBackPlanAggregateSharesRepurchased": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ShareBuyBackPlanAggregateSharesRepurchased",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share Buy Back Plan Aggregate Shares Repurchased",
        "terseLabel": "Share buy back plan aggregate shares repurchased",
        "documentation": "Share buy back plan aggregate shares repurchased."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ShareOfOtherComprehensiveIncomeOfAssociatesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ShareOfOtherComprehensiveIncomeOfAssociatesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share of other comprehensive income of associates accounted for using equity method that will be reclassified to profit or loss, before tax",
        "terseLabel": "Share of other comprehensive income (loss) of associates",
        "documentation": "Share of other comprehensive income of associates accounted for using equity method that will be reclassified to profit or loss, before tax."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ShareOfOtherComprehensiveIncomeOfAssociatesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ShareOfOtherComprehensiveIncomeOfAssociatesAccountedForUsingEquityMethodThatWillNotBeReclassifiedToProfitOrLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share of other comprehensive income of associates accounted for using equity method that will not be reclassified to profit or loss, before tax",
        "terseLabel": "Share of other comprehensive income (loss) of associates",
        "documentation": "Share of other comprehensive income of associates accounted for using equity method that will not be reclassified to profit or loss, before tax."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodBeforeReclassificationToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodBeforeReclassificationToProfitOrLossBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share of other comprehensive income of associates and joint ventures accounted for using equity method before reclassification to profit or loss, before tax",
        "terseLabel": "Share of other comprehensive income (loss) of associates",
        "documentation": "Share of other comprehensive income of associates and joint ventures accounted for using equity method before reclassification to profit or loss, before tax."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": -1.0,
       "order": 18.0
      },
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "tsm_NonOperatingIncomeExpense1",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share of profit (loss) of associates accounted for using equity method",
        "terseLabel": "Share of profits of associates",
        "negatedLabel": "Share of profits of associates"
       }
      },
      "en": {
       "role": {
        "documentation": "The entity's share of the profit (loss) of associates accounted for using the equity method. [Refer: Associates [member]; Investments accounted for using equity method; Profit (loss)]"
       }
      }
     },
     "auth_ref": [
      "r416"
     ]
    },
    "ifrs-full_SharePremiumMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SharePremiumMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share premium [member]",
        "terseLabel": "Capital Surplus [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the amount received or receivable from issuance of the entity's shares in excess of nominal value."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_SharebasedPaymentArrangementsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SharebasedPaymentArrangementsMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based payment arrangements [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for an agreement between the entity or another group entity or any shareholder of the group entity and another party (including an employee) that entitles the other party to receive (a) cash or other assets of the entity for amounts that are based on the price (or value) of equity instruments (including shares or share options) of the entity or another group entity; or (b) equity instruments (including shares or share options) of the entity or another group entity, provided that the specified vesting conditions, if any, are met. It also represents the standard value for the 'Types of share-based payment arrangements' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r244"
     ]
    },
    "tsm_SharebasedPaymentExpenseRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SharebasedPaymentExpenseRecognized",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sharebased Payment Expense Recognized",
        "terseLabel": "Share-based payment expenses recognized",
        "documentation": "Sharebased Payment Expense Recognized"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Number of shares reserved for issue under options and contracts for sale of shares",
        "terseLabel": "Number of shares reserved for issuance under share-based payment arrangement"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of shares reserved for issue under options and contracts for the sale of shares."
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "ifrs-full_ShorttermBorrowingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ShorttermBorrowingsMember",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfLiabilitiesArisingFromFinancingActivitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-term borrowings [member]",
        "terseLabel": "Short-term loans [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for short-term borrowings. [Refer: Borrowings]"
       }
      }
     },
     "auth_ref": [
      "r357",
      "r361"
     ]
    },
    "ifrs-full_ShorttermInvestmentsClassifiedAsCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "ShorttermInvestmentsClassifiedAsCashEquivalents",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail": {
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/CashAndCashEquivalentsSummaryOfCashAndCashEquivalentsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-term investments, classified as cash equivalents",
        "terseLabel": "Commercial paper"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of cash equivalents representing short-term investments. [Refer: Cash equivalents]"
       }
      }
     },
     "auth_ref": [
      "r441"
     ]
    },
    "ifrs-full_SignificantInvestmentsInAssociatesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SignificantInvestmentsInAssociatesAxis",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Associates [axis]",
        "terseLabel": "Associates [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r197"
     ]
    },
    "ifrs-full_SignificantInvestmentsInSubsidiariesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SignificantInvestmentsInSubsidiariesAxis",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Subsidiaries [axis]",
        "terseLabel": "Subsidiaries [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126",
      "r195"
     ]
    },
    "tsm_SixteenNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SixteenNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sixteen nanometer [Member]",
        "terseLabel": "16-nanometer [member]",
        "documentation": "Sixteen nanometer"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SixtyFiveNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SixtyFiveNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Sixty five nanometer [member]",
        "terseLabel": "65-nanometer [member]",
        "documentation": "Sixty five nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SmartphoneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SmartphoneMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnPlatformTypeDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Smartphone [Member]",
        "terseLabel": "Smartphone [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SoftwareAndSystemDesignCostsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SoftwareAndSystemDesignCostsMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Software And System Design Costs [member]",
        "terseLabel": "Software and system design costs [member]",
        "documentation": "Software and system design costs."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SoftwareAndSystemDevelopmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SoftwareAndSystemDevelopmentMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Software And System Development [Member]",
        "terseLabel": "Software and system Design [member]",
        "documentation": "Software And System Development [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_SpareParts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "SpareParts",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail": {
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current spare parts",
        "terseLabel": "Supplies and spare parts"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of interchangeable parts that are kept in an inventory and are used for the repair or replacement of failed parts. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r428"
     ]
    },
    "tsm_SpecialCapitalReserve": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SpecialCapitalReserve",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_RetainedEarnings",
       "weight": 1.0,
       "order": 27.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Special Capital reserve",
        "terseLabel": "Appropriated as special capital reserve",
        "documentation": "Special capital reserve."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SpecialCapitalReserveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SpecialCapitalReserveMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Special capital reserve [member]",
        "terseLabel": "Retained Earnings - Special Capital Reserve [member]",
        "documentation": "Special capital reserve."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Class Of Stock [Axis]",
        "documentation": "Statement class of stock."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_StatementClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StatementClassOfStockDomain",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement Class Of Stock [Domain]",
        "documentation": "Statement class of stock"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EquityTables",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
      "http://www.tsmc.com/role/FinancialInstrumentsTables",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables",
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNet",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [LineItems]",
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfCashFlowsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of cash flows [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfChangesInEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfChangesInEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of changes in equity [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfChangesInEquityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfChangesInEquityLineItems",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of changes in equity [line items]",
        "terseLabel": "Statement of changes in equity [line items]"
       }
      },
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfChangesInEquityTable": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfChangesInEquityTable",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity",
      "http://www.tsmc.com/role/EquityAppropriationsOfEarningsAndDividendsPerShareDetail",
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of changes in equity [table]",
        "terseLabel": "Statement of changes in equity [table]"
       }
      },
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to changes in equity."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "ifrs-full_StatementOfComprehensiveIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfComprehensiveIncomeAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of comprehensive income [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfFinancialPositionAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfFinancialPositionAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of financial position [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatementOfIFRSCompliance": {
     "xbrltype": "textBlockItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatementOfIFRSCompliance",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationPolicies"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of IFRS compliance [text block]",
        "terseLabel": "Statement of Compliance"
       }
      },
      "en": {
       "role": {
        "documentation": "An explicit and unreserved statement of compliance with all the requirements of IFRSs."
       }
      }
     },
     "auth_ref": [
      "r15"
     ]
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StatementTable",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows",
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome",
      "http://www.tsmc.com/role/EquityTables",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossTables",
      "http://www.tsmc.com/role/FinancialInstrumentsTables",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables",
      "http://www.tsmc.com/role/LoansAndBondsPayable",
      "http://www.tsmc.com/role/LoansAndBondsPayableTables",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNet",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables",
      "http://www.tsmc.com/role/RetirementBenefitPlansTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement [Table]",
        "terseLabel": "Statement [table]",
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders Equity and Other Comprehensive Income, or other statement as needed."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_StatutoryReserveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "StatutoryReserveMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statutory reserve [member]",
        "terseLabel": "Retained Earnings - Legal Capital Reserve [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing reserves created based on legal requirements."
       }
      }
     },
     "auth_ref": [
      "r409"
     ]
    },
    "tsm_StockDividendPercentageOnDividendDistribution": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StockDividendPercentageOnDividendDistribution",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Dividend Percentage on Dividend Distribution",
        "terseLabel": "Total distribution",
        "documentation": "Stock dividend percentage on dividend distribution."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_StockPriceShareOptionsGranted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "StockPriceShareOptionsGranted",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stock Price Share Options Granted",
        "verboseLabel": "Stock price at measurement date",
        "terseLabel": "Stock price at measurement date",
        "documentation": "Stock price share options granted."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_SystemsOnSiliconManufacturingCompanyPteLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "SystemsOnSiliconManufacturingCompanyPteLtdMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail",
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Systems On Silicon Manufacturing Company Pte Ltd [member]",
        "terseLabel": "Systems on Silicon Manufacturing Company Pte Ltd. [member]",
        "documentation": "Systems on Silicon Manufacturing Company Pte Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCArizonaCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCArizonaCorporationMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "T S M C Arizona Corporation [Member]",
        "terseLabel": "TSMC Arizona Corporation [member]",
        "documentation": "TSMC Arizona Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCChinaCompanyLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCChinaCompanyLimitedMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC China Company Limited [member]",
        "terseLabel": "TSMC China Company Limited [member]",
        "documentation": "TSMC China Company Limited."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCDesignTechnologyCanadaIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCDesignTechnologyCanadaIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC design technology Canada Inc [member]",
        "terseLabel": "TSMC Design Technology Canada Inc. [member]",
        "documentation": "TSMC Design Technology Canada Inc."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCDevelopmentIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCDevelopmentIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC development Inc [member]",
        "terseLabel": "TSMC Development, Inc. [member]",
        "documentation": "TSMC Development Inc."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCEuropeBVMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCEuropeBVMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Europe BV [member]",
        "terseLabel": "TSMC Europe B.V. [member]",
        "documentation": "TSMC Europe BV."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCGlobalLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCGlobalLtdMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC global Ltd [member]",
        "terseLabel": "TSMC Global, Ltd. [member]",
        "documentation": "TSMC Global Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCJapanLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCJapanLimitedMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Japan Limited [member]",
        "terseLabel": "TSMC Japan Limited [member]",
        "documentation": "TSMC Japan Limited."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCKoreaLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCKoreaLimitedMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Korea Limited [member]",
        "terseLabel": "TSMC Korea Limited [member]",
        "documentation": "TSMC Korea Limited."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCNanjingCompanyLimitedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCNanjingCompanyLimitedMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Nanjing Company Limited [member]",
        "terseLabel": "TSMC Nanjing Company Limited [member]",
        "documentation": "TSMC Nanjing Company Limited."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCNorthAmericaMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCNorthAmericaMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC North America [member]",
        "terseLabel": "TSMC North America [member]",
        "documentation": "TSMC North America."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCPartnersLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCPartnersLtdMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Partners Ltd [member]",
        "terseLabel": "TSMC Partners, Ltd. [member]",
        "documentation": "TSMC Partners Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCTechnologyIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCTechnologyIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Technology Inc [member]",
        "terseLabel": "TSMC Technology, Inc. [member]",
        "documentation": "TSMC Technology Inc."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TSMCWashingtonLLCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TSMCWashingtonLLCMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Washington LLC [Member]",
        "terseLabel": "TSMC Washington, LLC [member]",
        "documentation": "TSMC washington, LLC."
       }
      }
     },
     "auth_ref": []
    },
    "country_TW": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "TW",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TAIWAN, PROVINCE OF CHINA",
        "terseLabel": "Taiwan [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxBenefitArisingFromPreviouslyUnrecognisedTaxGainLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceDeferredTaxExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxBenefitArisingFromPreviouslyUnrecognisedTaxGainLossTaxCreditOrTemporaryDifferenceOfPriorPeriodUsedToReduceDeferredTaxExpense",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail": {
       "parentTag": "ifrs-full_DeferredTaxExpenseIncome",
       "weight": -1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxSummaryOfIncomeTaxExpenseDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Benefit Arising From Previously Unrecognised Tax Gain Loss, Tax Credit or Temporary Difference of Prior Period Used to Reduce Deferred Tax Expense",
        "negatedLabel": "Investment tax credits",
        "documentation": "Tax benefit arising from previously unrecognised tax gain loss, tax credit or temporary difference of prior period used to reduce deferred tax expense."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxEffectAndAdjustmentOnConsolidationAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectAndAdjustmentOnConsolidationAbstract",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Effect And Adjustment On Consolidation [abstract]",
        "terseLabel": "Tax effect of adjusting items:",
        "documentation": "Tax Effect And Adjustment On Consolidation [Abstract]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxEffectOfAdditionalIncomeTaxOnUnappropriatedEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectOfAdditionalIncomeTaxOnUnappropriatedEarnings",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": 1.0,
       "order": 7.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax effect of additional income tax on unappropriated earnings",
        "terseLabel": "Additional income tax on unappropriated earnings",
        "documentation": "Tax effect of additional income tax on unappropriated earnings"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxEffectOfAdditionalIncomeTaxUnderAlternativeMinimumTaxAct": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectOfAdditionalIncomeTaxUnderAlternativeMinimumTaxAct",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": 1.0,
       "order": 8.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Effect Of Additional Income Tax Under Alternative Minimum Tax Act",
        "terseLabel": "Additional income tax under the Alternative Minimum Tax Act",
        "documentation": "Tax effect of additional income tax under alternative minimum tax act."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxEffectOfCurrentYearTaxAdjustments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectOfCurrentYearTaxAdjustments",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Effect Of Current Year Tax Adjustments",
        "totalLabel": "Tax effect of adjusting items",
        "documentation": "Tax effect of current year tax adjustments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxEffectOfExpenseNondeductibleDeductibleItemsInDeterminingTaxableIncomeAdjustment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectOfExpenseNondeductibleDeductibleItemsInDeterminingTaxableIncomeAdjustment",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax effect of expense nondeductible (deductible) items in determining taxable income adjustment",
        "terseLabel": "Nondeductible (deductible) items in determining taxable income",
        "documentation": "Tax effect of expense nondeductible (deductible) items in determining taxable income adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TaxEffectOfRevenuesExemptFromTaxation2011": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TaxEffectOfRevenuesExemptFromTaxation2011",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": -1.0,
       "order": 4.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax effect of revenues exempt from taxation",
        "negatedLabel": "Tax-exempt income"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to revenues that are exempt from taxation. [Refer: Accounting profit]"
       }
      }
     },
     "auth_ref": [
      "r67"
     ]
    },
    "tsm_TaxEffectOfTaxCredits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxEffectOfTaxCredits",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": 1.0,
       "order": 5.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax effect of tax credits",
        "terseLabel": "Income tax credits",
        "documentation": "Tax effect of tax credits."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxExemptionPeriodAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxExemptionPeriodAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax Exemption Period [abstract]",
        "documentation": "Tax Exemption Period [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxExemptionPeriodEnd": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxExemptionPeriodEnd",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax exemption period,end",
        "terseLabel": "Tax-exemption Period, End",
        "documentation": "Tax exemption period,end"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TaxExemptionPeriodStart": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TaxExemptionPeriodStart",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxTaxExemptionInformationRelatedToProfitsGeneratedFromCertainProjectsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax exemption period, start",
        "terseLabel": "Tax-exemption Period, Start",
        "documentation": "Tax exemption period, start"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TaxExpenseIncomeAtApplicableTaxRate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TaxExpenseIncomeAtApplicableTaxRate",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail": {
       "parentTag": "tsm_TaxEffectOfCurrentYearTaxAdjustments",
       "weight": 1.0,
       "order": 9.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxReconciliationOfIncomeBeforeIncomeTaxAndIncomeTaxExpenseRecognizedInProfitOrLossDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tax expense (income) at applicable tax rate",
        "terseLabel": "Income tax expense at the statutory rate"
       }
      },
      "en": {
       "role": {
        "documentation": "The product of the accounting profit multiplied by the applicable tax rate(s). [Refer: Accounting profit; Applicable tax rate]"
       }
      }
     },
     "auth_ref": [
      "r67"
     ]
    },
    "tsm_TechnicalCooperationAgreementWithIndustrialTechnologyResearchInstituteMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TechnicalCooperationAgreementWithIndustrialTechnologyResearchInstituteMember",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Technical cooperation agreement with Industrial Technology Research Institute [member]",
        "terseLabel": "Technical Cooperation Agreement with Industrial Technology Research Institute [member]",
        "documentation": "Technical cooperation agreement with Industrial Technology Research Institute."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TechnologyLicenseFeesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TechnologyLicenseFeesMember",
     "presentation": [
      "http://www.tsmc.com/role/IntangibleAssetsSummaryOfIntangibleAssetsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Technology License Fees [member]",
        "terseLabel": "Technology license fees [member]",
        "documentation": "Technology license fees."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsAxis",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary difference, unused tax losses and unused tax credits [axis]",
        "terseLabel": "Temporary difference, unused tax losses and unused tax credits [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "ifrs-full_TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail",
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetAgingAnalysisOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary difference, unused tax losses and unused tax credits [member]",
        "terseLabel": "Temporary difference, unused tax losses and unused tax credits [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for temporary differences, unused tax losses and unused tax credits. It also represents the standard value for the 'Temporary difference, unused tax losses and unused tax credits' axis if no other member is used. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]]"
       }
      }
     },
     "auth_ref": [
      "r73"
     ]
    },
    "ifrs-full_TemporaryDifferencesAssociatedWithInvestmentsInSubsidiariesBranchesAndAssociatesAndInterestsInJointVentures": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TemporaryDifferencesAssociatedWithInvestmentsInSubsidiariesBranchesAndAssociatesAndInterestsInJointVentures",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary differences associated with investments in subsidiaries, branches and associates and interests in joint arrangements for which deferred tax liabilities have not been recognised",
        "terseLabel": "Aggregate taxable temporary differences associated with investments in subsidiaries not recognized as deferred income tax liabilities"
       }
      },
      "en": {
       "role": {
        "documentation": "The aggregate amount of temporary differences associated with investments in subsidiaries, branches and associates and interests in joint arrangements, for which deferred tax liabilities have not been recognised as a result of satisfying both of the following conditions: (a) the parent, investor, joint venturer or joint operator is able to control the timing of the reversal of the temporary difference; and (b) it is probable that the temporary difference will not reverse in the foreseeable future. [Refer: Associates [member]; Subsidiaries [member]; Temporary differences [member]; Investments in subsidiaries reported in separate financial statements]"
       }
      }
     },
     "auth_ref": [
      "r70"
     ]
    },
    "tsm_TemporaryReceiptsFromCustomers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TemporaryReceiptsFromCustomers",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail": {
       "parentTag": null,
       "weight": null,
       "order": null,
       "root": true
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Receipts From Customers",
        "totalLabel": "Temporary receipts from customers",
        "documentation": "Temporary receipts from customers."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TemporaryReceiptsFromCustomersCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TemporaryReceiptsFromCustomersCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail": {
       "parentTag": "tsm_TemporaryReceiptsFromCustomers",
       "weight": 1.0,
       "order": 2.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Temporary Receipts From Customers Current",
        "terseLabel": "Current portion (classified under accrued expenses and other current liabilities)",
        "documentation": "Temporary receipts from customers current."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TemporaryReceiptsFromCustomersNonCurrent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TemporaryReceiptsFromCustomersNonCurrent",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail": {
       "parentTag": "tsm_TemporaryReceiptsFromCustomers",
       "weight": 1.0,
       "order": 1.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfTemporaryReceiptsFromCustomersDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noncurrent portion (classified under other noncurrent liabilities)",
        "documentation": "Temporary receipts from customers non current."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TenNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TenNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Ten nanometer [member]",
        "terseLabel": "10-nanometer [member]",
        "documentation": "Ten nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TermOfAgreements": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TermOfAgreements",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Term of agreements",
        "terseLabel": "Term of agreement",
        "documentation": "Term of agreements"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TextBlockAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TextBlockAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Text Block [Abstract]",
        "verboseLabel": "Future minimum lease payments under the non-cancellable operating leases",
        "documentation": "Text block [abstract]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ThirdYearAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ThirdYearAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Third Year Anniversary Of Grant Date [Member]",
        "terseLabel": "Third Year Anniversary Of Grant Date [Member]",
        "documentation": "Third year anniversary of grant date [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ThreeNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ThreeNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Three Nanometer [Member]",
        "terseLabel": "3-nanometer [member]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TopOfRangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TopOfRangeMember",
     "presentation": [
      "http://www.tsmc.com/role/AdditionalInformationOfExpensesByNatureAdditionalInformationDetail",
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinanceCostsSummaryOfFinanceCostsDetail",
      "http://www.tsmc.com/role/FinancialAssetsAndLiabilitiesAtFairValueThroughProfitOrLossOutstandingForwardExchangeContractsForWhichHedgeAccountingTreatmentIsNotAppliedDetail",
      "http://www.tsmc.com/role/LeaseArrangementsRangesOfDiscountRatesForLeaseLiabilitiesDetail",
      "http://www.tsmc.com/role/LongTermBankLoansSummaryOfLoansAndBondsPayableDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Top of range [member]",
        "terseLabel": "Top of range [member]",
        "verboseLabel": "Top of range [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for top of a range."
       }
      }
     },
     "auth_ref": [
      "r206",
      "r232",
      "r243",
      "r364",
      "r366",
      "r444"
     ]
    },
    "tsm_TradeAccountsAndNotesReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TradeAccountsAndNotesReceivableMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade accounts and notes receivable [member]",
        "terseLabel": "Trade accounts and notes receivable [member]",
        "documentation": "Trade accounts and notes receivable."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TradeAndOtherCurrentPayablesToRelatedParties": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TradeAndOtherCurrentPayablesToRelatedParties",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 18.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current payables to related parties",
        "terseLabel": "Payables to related parties"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of current payables due to related parties. [Refer: Related parties [member]; Payables to related parties]"
       }
      }
     },
     "auth_ref": [
      "r414"
     ]
    },
    "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TradeAndOtherCurrentPayablesToTradeSuppliers",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0,
       "order": 19.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current trade payables",
        "terseLabel": "Accounts payable"
       }
      },
      "en": {
       "role": {
        "documentation": "The current amount of payment due to suppliers for goods and services used in entity's business. [Refer: Current liabilities; Trade payables]"
       }
      }
     },
     "auth_ref": [
      "r328",
      "r414"
     ]
    },
    "ifrs-full_TradeAndOtherPayables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TradeAndOtherPayables",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail": {
       "parentTag": "tsm_NonDerivativeFinancialLiabilities",
       "weight": 1.0,
       "order": 11.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfMaturityProfileOfFinancialLiabilitiesBasedOnContractualUndiscountedPaymentsIncludingPrincipalAndInterestDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade and other payables",
        "terseLabel": "Accounts payable (including related parties)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of trade payables and other payables. [Refer: Trade payables; Other payables]"
       }
      }
     },
     "auth_ref": [
      "r23"
     ]
    },
    "ifrs-full_TradeAndOtherReceivablesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TradeAndOtherReceivablesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade and other receivables [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TradeReceivablesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TradeReceivablesMember",
     "presentation": [
      "http://www.tsmc.com/role/NotesAndAccountsReceivableNetSummaryOfNotesAndAccountsReceivableNetDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade receivables [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for trade receivables. [Refer: Trade receivables]"
       }
      }
     },
     "auth_ref": [
      "r274",
      "r280",
      "r377",
      "r410"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.tsmc.com/role/Cover"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol",
        "documentation": "Trading symbol of an instrument as listed on an exchange."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheAMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheAMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche A [member]",
        "documentation": "Tranche A."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche [Axis]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheBMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheBMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche B [member]",
        "documentation": "Tranche B."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheCMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheCMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche C [member]",
        "documentation": "Tranche C."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheDMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheDMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche D [member]",
        "documentation": "Tranche D."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheEMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheEMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche E [member]",
        "documentation": "Tranche E."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheFMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheFMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche F [member]",
        "documentation": "Tranche F."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TrancheMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TrancheMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tranche [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TransferredToInitialCarryingAmountOfHedgedItemsToExcludingAmountFromAssociates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TransferredToInitialCarryingAmountOfHedgedItemsToExcludingAmountFromAssociates",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/CashFlowInformationScheduleOfDetailedInformationAboutNonCashTransactionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transferred to Initial Carrying Amount of Hedged Items to Excluding Amount From Associates",
        "terseLabel": "Transferred to initial carrying amount of hedged items",
        "documentation": "Transferred to initial carrying amount of hedged items to excluding amount from associates."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TransfersOutOfLevel3OfFairValueHierarchyAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TransfersOutOfLevel3OfFairValueHierarchyAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfLevel3FairValueWereEquityInvestmentsClassifiedAsFinancialAssetsAtFvtociDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers out of Level 3 of fair value hierarchy, assets",
        "negatedLabel": "Transfers out of level 3 (Note)"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of transfers of assets out of Level 3 of the fair value hierarchy. [Refer: Level 3 of fair value hierarchy [member]]"
       }
      }
     },
     "auth_ref": [
      "r202"
     ]
    },
    "ifrs-full_TreasurySharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TreasurySharesMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Treasury shares [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the entity\u2019s own equity instruments, held by the entity or other members of the consolidated group."
       }
      }
     },
     "auth_ref": [
      "r8"
     ]
    },
    "tsm_TsmcDesignTechnologyJapanIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TsmcDesignTechnologyJapanIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Design Technology Japan Inc [Member]",
        "terseLabel": "TSMC Design Technology Japan, Inc. [member]",
        "documentation": "TSMC Design Technology Japan Inc."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TsmcJapan3dicRdCenterIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TsmcJapan3dicRdCenterIncMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "TSMC Japan 3DIC RD Center Inc [Member]",
        "terseLabel": "TSMC Japan 3DIC R&amp;D Center, Inc.[Member]",
        "documentation": "TSMC Japan 3DIC RD Center, Inc."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TwelvemonthExpectedCreditLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TwelvemonthExpectedCreditLossesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "12-month expected credit losses [member]",
        "terseLabel": "12-month expected credit losses [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for the portion of lifetime expected credit losses that represent the expected credit losses that result from default events on a financial instrument that are possible within the 12 months after the reporting date. [Refer: Type of measurement of expected credit losses [member]; Lifetime expected credit losses [member]]"
       }
      }
     },
     "auth_ref": [
      "r273",
      "r279"
     ]
    },
    "tsm_TwentyEightNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwentyEightNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty eight nanometer [member]",
        "terseLabel": "28-nanometer [member]",
        "documentation": "Twenty eight nanometer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwentyNanometerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwentyNanometerMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Twenty Nanometer [Member]",
        "terseLabel": "20-nanometer [member]",
        "documentation": "Twenty Nanometer Member."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandAndTwentyOnePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandAndTwentyOnePlanMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand And Twenty One Plan [Member]",
        "terseLabel": "2021 Plan [Member]",
        "verboseLabel": "2021 Plan [member]",
        "documentation": "Two thousand and twenty one plan."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandAndTwentyOneRestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandAndTwentyOneRestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand And Twenty One Restricted Stock Award [Member]",
        "terseLabel": "2021 Restricted Stock Award [Member]",
        "documentation": "Two Thousand And Twenty One Restricted Stock Award [Member]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandAndTwentyThreePlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandAndTwentyThreePlanMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand And Twenty Three Plan [Member]",
        "terseLabel": "2023 Plan [Member]",
        "documentation": "Two Thousand And Twenty Three Plan."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandAndTwentyTwoPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandAndTwentyTwoPlanMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfFairValueOfCompensationCostsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand And Twenty Two Plan [Member]",
        "verboseLabel": "2022 Plan [Member]",
        "terseLabel": "2022 Plan [member]",
        "documentation": "Two thousand and twenty two plan."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandAndTwentyTwoRestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandAndTwentyTwoRestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand And Twenty Two Restricted Stock Award [Member]",
        "terseLabel": "2022 Restricted Stock Award [Member]",
        "documentation": "Two Thousand And Twenty Two Restricted Stock Award."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandTwentyOneRestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandTwentyOneRestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand Twenty One Restricted Stock Award [Member]",
        "terseLabel": "2021 Restricted Stock Award [Member]",
        "documentation": "Two Thousand Twenty One Restricted Stock Award."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandTwentyThreeRestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandTwentyThreeRestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand Twenty Three Restricted Stock Award [Member]",
        "terseLabel": "2023 Restricted Stock Award [Member]",
        "documentation": "Two Thousand Twenty Three Restricted Stock Award."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_TwoThousandTwentyTwoRestrictedStockAwardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "TwoThousandTwentyTwoRestrictedStockAwardMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Two Thousand Twenty Two Restricted Stock Award [Member]",
        "terseLabel": "2022 Restricted Stock Award [Member]",
        "documentation": "Two Thousand Twenty Two Restricted Stock Award."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_TypeOfMeasurementOfExpectedCreditLossesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypeOfMeasurementOfExpectedCreditLossesAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Type of measurement of expected credit losses [axis]",
        "terseLabel": "Type of measurement of expected credit losses [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r276",
      "r282"
     ]
    },
    "ifrs-full_TypeOfMeasurementOfExpectedCreditLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypeOfMeasurementOfExpectedCreditLossesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Type of measurement of expected credit losses [member]",
        "terseLabel": "Type of measurement of expected credit losses [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all types of measurement of expected credit losses. Expected credit losses are the weighted average of credit losses with the respective risks of a default occurring as the weights. This member also represents the standard value for the 'Type of measurement of expected credit losses' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r276",
      "r282"
     ]
    },
    "ifrs-full_TypesOfHedgesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfHedgesAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Types of hedges [axis]",
        "terseLabel": "Types of hedges [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r265",
      "r267"
     ]
    },
    "ifrs-full_TypesOfHedgesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfHedgesMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsFairValueOfFinancialInstrumentsMeasuredAtFairValueOnARecurringBasisDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfHedgingFinancialInstrumentsDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedges [member]",
        "terseLabel": "Hedges [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all types of hedges. It also represents the standard value for the 'Types of hedges' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r263",
      "r265",
      "r267"
     ]
    },
    "ifrs-full_TypesOfInterestRatesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfInterestRatesAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Types of interest rates [axis]",
        "terseLabel": "Types of interest rates [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r443"
     ]
    },
    "ifrs-full_TypesOfRisksAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfRisksAxis",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Types of risks [axis]",
        "terseLabel": "Types of risks [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r237",
      "r259",
      "r270",
      "r271"
     ]
    },
    "ifrs-full_TypesOfRisksMember": {
     "xbrltype": "domainItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfRisksMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsAdditionalInformationDetail",
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatingToHedgesForForeignCurrencyRiskDetail",
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Risks [member]",
        "terseLabel": "Risks [member]"
       }
      },
      "en": {
       "role": {
        "documentation": "This member stands for all types of risks. It also represents the standard value for the 'Types of risks' axis if no other member is used."
       }
      }
     },
     "auth_ref": [
      "r233",
      "r234",
      "r235",
      "r237",
      "r259",
      "r270",
      "r271"
     ]
    },
    "ifrs-full_TypesOfSharebasedPaymentArrangementsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "TypesOfSharebasedPaymentArrangementsAxis",
     "presentation": [
      "http://www.tsmc.com/role/EquityAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfCashSettledShareBasedPaymentArrangementsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfRsasMeasuredAtFairValueAtGrantDateDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsDetail",
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfVestingConditionsOfEmployeeRsasPerformanceMetricsParentheticalDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Types of share-based payment arrangements [axis]"
       }
      },
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      }
     },
     "auth_ref": [
      "r244"
     ]
    },
    "country_US": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/country/2023",
     "localname": "US",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByGeographicalLocationDetail",
      "http://www.tsmc.com/role/OperatingSegmentsInformationGeographicInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_USTreasuryBondsInterestRateFuturesContractsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "USTreasuryBondsInterestRateFuturesContractsMember",
     "presentation": [
      "http://www.tsmc.com/role/HedgingFinancialInstrumentsSummaryOfInformationRelatedToHedgesOfInterestRateRiskDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "US treasury bonds interest rate futures contracts [member]",
        "terseLabel": "US treasury bonds interest rate futures contracts [member]",
        "documentation": "US treasury bonds interest rate futures contracts."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnappropriatedEarnings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnappropriatedEarnings",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition": {
       "parentTag": "ifrs-full_RetainedEarnings",
       "weight": 1.0,
       "order": 26.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfFinancialPosition"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unappropriated earnings",
        "terseLabel": "Unappropriated earnings",
        "documentation": "Unappropriated earnings."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnappropriatedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnappropriatedEarningsMember",
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfChangesInEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unappropriated earnings [member]",
        "terseLabel": "Retained Earnings - Unappropriated Earnings [member]",
        "documentation": "Unappropriated earnings."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_UndrawnBorrowingFacilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "UndrawnBorrowingFacilities",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/SignificantContingentLiabilitiesAndUnrecognizedCommitmentsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Undrawn borrowing facilities",
        "terseLabel": "Amounts available under unused letters of credit"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount of undrawn borrowing facilities that may be available for future operating activities and to settle capital commitments. [Refer: Capital commitments]"
       }
      }
     },
     "auth_ref": [
      "r359"
     ]
    },
    "tsm_UnrealizedExchangeGainsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedExchangeGainsMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Exchange Gains [Member]",
        "terseLabel": "Unrealized exchange gains [member]",
        "documentation": "Unrealized exchange gains."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedExchangeLossesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedExchangeLossesMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Exchange Losses [Member]",
        "documentation": "Unrealized exchange losses."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDebtInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeDebtInstruments",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gain (loss) on financial assets at fair value through other comprehensive income debt instruments",
        "terseLabel": "Debt instruments",
        "documentation": "Unrealized gain (loss) on financial assets at fair value through other comprehensive income debt instruments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeEquityInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeEquityInstruments",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gain (loss) on financial assets at fair value through other comprehensive income equity instruments",
        "terseLabel": "Equity instruments",
        "documentation": "Unrealized gain (loss) on financial assets at fair value through other comprehensive income equity instruments."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainLossOnFinancialAssetsAtFairValueThroughOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.tsmc.com/role/EquityChangesInOtherReservesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gain loss on financial assets at fair value through other comprehensive income [member]",
        "terseLabel": "Unrealized gain (loss) on financial assets at fair value through other comprehensive income [member]",
        "documentation": "Unrealized gain loss on financial assets at fair value through other comprehensive income [member]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainsLossesOnEquitySecuritiesAtFairValueThroughOtherComprehensiveIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainsLossesOnEquitySecuritiesAtFairValueThroughOtherComprehensiveIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gains/losses on equity securities at fair value through other comprehensive income",
        "terseLabel": "Unrealized gain (loss) on investments in equity instruments at fair value through other comprehensive income",
        "documentation": "Unrealized gains/losses on equity securities at fair value through other comprehensive income"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainsOrLossesOnInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncomeWillBeReclassifiedToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainsOrLossesOnInvestmentsInDebtInstrumentsAtFairValueThroughOtherComprehensiveIncomeWillBeReclassifiedToProfitOrLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 10.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gains or losses on investments in debt instruments at fair value through other comprehensive income will be reclassified to profit or loss before tax",
        "verboseLabel": "Unrealized gain/(loss) on investments in debt instruments at fair value through other comprehensive income",
        "documentation": "The amount of other comprehensive income, before tax, related to investments in debt instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedGainsOrLossesOnInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncomeWillNotBeReclassifiedToProfitOrLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedGainsOrLossesOnInvestmentsInEquityInstrumentsAtFairValueThroughOtherComprehensiveIncomeWillNotBeReclassifiedToProfitOrLossBeforeTax",
     "crdr": "credit",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome": {
       "parentTag": "ifrs-full_OtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTax",
       "weight": 1.0,
       "order": 16.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfProfitOrLossAndOtherComprehensiveIncome"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized gains or losses on investments in equity instruments at fair value through other comprehensive income will not be reclassified to profit or loss before tax",
        "verboseLabel": "Unrealized gain/(loss) on investments in equity instruments at fair value through other comprehensive income",
        "documentation": "The amount of other comprehensive income, before tax, related to investments in equity instruments at fair value through other comprehensive income."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnrealizedLossOnInventoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnrealizedLossOnInventoriesMember",
     "presentation": [
      "http://www.tsmc.com/role/IncomeTaxAnalysisOfDeferredIncomeTaxAssetsAndLiabilitiesInConsolidatedStatementsOfFinancialPositionDetail",
      "http://www.tsmc.com/role/IncomeTaxSummaryOfAnalysisOfDeferredIncomeTaxAndLiabilitiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unrealized Loss On Inventories [Member]",
        "terseLabel": "Unrealized loss on inventories [member]",
        "documentation": "Unrealized loss on inventories."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnsecuredDebtSecuritiesAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnsecuredDebtSecuritiesAxis",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Debt Securities [Axis]",
        "verboseLabel": "Unsecured Debt Securities [Axis]",
        "documentation": "Unsecured debt securities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UnsecuredDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UnsecuredDebtSecuritiesMember",
     "presentation": [
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfDomesticUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableMajorTermsOfOverseasUnsecuredBondsDetail",
      "http://www.tsmc.com/role/BondsPayableSummaryOfDomesticUnsecuredBondsAndOverseasUnsecuredBondsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Unsecured Debt Securities [Member]",
        "verboseLabel": "Unsecured Debt Securities [Member]",
        "documentation": "Unsecured debt securities."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_UsefulLivesPropertyPlantAndEquipment": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "UsefulLivesPropertyPlantAndEquipment",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Useful lives property plant and equipment",
        "verboseLabel": "Useful lives of intangible assets",
        "documentation": "Useful lives of property, plant and equipment."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_VanguardInternationalSemiconductorCorporationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "VanguardInternationalSemiconductorCorporationMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vanguard International Semiconductor Corporation [member]",
        "terseLabel": "Vanguard International Semiconductor Corporation [member]",
        "documentation": "Vanguard International Semiconductor Corporation."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_VenturetechAllianceFundThreeLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "VenturetechAllianceFundThreeLPMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "VentureTech alliance fund three LP [member]",
        "terseLabel": "VentureTech Alliance Fund III, L.P. (VTAF III)\t[member]",
        "documentation": "VentureTech Alliance Fund Three."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_VenturetechAllianceFundTwoLPMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "VenturetechAllianceFundTwoLPMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "VentureTech alliance fund two LP [member]",
        "terseLabel": "VentureTech Alliance Fund II, L.P. (VTAF II) [member]",
        "documentation": "VentureTech Alliance Fund Two LP."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_VestingAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "VestingAxis",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vesting [Axis]",
        "documentation": "Vesting [Axis]."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_VestingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "VestingMember",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Vesting [Member]",
        "documentation": "Vesting."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ViseraTechnologiesCompanyLtdMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ViseraTechnologiesCompanyLtdMember",
     "presentation": [
      "http://www.tsmc.com/role/SummaryOfMaterialAccountingPolicyInformationDetailInformationOfSubsidiariesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "VisEra technologies Company Ltd [member]",
        "terseLabel": "VisEra Technologies Company Ltd. [member]",
        "documentation": "VisEra Technologies Company Ltd."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_WaferMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "WaferMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail",
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersByProductDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Wafer [member]",
        "terseLabel": "Wafer [member]",
        "documentation": "Wafer."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_WeightedAverageDurationOfDefinedBenefitObligations": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "WeightedAverageDurationOfDefinedBenefitObligations",
     "presentation": [
      "http://www.tsmc.com/role/RetirementBenefitPlansAdditionalInformationDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Duration of Defined Benefit Obligations",
        "terseLabel": "Weighted average duration of the defined benefit obligation",
        "documentation": "Weighted average duration of defined benefit obligations."
       }
      }
     },
     "auth_ref": []
    },
    "ifrs-full_WeightedAverageFairValueAtMeasurementDateOtherEquityInstrumentsGranted": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WeightedAverageFairValueAtMeasurementDateOtherEquityInstrumentsGranted",
     "crdr": "credit",
     "presentation": [
      "http://www.tsmc.com/role/ShareBasedPaymentArrangementsSummaryOfGranted2021RsasDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average fair value at measurement date, other equity instruments granted",
        "terseLabel": "Weighted-average fair value of RSAs"
       }
      },
      "en": {
       "role": {
        "documentation": "The weighted average fair value at the measurement date of granted equity instruments other than share options. [Refer: Weighted average [member]]"
       }
      }
     },
     "auth_ref": [
      "r247"
     ]
    },
    "ifrs-full_WeightedAverageShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WeightedAverageShares",
     "presentation": [
      "http://www.tsmc.com/role/EarningsPerShareComputationOfEarningsPerShareDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average number of ordinary shares outstanding",
        "terseLabel": "Weighted average number of common shares outstanding used in the computation of basic EPS"
       }
      },
      "en": {
       "role": {
        "documentation": "The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor."
       }
      }
     },
     "auth_ref": [
      "r130"
     ]
    },
    "ifrs-full_WorkInProgress": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WorkInProgress",
     "crdr": "debit",
     "calculation": {
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail": {
       "parentTag": "ifrs-full_Inventories",
       "weight": 1.0,
       "order": 3.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/InventoriesSummaryOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current work in progress",
        "terseLabel": "Work in process"
       }
      },
      "en": {
       "role": {
        "documentation": "A classification of current inventory representing the amount of assets currently in production, which require further processes to be converted into finished goods or services. [Refer: Current finished goods; Inventories]"
       }
      }
     },
     "auth_ref": [
      "r330",
      "r428"
     ]
    },
    "ifrs-full_WritedownsReversalsOfInventories": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WritedownsReversalsOfInventories",
     "crdr": "debit",
     "presentation": [
      "http://www.tsmc.com/role/InventoriesSummaryOfWriteDownsReversalsOfInventoriesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Write-downs (reversals of write-downs) of inventories",
        "verboseLabel": "Net inventory losses"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount recognised resulting from the write-down of inventories to net realisable value or reversals of those write-downs. [Refer: Inventories]"
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "ifrs-full_WritedownsReversalsOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WritedownsReversalsOfPropertyPlantAndEquipment",
     "calculation": {
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows": {
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperations",
       "weight": 1.0,
       "order": 14.0
      }
     },
     "presentation": [
      "http://www.tsmc.com/role/ConsolidatedStatementsOfCashFlows"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Write-downs (reversals of write-downs) of property, plant and equipment",
        "verboseLabel": "Impairment loss on property, plant and equipment"
       }
      },
      "en": {
       "role": {
        "documentation": "The amount recognised resulting from the write-down of property, plant and equipment to its recoverable amount or reversals of those write-downs. [Refer: Property, plant and equipment]"
       }
      }
     },
     "auth_ref": [
      "r59"
     ]
    },
    "ifrs-full_WritedownsReversalsOfWritedownsOfInventoriesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2023-03-23/ifrs-full",
     "localname": "WritedownsReversalsOfWritedownsOfInventoriesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Write-downs of inventories [abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "tsm_WriteoffOrReversalsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "WriteoffOrReversalsMember",
     "presentation": [
      "http://www.tsmc.com/role/FinancialInstrumentsSummaryOfCurrentCreditRiskAssessmentPoliciesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Write-off or Reversals [member]",
        "terseLabel": "Write-off [member]",
        "documentation": "Write-off or reversals."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_XintecIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "XintecIncMember",
     "presentation": [
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodMarketPricesOfInvestmentsAccountedForUsingEquityMethodInPubliclyTradedStocksCalculatedByClosingPriceAtEndOfReportingPeriodDetail",
      "http://www.tsmc.com/role/InvestmentsAccountedForUsingEquityMethodSummaryOfInvestmentsInAssociatesDetail",
      "http://www.tsmc.com/role/RelatedPartyTransactionsSummaryOfSignificantTransactionsBetweenTheCompanyAndOtherRelatedPartiesDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Xintec Inc [member]",
        "terseLabel": "Xintec Inc. [member]",
        "documentation": "Xintec Inc."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ZeroPointOneFiveToZeroPointOneEightMicronMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ZeroPointOneFiveToZeroPointOneEightMicronMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zero point one five to zero point one eight micron [member]",
        "terseLabel": "0.15/0.18 micron [member]",
        "documentation": "Zero point one five to zero point one eight micron."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ZeroPointOneOneToZeroPointOneThreeMicronMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ZeroPointOneOneToZeroPointOneThreeMicronMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zero point one one to zero point one three micron [member]",
        "terseLabel": "0.11/0.13 micron [member]",
        "documentation": "Zero point one one to zero point one three micron."
       }
      }
     },
     "auth_ref": []
    },
    "tsm_ZeroPointTwoFiveMicronAndAboveMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.tsmc.com/20231231",
     "localname": "ZeroPointTwoFiveMicronAndAboveMember",
     "presentation": [
      "http://www.tsmc.com/role/NetRevenueSummaryOfDisaggregationOfRevenueFromContractsWithCustomersBasedOnResolutionDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Zero point two five micron and above [member]",
        "terseLabel": "0.25 micron and above [member]",
        "documentation": "Zero point two five micron and above."
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r1": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "104",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_104&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r2": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r3": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "d",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "d",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "d",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r8": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "107",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_107&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "112",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "117",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_117&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "125",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_125&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "134",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_134&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "138",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_138_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_16&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "35",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_35&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "51",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_51&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r22": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r23": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "k",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_k&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r24": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "n",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_n&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r25": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "o",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_o&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r26": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "q",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_q&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r27": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "r",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_r&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r28": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "55",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r29": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "56",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_56&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r30": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "61",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_61_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "61",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_61&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "66",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "69",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_69&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "Clause": "iv",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_iv&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "Clause": "vii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_vii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81A",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81A_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81A",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81A_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81A",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81A_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81B",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81B_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81B",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81B_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81B",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81B_b_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "81B",
   "Subparagraph": "b",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81B_b_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r51": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "82",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r52": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "82",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r53": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "82",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r54": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "90",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_90&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r55": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "91",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r56": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "91",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r57": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "91",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_91&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r58": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "92",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_92&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r59": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "98",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r60": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "98",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r61": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "98",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_98_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r62": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "99",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_99&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r63": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "10",
   "IssueDate": "2023-01-01",
   "Paragraph": "21",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2023-en-r&anchor=para_21&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r64": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "10",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS10_g17-22_TI",
   "URIDate": "2023-03-23"
  },
  "r65": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r66": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "ab",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_ab&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r67": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "c",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_c_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r68": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "c",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_c_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r69": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r70": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r71": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "g",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r72": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "g",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r73": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r74": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS12_g79-88_TI",
   "URIDate": "2023-03-23"
  },
  "r75": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r76": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "Clause": "ix",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e_ix&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r77": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "Clause": "v",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e_v&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r78": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "Clause": "vi",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e_vi&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r79": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "Clause": "viii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e_viii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r80": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r81": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r82": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS16_g73-79_TI",
   "URIDate": "2023-03-23"
  },
  "r83": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "137",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_137&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r84": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "138",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_138&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r85": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "140",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r86": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "140",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r87": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "140",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_140_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r88": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r89": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r90": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "c",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r91": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "c",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r92": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "c",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r93": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r94": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r95": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "142",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_142&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r96": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "145",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_145_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r97": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "145",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_145&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r98": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "147",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_147_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r99": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "148",
   "Subparagraph": "d",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_148_d_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r100": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r101": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Section": "Scope",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS19_g2-7_TI",
   "URIDate": "2023-03-23"
  },
  "r102": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "36",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&anchor=para_36_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r103": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "36",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&anchor=para_36_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r104": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS02_g36-39_TI",
   "URIDate": "2023-03-23"
  },
  "r105": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "20",
   "IssueDate": "2023-01-01",
   "Paragraph": "39",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&anchor=para_39_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r106": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "20",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS20_g39-39_TI",
   "URIDate": "2023-03-23"
  },
  "r107": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "21",
   "IssueDate": "2023-01-01",
   "Paragraph": "52",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2023-en-r&anchor=para_52_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r108": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "21",
   "IssueDate": "2023-01-01",
   "Paragraph": "52",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2023-en-r&anchor=para_52_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r109": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "21",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS21_g51-57_TI",
   "URIDate": "2023-03-23"
  },
  "r110": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "23",
   "IssueDate": "2023-01-01",
   "Paragraph": "26",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=23&code=ifrs-tx-2023-en-r&anchor=para_26_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r111": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_17_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r112": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r113": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r114": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r115": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "18",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_18&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r116": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "19",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_19_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r117": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "19",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_19_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r118": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "19",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_19&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r119": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Section": "Disclosures",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS24_g13-24_TI",
   "URIDate": "2023-03-23"
  },
  "r120": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "26",
   "IssueDate": "2023-01-01",
   "Paragraph": "35",
   "Subparagraph": "b",
   "Clause": "viii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2023-en-r&anchor=para_35_b_viii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r121": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "b",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r122": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r123": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_16_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r124": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "b",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r125": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r126": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "27",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2023-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r127": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "33",
   "IssueDate": "2023-01-01",
   "Paragraph": "66",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r128": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "33",
   "IssueDate": "2023-01-01",
   "Paragraph": "67",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_67&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r129": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "33",
   "IssueDate": "2023-01-01",
   "Paragraph": "70",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r130": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "33",
   "IssueDate": "2023-01-01",
   "Paragraph": "70",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r131": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "33",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS33_g70-73A_TI",
   "URIDate": "2023-03-23"
  },
  "r132": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "36",
   "IssueDate": "2023-01-01",
   "Paragraph": "126",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r133": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "36",
   "IssueDate": "2023-01-01",
   "Paragraph": "130",
   "Subparagraph": "d",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_130_d_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r134": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "36",
   "IssueDate": "2023-01-01",
   "Paragraph": "130",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_130_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r135": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "37",
   "IssueDate": "2023-01-01",
   "Paragraph": "86",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_86&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r136": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "37",
   "IssueDate": "2023-01-01",
   "Paragraph": "88",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_88&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r137": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r138": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "Subparagraph": "e",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118_e_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r139": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r140": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r141": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "126",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r142": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "39",
   "IssueDate": "2023-01-01",
   "Paragraph": "102",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=39&code=ifrs-tx-2023-en-r&anchor=para_102_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r143": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "39",
   "IssueDate": "2023-01-01",
   "Paragraph": "86",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=39&code=ifrs-tx-2023-en-r&anchor=para_86_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r144": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "39",
   "IssueDate": "2023-01-01",
   "Paragraph": "86",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=39&code=ifrs-tx-2023-en-r&anchor=para_86_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r145": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "39",
   "IssueDate": "2023-01-01",
   "Paragraph": "86",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=39&code=ifrs-tx-2023-en-r&anchor=para_86_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r146": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "40",
   "IssueDate": "2023-01-01",
   "Paragraph": "32A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_32A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r147": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "40",
   "IssueDate": "2023-01-01",
   "Paragraph": "76",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_76&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r148": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "40",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_79_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r149": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "40",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2023-en-r&anchor=para_79_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r150": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "41",
   "IssueDate": "2023-01-01",
   "Paragraph": "50",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2023-en-r&anchor=para_50&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r151": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "41",
   "IssueDate": "2023-01-01",
   "Paragraph": "54",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2023-en-r&anchor=para_54_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r152": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "10",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_10&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r153": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "18",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_18_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r154": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r155": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "25",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r156": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r157": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "31",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r158": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "42A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_42A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r159": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "42B",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_42B&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r160": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44B_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r161": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44B",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44B_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r162": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44B",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44B_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r163": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r164": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "46",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_46&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r165": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "50",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_50_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r166": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Section": "Presentation of a statement of cash flows",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IAS07_g10-17_TI",
   "URIDate": "2023-03-23"
  },
  "r167": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "f",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_f_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r168": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "29",
   "Subparagraph": "c",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2023-en-r&anchor=para_29_c_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r169": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "30",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2023-en-r&anchor=para_30_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r170": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IAS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "49",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2023-en-r&anchor=para_49_b_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r171": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2023-en-r&anchor=para_24_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r172": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "24",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2023-en-r&anchor=para_24_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r173": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "32",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2023-en-r&anchor=para_32_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r174": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "32",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2023-en-r&anchor=para_32_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r175": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "10",
   "IssueDate": "2023-01-01",
   "Paragraph": "22",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=10&code=ifrs-tx-2023-en-r&anchor=para_22&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r176": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_12_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r177": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "12",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_12_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r178": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "12",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_12_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r179": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "19B",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_19B_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r180": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "19B",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_19B_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r181": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "21",
   "Subparagraph": "a",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r182": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "21",
   "Subparagraph": "a",
   "Clause": "iv",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_a_iv&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r183": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "21",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_21_b_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r184": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_i&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r185": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_ii&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r186": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_iii&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r187": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "iv",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_iv&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r188": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "ix",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_ix&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r189": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "v",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r190": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "Clause": "viii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B12_b_viii&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r191": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B13",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r192": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B13",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_e&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r193": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B13",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r194": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B16&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r195": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B4",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B4_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r196": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B4",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B4_b&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r197": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B4",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B4_d&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r198": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r199": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r200": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "e",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_e_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r201": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "e",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_e_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r202": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "e",
   "Clause": "iv",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_e_iv&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r203": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r204": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "93",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_93&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r205": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "97",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_97&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r206": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "14",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=14&code=ifrs-tx-2023-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r207": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "105",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_105&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r208": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "113",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_113_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r209": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "114",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_114&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r210": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "116",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_116_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r211": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r212": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "120",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_120_b_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r213": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r214": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "47",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r215": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r216": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r217": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r218": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r219": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r220": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_h&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r221": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "Subparagraph": "j",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53_j&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r222": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r223": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "58",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_58&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r224": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "94",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r225": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "95",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_95&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r226": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "97",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_97&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r227": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IFRS16_g51-60_TI",
   "URIDate": "2023-03-23"
  },
  "r228": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Section": "Presentation",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IFRS16_g47-50_TI",
   "URIDate": "2023-03-23"
  },
  "r229": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "109",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_109&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r230": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "109A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_109A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r231": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "113",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_113_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r232": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "120",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_120&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r233": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "124",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_124&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r234": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "125",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_125&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r235": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "127",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r236": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "128",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_128_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r237": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "128",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_128_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r238": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "132",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_132_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r239": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "C32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_C32&doctype=Appendix&subtype=C",
   "URIDate": "2023-03-23"
  },
  "r240": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "44",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_44&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r241": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r242": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "Subparagraph": "b",
   "Clause": "vii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_b_vii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r243": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r244": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r245": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "47",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_47_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r246": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "47",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_47_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r247": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r248": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "51",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_51_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r249": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "51",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_51_b_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r250": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "3",
   "IssueDate": "2023-01-01",
   "Paragraph": "B67",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B67_c&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r251": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "3",
   "IssueDate": "2023-01-01",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "Clause": "v",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B67_d_v&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r252": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "3",
   "IssueDate": "2023-01-01",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2023-en-r&anchor=para_B67_d&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r253": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "5",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "Subparagraph": "b",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2023-en-r&anchor=para_33_b_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r254": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "11A",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_11A_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r255": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "11B",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_11B_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r256": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "14",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_14_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r257": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r258": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r259": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "21C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_21C&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r260": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "23A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_23A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r261": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "23B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_23B_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r262": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24A",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24A_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r263": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r264": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24B",
   "Subparagraph": "a",
   "Clause": "ii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24B_a_ii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24B",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24B&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24C",
   "Subparagraph": "a",
   "Clause": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24C_a_i&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r267": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "24C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_24C&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "25",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "31",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r270": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35F",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35F_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35H",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35H_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35H",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35H_b_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35H",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35H_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35H",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35H&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35I",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35I&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35K",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35K&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35M",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35M_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35M",
   "Subparagraph": "b",
   "Clause": "iii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35M_b_iii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35M",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35M_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35M",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35M&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "36",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_36&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "42E",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_42E_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "42I",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_42I&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r286": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_6&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r287": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r288": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r289": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r290": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r292": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8_h&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r293": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_8&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r294": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B2",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B2_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r295": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B52",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B52&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r296": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B8",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B8_c&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r297": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Section": "Defined terms",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&doctype=Appendix&subtype=A&dita_xref=IFRS07_APPA_TI",
   "URIDate": "2023-03-23"
  },
  "r298": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Section": "Scope",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IFRS07_g3-5A_TI",
   "URIDate": "2023-03-23"
  },
  "r299": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "23",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r300": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "23",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r301": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "23",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23_h&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r302": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r303": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_24_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r304": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r305": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r306": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r307": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r308": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r309": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_32&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r310": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_33_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r312": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r313": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r314": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&doctype=Standard&dita_xref=IFRS08_g20-24_TI",
   "URIDate": "2023-03-23"
  },
  "r315": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "9",
   "IssueDate": "2023-01-01",
   "Paragraph": "6.5.13",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2023-en-r&anchor=para_6.5.13_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r316": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "9",
   "IssueDate": "2023-01-01",
   "Paragraph": "7.2.34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2023-en-r&anchor=para_7.2.34&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r317": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "IFRS",
   "Number": "9",
   "IssueDate": "2023-01-01",
   "Paragraph": "7.2.42",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2023-en-r&anchor=para_7.2.42&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r318": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "SIC",
   "Number": "29",
   "IssueDate": "2023-01-01",
   "Paragraph": "6",
   "Subparagraph": "c",
   "Clause": "v",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=SIC&num=29&code=ifrs-tx-2023-en-r&anchor=para_6_c_v&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r319": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b",
   "URIDate": "2023-03-23"
  },
  "r320": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "22",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_22&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r321": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37_a&doctype=Standard&book=b",
   "URIDate": "2023-03-23"
  },
  "r322": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37&doctype=Standard&book=b",
   "URIDate": "2023-03-23"
  },
  "r323": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "8",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_8_c&doctype=Standard&book=b",
   "URIDate": "2023-03-23"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "102",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_102&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r325": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r326": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "108",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_108&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r327": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "68",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_68&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "70",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_70&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r329": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "78",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r330": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "78",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r331": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r332": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "82A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_82A&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r333": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_IG6&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r334": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "10",
   "IssueDate": "2023-01-01",
   "Paragraph": "22",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2023-en-r&anchor=para_22_h&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r335": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "80",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_80_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r336": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "80",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_80_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r337": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "80",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_80_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r338": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_37_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r339": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_37_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r340": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_37_h&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r341": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "138",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_138_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r342": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "142",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_142_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r343": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "142",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_142_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r344": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "142",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_142_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r345": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "147",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_147_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r346": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "24",
   "IssueDate": "2023-01-01",
   "Paragraph": "21",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2023-en-r&anchor=para_21_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r347": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "32",
   "IssueDate": "2023-01-01",
   "Paragraph": "IE33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=32&code=ifrs-tx-2023-en-r&anchor=para_IE33&doctype=Illustrative%20Examples",
   "URIDate": "2023-03-23"
  },
  "r348": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "36",
   "IssueDate": "2023-01-01",
   "Paragraph": "127",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2023-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r349": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_16_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r350": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_16_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r351": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_16_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r352": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_16_f&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r353": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r354": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r355": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r356": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44B",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44B&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r357": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44C&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r358": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "44D",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_44D&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r359": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "50",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_50_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r360": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Section": "A Statement of cash flows for an entity other than a financial institution",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A_TI",
   "URIDate": "2023-03-23"
  },
  "r361": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Section": "C Reconciliation of liabilities arising from financing activities",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_C_TI",
   "URIDate": "2023-03-23"
  },
  "r362": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "B10",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "94",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r364": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "B6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_B6&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "IE60",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_IE60&doctype=Illustrative%20Examples",
   "URIDate": "2023-03-23"
  },
  "r366": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "13",
   "IssueDate": "2023-01-01",
   "Paragraph": "IE63",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2023-en-r&anchor=para_IE63&doctype=Illustrative%20Examples",
   "URIDate": "2023-03-23"
  },
  "r367": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "B89",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_B89_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r368": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "B89",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_B89_b&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r369": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "15",
   "IssueDate": "2023-01-01",
   "Paragraph": "B89",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2023-en-r&anchor=para_B89_c&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r370": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "53",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r371": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "113",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_113_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r372": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "17",
   "IssueDate": "2023-01-01",
   "Paragraph": "96",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2023-en-r&anchor=para_96_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r374": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_IG23&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r375": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_32&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r376": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35M",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35M&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r377": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35N",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35N&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r378": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "40",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_40_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r379": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B11",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r380": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B11",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r381": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B11D",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11D_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r382": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B11D",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11D_d&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r383": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B35",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B35_a&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r384": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B35",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B35_e&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r385": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B35",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B35_f&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r386": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B35",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B35_g&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r387": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "B35",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B35&doctype=Appendix&subtype=B",
   "URIDate": "2023-03-23"
  },
  "r388": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG20C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG20C&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r389": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG20D",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r390": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG31A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG31A&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r391": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "IG32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG32&doctype=Implementation%20Guidance",
   "URIDate": "2023-03-23"
  },
  "r392": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_23&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_28_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r397": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r398": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-K",
   "Number": "249",
   "Section": "310"
  },
  "r399": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Number": "249",
   "Section": "220",
   "Subsection": "f"
  },
  "r400": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Number": "249",
   "Section": "240",
   "Subsection": "f"
  },
  "r401": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r402": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w"
  },
  "r403": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r404": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "230",
   "Section": "405"
  },
  "r405": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "10",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_10_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r406": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "102",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_102&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r407": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r408": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r409": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "108",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_108&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r410": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "112",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r411": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "117",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_117&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r412": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_20_d&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r413": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "55",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r414": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "78",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_78&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r415": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r416": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "1",
   "IssueDate": "2023-01-01",
   "Paragraph": "85",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_85&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r417": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "80",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_80&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r418": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81_g&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r419": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "12",
   "IssueDate": "2023-01-01",
   "Paragraph": "81",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2023-en-r&anchor=para_81&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r420": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_37&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r421": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "16",
   "IssueDate": "2023-01-01",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2023-en-r&anchor=para_73_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r422": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "135",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_135_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r423": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "141",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_141_c&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r424": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "144",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_144&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r425": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "145",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_145&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r426": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "5",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_5&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r427": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "19",
   "IssueDate": "2023-01-01",
   "Paragraph": "57",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2023-en-r&anchor=para_57_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r428": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "37",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2023-en-r&anchor=para_37&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r429": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "20",
   "IssueDate": "2023-01-01",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r430": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "20",
   "IssueDate": "2023-01-01",
   "Paragraph": "39",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=20&code=ifrs-tx-2023-en-r&anchor=para_39_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r431": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "Subparagraph": "e",
   "Clause": "vii",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118_e_vii&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r432": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118_e&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r433": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "38",
   "IssueDate": "2023-01-01",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2023-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r434": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "41",
   "IssueDate": "2023-01-01",
   "Paragraph": "41",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2023-en-r&anchor=para_41&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r435": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_16&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r436": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "17",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r437": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_a&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r438": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20_b&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r439": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "20",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r440": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "35",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_35&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r441": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IAS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r442": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IFRS",
   "Number": "2",
   "IssueDate": "2023-01-01",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r443": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "39",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r444": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r445": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "IFRS",
   "Number": "8",
   "IssueDate": "2023-01-01",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2023-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2023-03-23"
  },
  "r446": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Note": "Expired 2023-01-01",
   "Name": "IFRS",
   "Number": "7",
   "IssueDate": "2023-01-01",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b",
   "URIDate": "2023-03-23"
  }
 }
}
