﻿<?xml version="1.0" encoding="utf-8"?>
<InstanceReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Version>2.2.0.7</Version>
  <hasSegments>false</hasSegments>
  <ReportName>Credit Facility</ReportName>
  <ReportLongName>10401 - Disclosure - Credit Facility</ReportLongName>
  <DisplayLabelColumn>true</DisplayLabelColumn>
  <ShowElementNames>false</ShowElementNames>
  <RoundingOption />
  <HasEmbeddedReports>false</HasEmbeddedReports>
  <Columns>
    <Column>
      <LabelColumn>false</LabelColumn>
      <Id>1</Id>
      <Labels>
        <Label Id="1" Label="6 Months Ended" />
        <Label Id="2" Label="Jul. 31, 2010" />
      </Labels>
      <CurrencyCode>USD</CurrencyCode>
      <FootnoteIndexer />
      <hasSegments>false</hasSegments>
      <hasScenarios>false</hasScenarios>
      <Segments />
      <Scenarios />
      <Units>
        <Unit>
          <UnitID>Unit12</UnitID>
          <UnitType>Standard</UnitType>
          <StandardMeasure>
            <MeasureSchema>http://www.xbrl.org/2003/iso4217</MeasureSchema>
            <MeasureValue>USD</MeasureValue>
            <MeasureNamespace>iso4217</MeasureNamespace>
          </StandardMeasure>
          <Scale>0</Scale>
        </Unit>
        <Unit>
          <UnitID>Unit1</UnitID>
          <UnitType>Standard</UnitType>
          <StandardMeasure>
            <MeasureSchema>http://www.xbrl.org/2003/instance</MeasureSchema>
            <MeasureValue>shares</MeasureValue>
            <MeasureNamespace>xbrli</MeasureNamespace>
          </StandardMeasure>
          <Scale>0</Scale>
        </Unit>
        <Unit>
          <UnitID>Unit13</UnitID>
          <UnitType>Standard</UnitType>
          <StandardMeasure>
            <MeasureSchema>http://www.xbrl.org/2003/instance</MeasureSchema>
            <MeasureValue>pure</MeasureValue>
            <MeasureNamespace>xbrli</MeasureNamespace>
          </StandardMeasure>
          <Scale>0</Scale>
        </Unit>
        <Unit>
          <UnitID>Unit14</UnitID>
          <UnitType>Divide</UnitType>
          <NumeratorMeasure>
            <MeasureSchema>http://www.xbrl.org/2003/iso4217</MeasureSchema>
            <MeasureValue>USD</MeasureValue>
            <MeasureNamespace>iso4217</MeasureNamespace>
          </NumeratorMeasure>
          <DenominatorMeasure>
            <MeasureSchema>http://www.xbrl.org/2003/instance</MeasureSchema>
            <MeasureValue>shares</MeasureValue>
            <MeasureNamespace>xbrli</MeasureNamespace>
          </DenominatorMeasure>
          <Scale>0</Scale>
        </Unit>
      </Units>
      <CurrencySymbol>$</CurrencySymbol>
    </Column>
  </Columns>
  <Rows>
    <Row>
      <Id>5</Id>
      <Label>Credit Facility</Label>
      <Level>3</Level>
      <ElementName>us-gaap_ScheduleOfLineOfCreditFacilitiesTextBlock</ElementName>
      <ElementPrefix>us-gaap</ElementPrefix>
      <IsBaseElement>true</IsBaseElement>
      <BalanceType>na</BalanceType>
      <PeriodType>duration</PeriodType>
      <ShortDefinition>No definition available.</ShortDefinition>
      <IsReportTitle>false</IsReportTitle>
      <IsSegmentTitle>false</IsSegmentTitle>
      <IsSubReportEnd>false</IsSubReportEnd>
      <IsCalendarTitle>false</IsCalendarTitle>
      <IsTuple>false</IsTuple>
      <IsAbstractGroupTitle>false</IsAbstractGroupTitle>
      <IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow>
      <IsEquityAdjustmentRow>false</IsEquityAdjustmentRow>
      <IsBeginningBalance>false</IsBeginningBalance>
      <IsEndingBalance>false</IsEndingBalance>
      <IsReverseSign>false</IsReverseSign>
      <PreferredLabelRole>terselabel</PreferredLabelRole>
      <IsEPS>false</IsEPS>
      <FootnoteIndexer />
      <Cells>
        <Cell>
          <Id>1</Id>
          <ShowCurrencySymbol>false</ShowCurrencySymbol>
          <IsNumeric>false</IsNumeric>
          <IsRatio>false</IsRatio>
          <DisplayZeroAsNone>false</DisplayZeroAsNone>
          <NumericAmount>0</NumericAmount>
          <RoundedNumericAmount>0</RoundedNumericAmount>
          <NonNumbericText>&lt;div&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; font-family: 'Times New Roman','serif';"&gt;&lt;b&gt;&lt;font class="_mt" style="color: black;"&gt;Note 4 &amp;ndash; Credit Facility &lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; font-family: 'Times New Roman','serif';"&gt;&lt;b&gt;&lt;i&gt; &lt;/i&gt;&lt;/b&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: black;"&gt;In &lt;font class="_mt"&gt;April 2009&lt;/font&gt;, J. C. Penney Company, Inc., JCP and J. C. Penney Purchasing Corporation entered into a three-year, $&lt;font class="_mt"&gt;750&lt;/font&gt; million revolving credit agreement (2009 Credit Facility) with a syndicate of lenders with JPMorgan Chase Bank, N.A., as administrative agent.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;The facility is secured by our inventory, which security interest can be released upon attainment of certain credit rating levels.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;The 2009 Credit Facility is available for general corporate purposes, including the issuance of letters of credit.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;Pricing under the 2009 Credit Facility is tiered based on JCP's senior unsecured long-term credit ratings issued by Moody's Investors Service, Inc. and Standard &amp;amp; Poor's Ratings Services.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;JCP's obligations under the 2009 Credit Facility are guaranteed by J. C. Penney Company, Inc.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: black;"&gt; &lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: black;"&gt;The 2009 Credit Facility requires that we maintain certain financial covenants, which include a leverage ratio, a fixed charge coverage ratio and an asset coverage ratio (each as defined in the 2009 Credit Facility).&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;Under the terms of the 2009 Credit Facility, non-cash charges or credits related to retirement plans are not included in the calculation of EBITDA (consolidated earnings before income taxes less depreciation and amortization), which is used in the leverage ratio and fixed charge coverage ratio.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div class="MetaData"&gt;
