<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.4</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>257</ContextCount>
  <ElementCount>503</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>64</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>5</UnitCount>
  <MyReports>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0001001 - Document - Cover Page Document</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CoverPageDocument</Role>
      <ShortName>Cover Page Document</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001002 - Statement - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DocumentandEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1002003 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1003004 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1004005 - Statement - CONSOLIDATED STATEMENTS OF INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDSTATEMENTSOFINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1005006 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>1006007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>1007008 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>1008009 - Statement - CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY CONSOLIDATED STATEMENTS OF STOCKHOLDERS" EQUITY (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITYParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY CONSOLIDATED STATEMENTS OF STOCKHOLDERS" EQUITY (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>1009010 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2101101 - Disclosure - Organization and Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2109102 - Disclosure - Additional Financial Statement Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformation</Role>
      <ShortName>Additional Financial Statement Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2119103 - Disclosure - Revenue (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.gap.com/role/RevenueNotes</Role>
      <ShortName>Revenue (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2123104 - Disclosure - Goodwill and Trade Names</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/GoodwillandTradeNames</Role>
      <ShortName>Goodwill and Trade Names</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2128105 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2134106 - Disclosure - Fair Value Measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/FairValueMeasurements</Role>
      <ShortName>Fair Value Measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2139107 - Disclosure - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxes</Role>
      <ShortName>Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2148108 - Disclosure - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstruments</Role>
      <ShortName>Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2154109 - Disclosure - Common Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommonStock</Role>
      <ShortName>Common Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2158110 - Disclosure - Share-Based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensation</Role>
      <ShortName>Share-Based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2169111 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2174112 - Disclosure - Employee Benefit Plans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EmployeeBenefitPlans</Role>
      <ShortName>Employee Benefit Plans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2176113 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2180114 - Disclosure - Commitments and Contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommitmentsandContingencies</Role>
      <ShortName>Commitments and Contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2184115 - Disclosure - Segment Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/SegmentInformation</Role>
      <ShortName>Segment Information</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2189116 - Disclosure - Store Closing and Other Operating Costs Store Closing and Other Operating Costs (Notes)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.gap.com/role/StoreClosingandOtherOperatingCostsStoreClosingandOtherOperatingCostsNotes</Role>
      <ShortName>Store Closing and Other Operating Costs Store Closing and Other Operating Costs (Notes)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2202201 - Disclosure - Organization and Summary of Significant Accounting Policies Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPolicies</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Organization and Summary of Significant Accounting Policies Organization and Summary of Significant Accounting Policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesOrganizationandSummaryofSignificantAccountingPoliciesTables</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Organization and Summary of Significant Accounting Policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2310302 - Disclosure - Additional Financial Statement Information Additional Financial Statement Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationAdditionalFinancialStatementInformationTables</Role>
      <ShortName>Additional Financial Statement Information Additional Financial Statement Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2321303 - Disclosure - Revenue from Contract with Customer (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/RevenuefromContractwithCustomerTables</Role>
      <ShortName>Revenue from Contract with Customer (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2324304 - Disclosure - Goodwill and Trade Names (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/GoodwillandTradeNamesTables</Role>
      <ShortName>Goodwill and Trade Names (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/GoodwillandTradeNames</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2329305 - Disclosure - Long-Term Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LongTermDebtTables</Role>
      <ShortName>Long-Term Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2335306 - Disclosure - Fair Value Measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair Value Measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/FairValueMeasurements</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2340307 - Disclosure - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesTables</Role>
      <ShortName>Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/IncomeTaxes</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2349308 - Disclosure - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstrumentsTables</Role>
      <ShortName>Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/DerivativeFinancialInstruments</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2355309 - Disclosure - Common Stock (Share Repurchases) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommonStockShareRepurchasesTables</Role>
      <ShortName>Common Stock (Share Repurchases) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/CommonStock</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2359310 - Disclosure - Share-Based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationTables</Role>
      <ShortName>Share-Based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/ShareBasedCompensation</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2370311 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/Leases</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2377312 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/EarningsPerShare</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2385314 - Disclosure - Segment Information (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/SegmentInformationTables</Role>
      <ShortName>Segment Information (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.gap.com/role/SegmentInformation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2404401 - Disclosure - Organization and Summary of Significant Accounting Policies Other Significant Accounting Policies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesOtherSignificantAccountingPoliciesDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Other Significant Accounting Policies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Organization and Summary of Significant Accounting Policies Foreign Exchange Gain/Loss (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesForeignExchangeGainLossDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Foreign Exchange Gain/Loss (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2406403 - Disclosure - Organization and Summary of Significant Accounting Policies Recent Accounting Pronouncements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesRecentAccountingPronouncementsAdditionalInformationDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Recent Accounting Pronouncements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Organization and Summary of Significant Accounting Policies Supplemental Cash Flow Disclosures (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesSupplementalCashFlowDisclosuresDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies Supplemental Cash Flow Disclosures (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Organization and Summary of Significant Accounting Policies COVID-19 Impact (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesCOVID19ImpactDetails</Role>
      <ShortName>Organization and Summary of Significant Accounting Policies COVID-19 Impact (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/OrganizationandSummaryofSignificantAccountingPoliciesOrganizationandSummaryofSignificantAccountingPoliciesTables</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2411406 - Disclosure - Additional Financial Statement Information Cash and Cash Equivalents (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationCashandCashEquivalentsDetails</Role>
      <ShortName>Additional Financial Statement Information Cash and Cash Equivalents (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2412407 - Disclosure - Additional Financial Statement Information Short Term Investments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationShortTermInvestmentsDetails</Role>
      <ShortName>Additional Financial Statement Information Short Term Investments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2413408 - Disclosure - Additional Financial Statement Information Other Current Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationOtherCurrentAssetsDetails</Role>
      <ShortName>Additional Financial Statement Information Other Current Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2414409 - Disclosure - Additional Financial Statement Information Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationPropertyandEquipmentDetails</Role>
      <ShortName>Additional Financial Statement Information Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2415410 - Disclosure - Additional Financial Statement Information Other Long-Term Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationOtherLongTermAssetsDetails</Role>
      <ShortName>Additional Financial Statement Information Other Long-Term Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2416411 - Disclosure - Additional Financial Statement Information Accrued Expenses and Other Current Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationAccruedExpensesandOtherCurrentLiabilitiesDetails</Role>
      <ShortName>Additional Financial Statement Information Accrued Expenses and Other Current Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2417412 - Disclosure - Additional Financial Statement Information Other Long-Term Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationOtherLongTermLiabilitiesDetails</Role>
      <ShortName>Additional Financial Statement Information Other Long-Term Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2418413 - Disclosure - Additional Financial Statement Information Additional Financial Statement Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/AdditionalFinancialStatementInformationAdditionalFinancialStatementInformationDetails</Role>
      <ShortName>Additional Financial Statement Information Additional Financial Statement Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/AdditionalFinancialStatementInformationAdditionalFinancialStatementInformationTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2420414 - Disclosure - Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/RevenueDetails</Role>
      <ShortName>Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/RevenuefromContractwithCustomerTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2422415 - Disclosure - Disaggregation Revenue (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DisaggregationRevenueDetails</Role>
      <ShortName>Disaggregation Revenue (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2425416 - Disclosure - Goodwill and Trade Names Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/GoodwillandTradeNamesTableDetails</Role>
      <ShortName>Goodwill and Trade Names Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/GoodwillandTradeNamesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2426417 - Disclosure - Goodwill and Trade Names - Additional Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/GoodwillandTradeNamesAdditionalGoodwillDetails</Role>
      <ShortName>Goodwill and Trade Names - Additional Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2427418 - Disclosure - Goodwill and Trade Names - Additional Trade Names (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/GoodwillandTradeNamesAdditionalTradeNamesDetails</Role>
      <ShortName>Goodwill and Trade Names - Additional Trade Names (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2430419 - Disclosure - Long-Term Debt - Schedule of Long-Term Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LongTermDebtScheduleofLongTermDebtDetails</Role>
      <ShortName>Long-Term Debt - Schedule of Long-Term Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2431420 - Disclosure - Debt - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DebtAdditionalInformationDetails</Role>
      <ShortName>Debt - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2433422 - Disclosure - Long Term Debt Maturities Table (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LongTermDebtMaturitiesTableDetails</Role>
      <ShortName>Long Term Debt Maturities Table (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2436423 - Disclosure - Fair Value Measurements - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/FairValueMeasurementsFinancialAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails</Role>
      <ShortName>Fair Value Measurements - Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2437424 - Disclosure - Fair Value Measurements - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/FairValueMeasurementsAdditionalInformationDetails</Role>
      <ShortName>Fair Value Measurements - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2438425 - Disclosure - Fair Value Measurements Long Lived Assets Impairment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/FairValueMeasurementsLongLivedAssetsImpairmentDetails</Role>
      <ShortName>Fair Value Measurements Long Lived Assets Impairment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2441426 - Disclosure - Income Taxes Income Taxes - Components Of Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxesComponentsOfIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>Income Taxes Income Taxes - Components Of Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2442427 - Disclosure - Income Taxes Income Taxes - Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxesTaxProvisionDetails</Role>
      <ShortName>Income Taxes Income Taxes - Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2443428 - Disclosure - Income Taxes Income Taxes - Effective Income Tax Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxesEffectiveIncomeTaxRateReconciliationDetails</Role>
      <ShortName>Income Taxes Income Taxes - Effective Income Tax Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2444429 - Disclosure - Income Taxes Income Taxes - Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxesDeferredTaxAssetsandLiabilitiesDetails</Role>
      <ShortName>Income Taxes Income Taxes - Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2445430 - Disclosure - Income Taxes Income Taxes - Unrecognized Tax Benefits Roll Forward (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxesUnrecognizedTaxBenefitsRollForwardDetails</Role>
      <ShortName>Income Taxes Income Taxes - Unrecognized Tax Benefits Roll Forward (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2446431 - Disclosure - Income Taxes - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income Taxes - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2447432 - Disclosure - Income Taxes Income Tax Items (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/IncomeTaxesIncomeTaxItemsDetails</Role>
      <ShortName>Income Taxes Income Tax Items (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2450433 - Disclosure - Derivative Financial Instruments - Foreign Exchange Contracts Outstanding to Sell Various Currencies (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstrumentsForeignExchangeContractsOutstandingtoSellVariousCurrenciesDetails</Role>
      <ShortName>Derivative Financial Instruments - Foreign Exchange Contracts Outstanding to Sell Various Currencies (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2451434 - Disclosure - Derivative Financial Instruments - Fair Values of Asset and Liability Derivative Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstrumentsFairValuesofAssetandLiabilityDerivativeFinancialInstrumentsDetails</Role>
      <ShortName>Derivative Financial Instruments - Fair Values of Asset and Liability Derivative Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2452435 - Disclosure - Derivative Financial Instruments - Effects Of Derivative Financial Instruments On OCI And Consolidated Statements Of Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstrumentsEffectsOfDerivativeFinancialInstrumentsOnOCIAndConsolidatedStatementsOfIncomeDetails</Role>
      <ShortName>Derivative Financial Instruments - Effects Of Derivative Financial Instruments On OCI And Consolidated Statements Of Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2453436 - Disclosure - Derivative Financial Instruments - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/DerivativeFinancialInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative Financial Instruments - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2456437 - Disclosure - Common Stock (Share Repurchase Activity) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommonStockShareRepurchaseActivityDetails</Role>
      <ShortName>Common Stock (Share Repurchase Activity) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/CommonStockShareRepurchasesTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2457438 - Disclosure - Common Stock - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommonStockAdditionalInformationDetails</Role>
      <ShortName>Common Stock - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2460439 - Disclosure - Share-Based Compensation - Total Share-Based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationTotalShareBasedCompensationExpenseDetails</Role>
      <ShortName>Share-Based Compensation - Total Share-Based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2461440 - Disclosure - Share-Based Compensation Share-Based Compensation - Stock Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationStockUnitActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Stock Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2462441 - Disclosure - Share-Based Compensation Share-Based Compensation - Additional Information About Stock Unit Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationAdditionalInformationAboutStockUnitActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Additional Information About Stock Unit Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2463442 - Disclosure - Share-Based Compensation Share-Based Compensation - Payment Awards, Stock Options, Valuation Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationPaymentAwardsStockOptionsValuationAssumptionsDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Payment Awards, Stock Options, Valuation Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2464443 - Disclosure - Share-Based Compensation Share-Based Compensation - Stock Options, Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationStockOptionsActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Stock Options, Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2465444 - Disclosure - Share-Based Compensation Share-Based Compensation - Additional Information About Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationAdditionalInformationAboutStockOptionActivityDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Additional Information About Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2466445 - Disclosure - Share-Based Compensation Share-Based Compensation - Arrangement By Shares Outstanding And Exercisable (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationArrangementBySharesOutstandingAndExercisableDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Arrangement By Shares Outstanding And Exercisable (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2467446 - Disclosure - Share-Based Compensation Share-Based Compensation - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationShareBasedCompensationAdditionalInformationDetails</Role>
      <ShortName>Share-Based Compensation Share-Based Compensation - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>85</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2468447 - Disclosure - Share-Based Compensation Additional Information About Nonemployee Stock Units and Stock Warrants(Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/ShareBasedCompensationAdditionalInformationAboutNonemployeeStockUnitsandStockWarrantsDetails</Role>
      <ShortName>Share-Based Compensation Additional Information About Nonemployee Stock Units and Stock Warrants(Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2471448 - Disclosure - Leases Leases Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LeasesLeasesCostDetails</Role>
      <ShortName>Leases Leases Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2472449 - Disclosure - Leases Leases Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LeasesLeasesAdditionalInformationDetails</Role>
      <ShortName>Leases Leases Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>88</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2473450 - Disclosure - Leases Minimum lease liability ASC 842 (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/LeasesMinimumleaseliabilityASC842Details</Role>
      <ShortName>Leases Minimum lease liability ASC 842 (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2475451 - Disclosure - Employee Benefit Plans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EmployeeBenefitPlansDetails</Role>
      <ShortName>Employee Benefit Plans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.gap.com/role/EmployeeBenefitPlans</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2478452 - Disclosure - Earnings Per Share - Weighted Average Number of Shares (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EarningsPerShareWeightedAverageNumberofSharesDetails</Role>
      <ShortName>Earnings Per Share - Weighted Average Number of Shares (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2479453 - Disclosure - Earnings Per Share - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/EarningsPerShareAdditionalInformationDetails</Role>
      <ShortName>Earnings Per Share - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2482454 - Disclosure - Commitments and Contingencies Commitments and Contingencies Additional (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommitmentsandContingenciesCommitmentsandContingenciesAdditionalDetails</Role>
      <ShortName>Commitments and Contingencies Commitments and Contingencies Additional (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2483455 - Disclosure - Commitments and Contingencies Separation Commitments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/CommitmentsandContingenciesSeparationCommitmentsDetails</Role>
      <ShortName>Commitments and Contingencies Separation Commitments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2486456 - Disclosure - Segment Information - Net Sales by Brand and Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/SegmentInformationNetSalesbyBrandandRegionDetails</Role>
      <ShortName>Segment Information - Net Sales by Brand and Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2487457 - Disclosure - Segment Information - Net Sales And Long-Lived Assets By Geographic Location (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/SegmentInformationNetSalesAndLongLivedAssetsByGeographicLocationDetail</Role>
      <ShortName>Segment Information - Net Sales And Long-Lived Assets By Geographic Location (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2488458 - Disclosure - Segment Information - Additional Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/SegmentInformationAdditionalInformationDetails</Role>
      <ShortName>Segment Information - Additional Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2491459 - Disclosure - Store Closing and Other Operating Costs Store Closing and Other Operating Charges Restructuring and Related Cost (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/StoreClosingandOtherOperatingCostsStoreClosingandOtherOperatingChargesRestructuringandRelatedCostDetails</Role>
      <ShortName>Store Closing and Other Operating Costs Store Closing and Other Operating Charges Restructuring and Related Cost (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="gps-20210130.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2492460 - Disclosure - Store Closing and Other Operating Costs Store Closing and Other Operating Charges Restructuring Reserve (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.gap.com/role/StoreClosingandOtherOperatingCostsStoreClosingandOtherOperatingChargesRestructuringReserveDetails</Role>
      <ShortName>Store Closing and Other Operating Costs Store Closing and Other Operating Charges Restructuring Reserve (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>99</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" original="gps-20210130.htm">gps-20210130.htm</File>
    <File>fy202010-kexhibit1082.htm</File>
    <File>fy202010-kexhibit1083.htm</File>
    <File>fy202010-kexhibit21.htm</File>
    <File>fy202010-kexhibit23.htm</File>
    <File>fy202010-kexhibit311.htm</File>
    <File>fy202010-kexhibit312.htm</File>
    <File>fy202010-kexhibit321.htm</File>
    <File>fy202010-kexhibit322.htm</File>
    <File>gps-20210130.xsd</File>
    <File>gps-20210130_cal.xml</File>
    <File>gps-20210130_def.xml</File>
    <File>gps-20210130_lab.xml</File>
    <File>gps-20210130_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>gps-20210130_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2020-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/country/2020-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
