<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.22.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>251</ContextCount>
  <ElementCount>204</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>63</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>12</UnitCount>
  <MyReports>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - 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-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - 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>2</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - 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>3</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - 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>4</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - 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>5</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - 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>6</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - 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>7</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1007008 - 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>8</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1008009 - 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>9</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2107102 - 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>11</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2111103 - 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>12</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2115104 - 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>13</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2119105 - Disclosure - Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstruments</Role>
      <ShortName>Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2124106 - 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>15</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2128107 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2132108 - 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>17</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2136109 - 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>18</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2140110 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2142111 - 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>20</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>21</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2308302 - 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>23</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2312303 - 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>24</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2316304 - 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>25</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2320305 - 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>26</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2325306 - 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>27</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2329307 - 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>28</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2333308 - 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>29</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2337309 - 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>30</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2404401 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Equity Investment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesEquityInvestmentDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Equity Investment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Deferred Gift Card Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesDeferredGiftCardRevenueDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Deferred Gift Card Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Basis of Presentation and Summary of Significant Accounting Policies - Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/BasisofPresentationandSummaryofSignificantAccountingPoliciesSupplementalCashFlowInformationRelatedtoLeasesDetails</Role>
      <ShortName>Basis of Presentation and Summary of Significant Accounting Policies - Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>33</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Property at Cost - Components of Property at Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCostComponentsofPropertyatCostDetails</Role>
      <ShortName>Property at Cost - Components of Property at Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Property at Cost - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PropertyatCostAdditionalinformationDetails</Role>
      <ShortName>Property at Cost - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2413406 - Disclosure - Accumulated Other Comprehensive (Loss) Income - Change in Accumulated Other Comprehensive Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeChangeinAccumulatedOtherComprehensiveLossDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income - Change in Accumulated Other Comprehensive Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2414407 - Disclosure - Accumulated Other Comprehensive (Loss) Income - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeAdditionalInformationDetails</Role>
      <ShortName>Accumulated Other Comprehensive (Loss) Income - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/AccumulatedOtherComprehensiveLossIncomeTables</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2417408 - 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>38</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2418409 - Disclosure - Capital Stock and Earnings Per Share - Calculation of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/CapitalStockandEarningsPerShareCalculationofBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>Capital Stock and Earnings Per Share - Calculation of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2421410 - 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>40</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2422411 - 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>41</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2423412 - Disclosure - Financial Instruments - Impact of Derivative Financial Instruments on Statement of Income (Loss) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FinancialInstrumentsImpactofDerivativeFinancialInstrumentsonStatementofIncomeLossDetails</Role>
      <ShortName>Financial Instruments - Impact of Derivative Financial Instruments on Statement of Income (Loss) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2426413 - Disclosure - Fair Value Measurements - Financial Assets and Liabilities on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurementsFinancialAssetsandLiabilitiesonaRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Financial Assets and Liabilities on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2427414 - Disclosure - Fair Value Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/FairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2430415 - 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>45</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2431416 - Disclosure - Segment Information - Financial Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/SegmentInformationFinancialInformationDetails</Role>
      <ShortName>Segment Information - Financial Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2434417 - Disclosure - Pension Plans and Other Retirement Benefits - Financial Information Related to Funded Defined Benefit Pension Plan and Unfunded Supplemental Pension Plan (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/PensionPlansandOtherRetirementBenefitsFinancialInformationRelatedtoFundedDefinedBenefitPensionPlanandUnfundedSupplementalPensionPlanDetails</Role>
      <ShortName>Pension Plans and Other Retirement Benefits - Financial Information Related to Funded Defined Benefit Pension Plan and Unfunded Supplemental Pension Plan (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2435418 - 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>48</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2438419 - Disclosure - Long-Term Debt and Credit Lines - Exclusive of Current Installments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/LongTermDebtandCreditLinesExclusiveofCurrentInstallmentsDetails</Role>
      <ShortName>Long-Term Debt and Credit Lines - Exclusive of Current Installments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2439420 - 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>50</Position>
    </Report>
    <Report instance="tjx-20220430.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2441421 - Disclosure - Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.tjx.com/role/IncomeTaxesDetails</Role>
      <ShortName>Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.tjx.com/role/IncomeTaxes</ParentRole>
      <Position>51</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-Q" original="tjx-20220430.htm">tjx-20220430.htm</File>
    <File>tjx-20220430.xsd</File>
    <File>tjx-20220430_cal.xml</File>
    <File>tjx-20220430_def.xml</File>
    <File>tjx-20220430_lab.xml</File>
    <File>tjx-20220430_pre.xml</File>
    <File>tjx-20220430xex101.htm</File>
    <File>tjx-20220430xex102.htm</File>
    <File>tjx-20220430xex103.htm</File>
    <File>tjx-20220430xex311.htm</File>
    <File>tjx-20220430xex312.htm</File>
    <File>tjx-20220430xex321.htm</File>
    <File>tjx-20220430xex322.htm</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="765">http://fasb.org/us-gaap/2021-01-31</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2021q4</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