&lt;ul style="margin-top: 0in; margin-bottom: 0in;" type="disc"&gt;
&lt;li class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; color: black; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;The leverage ratio, which is calculated as of the last day of the quarter and measured on a trailing four-quarter basis, cannot exceed&lt;font class="_mt" style="color: windowtext;"&gt; 3.5 to 1 from January&amp;nbsp;31, 2010 through October&amp;nbsp;30, 2010 and 3.0 to 1 thereafter. &lt;/font&gt;&lt;font class="_mt"&gt;&amp;nbsp;&lt;/font&gt; &lt;/li&gt;
&lt;li class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; color: black; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;The fixed charge coverage ratio, which is calculated as of the last day of the quarter and measured on a trailing four-quarter basis, cannot be less than &lt;font class="_mt" style="color: windowtext;"&gt;2.25 to 1 through October&amp;nbsp;30, 2010, 2.5 to 1 from October&amp;nbsp;31, 2010 through October&amp;nbsp;29, 2011; and 3.0 to 1 thereafter.&lt;font class="_mt"&gt;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; color: black; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: windowtext;"&gt;The asset coverage ratio, which is calculated as of the last day of each fiscal month, cannot be less than 3.0 to 1.&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: black;"&gt; &lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="font-size: 10pt; margin: 0in 0in 0pt; text-autospace: ideograph-numeric; font-family: 'Times New Roman','serif';"&gt;&lt;font class="_mt" style="color: black;"&gt;As of July 31, 2010, we were in compliance with these requirements with a leverage ratio of&amp;nbsp;&lt;font class="_mt"&gt;2.0&lt;/font&gt; to 1, a fixed charge coverage ratio of&amp;nbsp;&lt;font class="_mt"&gt;3.6&lt;/font&gt; to 1 and an asset coverage ratio of&amp;nbsp;&lt;font class="_mt"&gt;23&lt;/font&gt; to 1. No borrowings, other than the issuance of standby and import letters of credit totaling $&lt;font class="_mt"&gt;153&lt;/font&gt; million as of July 31, 2010, have been made under the 2009 Credit Facility.&lt;/font&gt;&lt;/p&gt; &lt;/div&gt;</NonNumbericText>
          <NonNumericTextHeader>Note 4 &amp;ndash; Credit Facility
 &amp;nbsp;
In April 2009, J. C. Penney Company, Inc., JCP and J. C. Penney Purchasing Corporation entered into a three-year, $750</NonNumericTextHeader>
          <FootnoteIndexer />
          <hasSegments>false</hasSegments>
          <hasScenarios>false</hasScenarios>
          <DisplayDateInUSFormat>false</DisplayDateInUSFormat>
        </Cell>
      </Cells>
      <OriginalInstanceReportColumns />
      <ElementDataType>us-types:textBlockItemType</ElementDataType>
      <SimpleDataType>textblock</SimpleDataType>
      <ElementDefenition>This element may be used to capture the complete disclosure pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.</ElementDefenition>
      <ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef
 -Publisher SEC
 -Name Regulation S-X (SX)
 -Number 210
 -Section 08
 -Paragraph f
 -Article 4

Reference 2: http://www.xbrl.org/2003/role/presentationRef
 -Publisher SEC
 -Name Regulation S-X (SX)
 -Number 210
 -Section 02
 -Paragraph 19, 22
 -Article 5

</ElementReferences>
      <IsTotalLabel>false</IsTotalLabel>
    </Row>
  </Rows>
  <Footnotes />
  <NumberOfCols>1</NumberOfCols>
  <NumberOfRows>1</NumberOfRows>
  <HasScenarios>false</HasScenarios>
  <MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel>
  <SharesRoundingLevel>UnKnown</SharesRoundingLevel>
  <PerShareRoundingLevel>UnKnown</PerShareRoundingLevel>
  <HasPureData>false</HasPureData>
  <SharesShouldBeRounded>true</SharesShouldBeRounded>
</InstanceReport>
