<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.26.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>380</ContextCount>
  <ElementCount>507</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>109</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>13</UnitCount>
  <MyReports>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/Cover</Role>
      <ShortName>Cover</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952151 - Statement - Consolidated Statements of Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofIncome</Role>
      <ShortName>Consolidated Statements of Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952152 - Statement - Consolidated Statements of Comprehensive Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofComprehensiveIncome</Role>
      <ShortName>Consolidated Statements of Comprehensive Income</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952153 - Statement - Consolidated Statements of Comprehensive Income (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofComprehensiveIncomeParenthetical</Role>
      <ShortName>Consolidated Statements of Comprehensive Income (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952154 - Statement - Consolidated Balance Sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated Balance Sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952155 - Statement - Consolidated Balance Sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated Balance Sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952156 - Statement - Consolidated Statements of Cash Flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofCashFlows</Role>
      <ShortName>Consolidated Statements of Cash Flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952157 - Statement - Consolidated Statements of Shareholders' Equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofShareholdersEquity</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952158 - Statement - Consolidated Statements of Shareholders' Equity (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ConsolidatedStatementsofShareholdersEquityParenthetical</Role>
      <ShortName>Consolidated Statements of Shareholders' Equity (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - Basis of Presentation and Summary of Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - Property at Cost</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCost</Role>
      <ShortName>Property at Cost</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - Accumulated Other Comprehensive (Loss) Income</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncome</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - Capital Stock and Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShare</Role>
      <ShortName>Capital Stock and Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstruments</Role>
      <ShortName>Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - Stock Incentive Plan</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlan</Role>
      <ShortName>Stock Incentive Plan</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - Pension Plans and Other Retirement Benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefits</Role>
      <ShortName>Pension Plans and Other Retirement Benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9952168 - Disclosure - Long-Term Debt and Credit Lines</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLines</Role>
      <ShortName>Long-Term Debt and Credit Lines</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9952169 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9952170 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9952171 - Disclosure - Accrued Expenses and Other Liabilities, Current and Long-Term</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTerm</Role>
      <ShortName>Accrued Expenses and Other Liabilities, Current and Long-Term</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9952172 - Disclosure - Contingent Obligations, Contingencies, and Commitments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ContingentObligationsContingenciesandCommitments</Role>
      <ShortName>Contingent Obligations, Contingencies, and Commitments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9952173 - Disclosure - Supplemental Cash Flow Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SupplementalCashFlowInformation</Role>
      <ShortName>Supplemental Cash Flow Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9952174 - Disclosure - Schedule II - Valuation and Qualifying Accounts</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ScheduleIIValuationandQualifyingAccounts</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>995447 - Disclosure - Insider Trading Policies and Procedures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingPoliciesProc</Role>
      <ShortName>Insider Trading Policies and Procedures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>995550 - Disclosure - Cybersecurity Risk Management and Strategy Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/cyd/role/CybersecurityRiskManagementAndStrategyDisclosure</Role>
      <ShortName>Cybersecurity Risk Management and Strategy Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955511 - Disclosure - Basis of Presentation and Summary of Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPolicies</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955512 - Disclosure - Basis of Presentation and Summary of Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955513 - Disclosure - Property at Cost (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCostTables</Role>
      <ShortName>Property at Cost (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/PropertyatCost</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955514 - Disclosure - Accumulated Other Comprehensive (Loss) Income (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeTables</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncome</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955515 - Disclosure - Capital Stock and Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShareTables</Role>
      <ShortName>Capital Stock and Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/CapitalStockandEarningsPerShare</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955516 - Disclosure - Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstrumentsTables</Role>
      <ShortName>Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/FinancialInstruments</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955517 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/FairValueMeasurements</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/SegmentInformation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955519 - Disclosure - Stock Incentive Plan (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanTables</Role>
      <ShortName>Stock Incentive Plan (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/StockIncentivePlan</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - Pension Plans and Other Retirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsTables</Role>
      <ShortName>Pension Plans and Other Retirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefits</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - Long-Term Debt and Credit Lines (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLinesTables</Role>
      <ShortName>Long-Term Debt and Credit Lines (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/LongTermDebtandCreditLines</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955522 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/IncomeTaxes</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955523 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/Leases</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955524 - Disclosure - Accrued Expenses and Other Liabilities, Current and Long-Term (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTermTables</Role>
      <ShortName>Accrued Expenses and Other Liabilities, Current and Long-Term (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTerm</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955525 - Disclosure - Supplemental Cash Flow Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SupplementalCashFlowInformationTables</Role>
      <ShortName>Supplemental Cash Flow Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/SupplementalCashFlowInformation</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955526 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Revenue Recognition (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesRevenueRecognitionDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Revenue Recognition (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955527 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Summary of Contract with Customer Liability (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesSummaryofContractwithCustomerLiabilityDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Summary of Contract with Customer Liability (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955528 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesCashandCashEquivalentsDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955529 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Merchandise Inventories (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesMerchandiseInventoriesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Merchandise Inventories (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955530 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Summary of Interest (Income) Expense, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesSummaryofInterestIncomeExpenseNetDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Summary of Interest (Income) Expense, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955531 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Depreciation and Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesDepreciationandAmortizationDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Depreciation and Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955532 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Lease Accounting (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesLeaseAccountingDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Lease Accounting (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955533 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Goodwill and Tradenames (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesGoodwillandTradenamesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Goodwill and Tradenames (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955534 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Schedule of Goodwill by Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesScheduleofGoodwillbySegmentDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Schedule of Goodwill by Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955535 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Schedule of Finite-Lived Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesScheduleofFiniteLivedIntangibleAssetsDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Schedule of Finite-Lived Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955536 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Impairment of Long-Lived Assets, Goodwill and Tradenames (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesImpairmentofLongLivedAssetsGoodwillandTradenamesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Impairment of Long-Lived Assets, Goodwill and Tradenames (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955537 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Advertising Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesAdvertisingCostsDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Advertising Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Equity Investment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesEquityInvestmentDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Equity Investment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - Basis of Presentation and Summary of Accounting Policies - Litigation Settlement Related to Credit Card Interchange Fees (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofAccountingPoliciesLitigationSettlementRelatedtoCreditCardInterchangeFeesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Accounting Policies - Litigation Settlement Related to Credit Card Interchange Fees (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - Property at Cost - Summary of Components of Property at Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCostSummaryofComponentsofPropertyatCostDetails</Role>
      <ShortName>Property at Cost - Summary of Components of Property at Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - Property at Cost - Summary of Long-Lived Assets by Geographic Location (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCostSummaryofLongLivedAssetsbyGeographicLocationDetails</Role>
      <ShortName>Property at Cost - Summary of Long-Lived Assets by Geographic Location (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - Accumulated Other Comprehensive (Loss) Income - Changes in Accumulated Other Comprehensive (Loss) Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeChangesinAccumulatedOtherComprehensiveLossIncomeDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income - Changes in Accumulated Other Comprehensive (Loss) Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9955543 - Disclosure - Capital Stock and Earnings Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Capital Stock and Earnings Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - Capital Stock and Earnings Per Share - Summary of Share Repurchases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShareSummaryofShareRepurchasesDetails</Role>
      <ShortName>Capital Stock and Earnings Per Share - Summary of Share Repurchases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - Capital Stock and Earnings Per Share - Summary of Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShareSummaryofEarningsPerShareDetails</Role>
      <ShortName>Capital Stock and Earnings Per Share - Summary of Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9955546 - Disclosure - Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - Financial Instruments - Summary of Derivative Financial Instruments, Related Fair Value and Balance Sheet Classification (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstrumentsSummaryofDerivativeFinancialInstrumentsRelatedFairValueandBalanceSheetClassificationDetails</Role>
      <ShortName>Financial Instruments - Summary of Derivative Financial Instruments, Related Fair Value and Balance Sheet Classification (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - Financial Instruments - Summary of Impact of Derivative Financial Instruments on Statements of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstrumentsSummaryofImpactofDerivativeFinancialInstrumentsonStatementsofIncomeDetails</Role>
      <ShortName>Financial Instruments - Summary of Impact of Derivative Financial Instruments on Statements of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9955549 - Disclosure - Fair Value Measurement - Summary of Fair Value of Financial Assets and Liabilities on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurementSummaryofFairValueofFinancialAssetsandLiabilitiesonaRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurement - Summary of Fair Value of Financial Assets and Liabilities on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9955550 - Disclosure - Fair Value Measurements - Schedule of Carrying Values and Fair Value Estimates of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurementsScheduleofCarryingValuesandFairValueEstimatesofLongTermDebtDetails</Role>
      <ShortName>Fair Value Measurements - Schedule of Carrying Values and Fair Value Estimates of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9955551 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9955552 - Disclosure - Segment Information - Summary of Percentages of Consolidated Revenues by Major Product Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformationSummaryofPercentagesofConsolidatedRevenuesbyMajorProductCategoryDetails</Role>
      <ShortName>Segment Information - Summary of Percentages of Consolidated Revenues by Major Product Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9955553 - Disclosure - Segment Information - Summary of Financial Information on Business Segments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformationSummaryofFinancialInformationonBusinessSegmentsDetails</Role>
      <ShortName>Segment Information - Summary of Financial Information on Business Segments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9955554 - Disclosure - Stock Incentive Plan - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanAdditionalInformationDetails</Role>
      <ShortName>Stock Incentive Plan - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9955555 - Disclosure - Stock Incentive Plan - Schedule of Estimated Fair Value of Options as of Grant Date by Using Black-Scholes Option Pricing Model (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanScheduleofEstimatedFairValueofOptionsasofGrantDatebyUsingBlackScholesOptionPricingModelDetails</Role>
      <ShortName>Stock Incentive Plan - Schedule of Estimated Fair Value of Options as of Grant Date by Using Black-Scholes Option Pricing Model (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9955556 - Disclosure - Stock Incentive Plan - Stock Options And Related Weighted Average Exercise Price (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanStockOptionsAndRelatedWeightedAverageExercisePriceDetails</Role>
      <ShortName>Stock Incentive Plan - Stock Options And Related Weighted Average Exercise Price (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9955557 - Disclosure - Stock Incentive Plan - Schedule Of Stock Options Outstanding Expected To Vest And Stock Options Outstanding Exercisable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanScheduleOfStockOptionsOutstandingExpectedToVestAndStockOptionsOutstandingExercisableDetails</Role>
      <ShortName>Stock Incentive Plan - Schedule Of Stock Options Outstanding Expected To Vest And Stock Options Outstanding Exercisable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>76</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9955558 - Disclosure - Stock Incentive Plan - Summary of Nonvested Performance-Based Stock Awards (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanSummaryofNonvestedPerformanceBasedStockAwardsDetails</Role>
      <ShortName>Stock Incentive Plan - Summary of Nonvested Performance-Based Stock Awards (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9955559 - Disclosure - Stock Incentive Plan - Summary of Units Granted and Weighted Average Grant Date Fair Value (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/StockIncentivePlanSummaryofUnitsGrantedandWeightedAverageGrantDateFairValueDetails</Role>
      <ShortName>Stock Incentive Plan - Summary of Units Granted and Weighted Average Grant Date Fair Value (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9955560 - Disclosure - Pension Plans and Other Retirement Benefits - Summary of Financial Information Related to Funded Defined Benefit Pension Plan and Unfunded Supplemental Retirement Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsSummaryofFinancialInformationRelatedtoFundedDefinedBenefitPensionPlanandUnfundedSupplementalRetirementPlanDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Summary of Financial Information Related to Funded Defined Benefit Pension Plan and Unfunded Supplemental Retirement Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>9955561 - Disclosure - Pension Plans and Other Retirement Benefits - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsAdditionalInformationDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>9955562 - Disclosure - Pension Plans and Other Retirement Benefits - Summary of Weighted Average Assumptions for Obligation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsSummaryofWeightedAverageAssumptionsforObligationDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Summary of Weighted Average Assumptions for Obligation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>9955563 - Disclosure - Pension Plans and Other Retirement Benefits - Summary of Components of Net Periodic Benefit Cost and Other Amounts Recognized in Other Comprehensive Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsSummaryofComponentsofNetPeriodicBenefitCostandOtherAmountsRecognizedinOtherComprehensiveIncomeLossDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Summary of Components of Net Periodic Benefit Cost and Other Amounts Recognized in Other Comprehensive Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>9955564 - Disclosure - Pension Plans and Other Retirement Benefits - Schedule of Benefits Expected to be Paid in Each of Next Five Fiscal Years and Thereafter (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsScheduleofBenefitsExpectedtobePaidinEachofNextFiveFiscalYearsandThereafterDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Schedule of Benefits Expected to be Paid in Each of Next Five Fiscal Years and Thereafter (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>9955565 - Disclosure - Pension Plans and Other Retirement Benefits - Summary of Fair Value for Pension Assets Measured at Fair Value on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsSummaryofFairValueforPensionAssetsMeasuredatFairValueonRecurringBasisDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Summary of Fair Value for Pension Assets Measured at Fair Value on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>9955566 - Disclosure - Pension Plans and Other Retirement Benefits - Summary of Target Allocation Guidelines for Plan Assets Along with Actual Allocation of Plan Assets as of Valuation Date (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsSummaryofTargetAllocationGuidelinesforPlanAssetsAlongwithActualAllocationofPlanAssetsasofValuationDateDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Summary of Target Allocation Guidelines for Plan Assets Along with Actual Allocation of Plan Assets as of Valuation Date (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>9955567 - Disclosure - Long-Term Debt and Credit Lines- Long-Term Debt, Exclusive of Current Installments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLinesLongTermDebtExclusiveofCurrentInstallmentsDetails</Role>
      <ShortName>Long-Term Debt and Credit Lines- Long-Term Debt, Exclusive of Current Installments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>9955568 - Disclosure - Long-Term Debt and Credit Lines - Aggregate Maturities of Long-Term Debt, Inclusive of Current Installments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLinesAggregateMaturitiesofLongTermDebtInclusiveofCurrentInstallmentsDetails</Role>
      <ShortName>Long-Term Debt and Credit Lines - Aggregate Maturities of Long-Term Debt, Inclusive of Current Installments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>9955569 - Disclosure - Long-Term Debt and Credit Lines - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLinesAdditionalInformationDetails</Role>
      <ShortName>Long-Term Debt and Credit Lines - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>9955570 - Disclosure - Income Taxes - Summary of Components of Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesSummaryofComponentsofIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Components of Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>9955571 - Disclosure - Income Taxes - Summary of Provision for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesSummaryofProvisionforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Provision for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>90</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>9955572 - Disclosure - Income Taxes - Summary of Net Deferred Tax (Liabilities) Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesSummaryofNetDeferredTaxLiabilitiesAssetsDetails</Role>
      <ShortName>Income Taxes - Summary of Net Deferred Tax (Liabilities) Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>9955573 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>9955574 - Disclosure - Income Taxes - Effective Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes - Effective Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>9955575 - Disclosure - Income Taxes - Reconciliation of U.S. Federal Statutory Income Tax Rate and Worldwide Effective Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesReconciliationofUSFederalStatutoryIncomeTaxRateandWorldwideEffectiveIncomeTaxRateDetails</Role>
      <ShortName>Income Taxes - Reconciliation of U.S. Federal Statutory Income Tax Rate and Worldwide Effective Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>9955576 - Disclosure - Income Taxes - Summary of Cash Payments for Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesSummaryofCashPaymentsforIncomeTaxesDetails</Role>
      <ShortName>Income Taxes - Summary of Cash Payments for Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>9955577 - Disclosure - Income Taxes - Reconciliation of Beginning and Ending Gross Amount of Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesReconciliationofBeginningandEndingGrossAmountofUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>Income Taxes - Reconciliation of Beginning and Ending Gross Amount of Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>9955578 - Disclosure - Leases - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesAdditionalInformationDetails</Role>
      <ShortName>Leases - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>9955579 - Disclosure - Leases - Summary of Supplemental Balance Sheet Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesSummaryofSupplementalBalanceSheetInformationRelatedtoLeasesDetails</Role>
      <ShortName>Leases - Summary of Supplemental Balance Sheet Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>9955580 - Disclosure - Leases - Lease Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesLeaseCostDetails</Role>
      <ShortName>Leases - Lease Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>9955581 - Disclosure - Leases - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesSupplementalCashFlowInformationDetails</Role>
      <ShortName>Leases - Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>9955582 - Disclosure - Leases - Schedule of Operating Leases Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LeasesScheduleofOperatingLeasesMaturityDetails</Role>
      <ShortName>Leases - Schedule of Operating Leases Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>9955583 - Disclosure - Accrued Expenses and Other Liabilities, Current and Long-Term - Schedule of Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTermScheduleofAccruedExpensesandOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Accrued Expenses and Other Liabilities, Current and Long-Term - Schedule of Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>9955584 - Disclosure - Accrued Expenses and Other Liabilities, Current and Long-Term - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTermAdditionalInformationDetails</Role>
      <ShortName>Accrued Expenses and Other Liabilities, Current and Long-Term - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>9955585 - Disclosure - Accrued Expenses and Other Liabilities, Current and Long-Term - Schedule of Other Long-Term Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccruedExpensesandOtherLiabilitiesCurrentandLongTermScheduleofOtherLongTermLiabilitiesDetails</Role>
      <ShortName>Accrued Expenses and Other Liabilities, Current and Long-Term - Schedule of Other Long-Term Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>9955586 - Disclosure - Contingent Obligations, Contingencies, and Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ContingentObligationsContingenciesandCommitmentsDetails</Role>
      <ShortName>Contingent Obligations, Contingencies, and Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/ContingentObligationsContingenciesandCommitments</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>9955587 - Disclosure - Supplemental Cash Flow Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SupplementalCashFlowInformationDetails</Role>
      <ShortName>Supplemental Cash Flow Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/SupplementalCashFlowInformationTables</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="tjx-20260131.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>9955588 - Disclosure - Schedule II - Valuation and Qualifying Accounts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/ScheduleIIValuationandQualifyingAccountsDetails</Role>
      <ShortName>Schedule II - Valuation and Qualifying Accounts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/ScheduleIIValuationandQualifyingAccounts</ParentRole>
      <Position>107</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="tjx-20260131.htm">tjx-20260131.htm</File>
    <File>tjx-20260131.xsd</File>
    <File>tjx-20260131_cal.xml</File>
    <File>tjx-20260131_def.xml</File>
    <File>tjx-20260131_lab.xml</File>
    <File>tjx-20260131_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="1">http://fasb.org/srt/2025</BaseTaxonomy>
    <BaseTaxonomy items="1469">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="15">http://xbrl.sec.gov/cyd/2025</BaseTaxonomy>
    <BaseTaxonomy items="38">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="5">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
