<?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.0.0.10</Version>
  <hasSegments>false</hasSegments>
  <ReportName>DEBT AND CREDIT FACILITIES</ReportName>
  <ReportLongName>010600 - Disclosure - DEBT AND CREDIT FACILITIES</ReportLongName>
  <DisplayLabelColumn>true</DisplayLabelColumn>
  <ShowElementNames>false</ShowElementNames>
  <RoundingOption />
  <HasEmbeddedReports>false</HasEmbeddedReports>
  <Columns>
    <Column>
      <LabelColumn>false</LabelColumn>
      <Id>1</Id>
      <Labels>
        <Label Id="1" Label="3 Months Ended" />
        <Label Id="2" Label="Mar. 31, 2010" />
      </Labels>
      <CurrencyCode>usd</CurrencyCode>
      <CurrencySymbol>$</CurrencySymbol>
      <FootnoteIndexer />
      <hasSegments>false</hasSegments>
      <hasScenarios>false</hasScenarios>
      <Segments />
      <Scenarios />
      <Units />
    </Column>
  </Columns>
  <Rows>
    <Row>
      <Id>2</Id>
      <Label>Notes to Condensed Consolidated Financial Statements</Label>
      <Level>0</Level>
      <ElementName>sre_NotesToConsolidatedFinancialStatementsAbstract</ElementName>
      <ElementPrefix>sre</ElementPrefix>
      <IsBaseElement>false</IsBaseElement>
      <BalanceType>na</BalanceType>
      <PeriodType>duration</PeriodType>
      <ElementDataType>string</ElementDataType>
      <ShortDefinition>No definition available.</ShortDefinition>
      <IsReportTitle>false</IsReportTitle>
      <IsSegmentTitle>false</IsSegmentTitle>
      <IsSubReportEnd>false</IsSubReportEnd>
      <IsCalendarTitle>false</IsCalendarTitle>
      <IsTuple>false</IsTuple>
      <IsAbstractGroupTitle>true</IsAbstractGroupTitle>
      <IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow>
      <IsEquityAdjustmentRow>false</IsEquityAdjustmentRow>
      <IsBeginningBalance>false</IsBeginningBalance>
      <IsEndingBalance>false</IsEndingBalance>
      <IsReverseSign>false</IsReverseSign>
      <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 />
          <NonNumericTextHeader />
          <FootnoteIndexer />
          <hasSegments>false</hasSegments>
          <hasScenarios>false</hasScenarios>
          <DisplayDateInUSFormat>false</DisplayDateInUSFormat>
        </Cell>
      </Cells>
      <OriginalInstanceReportColumns />
      <ElementDefenition>No definition available.</ElementDefenition>
      <IsTotalLabel>false</IsTotalLabel>
    </Row>
    <Row>
      <Id>3</Id>
      <Label>Debt and Credit Facilities</Label>
      <Level>1</Level>
      <ElementName>sre_DebtAndCreditFacilitiesTextBlock</ElementName>
      <ElementPrefix>sre</ElementPrefix>
      <IsBaseElement>false</IsBaseElement>
      <BalanceType>na</BalanceType>
      <PeriodType>duration</PeriodType>
      <ElementDataType>string</ElementDataType>
      <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 style="font-size:12pt"&gt;&lt;p&gt;NOTE 6. DEBT AND CREDIT FACILITIES &lt;br /&gt;Committed Lines of Credit&lt;br /&gt;At March 31, 2010, Sempra Energy Consolidated had $4.3 billion in committed lines of credit to provide liquidity and to support commercial paper and variable-rate demand notes, the major components of which are detailed below. Available unused credit on these lines at March 31, 2010 was $3.3 billion. We discuss the terms of our credit agreements in Note 6 of the Notes to Consolidated Financial Statements in the Annual Report.&lt;br /&gt;These amounts exclude lines of credit associated with Sempra Commodities, one of which we continue to guarantee, as we discuss below in "RBS Sempra Commodities." RBS has replaced Sempra Energy as guarantor on all uncommitted lines of credit associated with Sempra Commodities. To the extent that Sempra Energy's credit support arrangements, including Sempra Commodities' committed facilities, have not been terminated or replaced, RBS has indemnified Sempra Energy for any claims or losses arising in connection with those arrangements. &lt;br /&gt;Sempra Energy&lt;br /&gt;Sempra Energy has a $1 billion, three-year syndicated revolving credit agreement expiring in 2011. &lt;br /&gt;Borrowings bear interest at benchmark rates plus a margin that varies with market index rates and Sempra Energy's credit ratings. At March 31, 2010, Sempra Energy had no outstanding borrowings under the facility. &lt;br /&gt;Sempra Global&lt;br /&gt;Sempra Global has a $2.5 billion, three-year syndicated revolving credit agreement expiring in 2011. The facility also provides for issuance of up to $300 million of letters of credit on behalf of Sempra Global with the amount of borrowings otherwise available under the facility reduced by the amount of outstanding letters of credit. &lt;br /&gt;Sempra Energy guarantees Sempra Global&amp;#8217;s obligations under the credit facility. Borrowings bear interest at benchmark rates plus a margin that varies with market index rates and Sempra Energy&amp;#8217;s credit ratings. At March 31, 2010, Sempra Global had letters of credit of $7 million outstanding and no outstanding borrowings under the facility. The facility provides support for $727 million of commercial paper outstanding at March 31, 2010. &lt;br /&gt;Sempra Utilities&lt;br /&gt;SDG&amp;amp;E and SoCalGas have a combined $800 million, three-year syndicated revolving credit agreement expiring in 2011. The agreement permits each utility to individually borrow up to $600 million, subject to a combined limit of $800 million for both utilities. It also provides for the issuance of letters of credit on behalf of each utility subject to a combined letter of credit commitment of $200 million for both utilities. The amount of borrowings otherwise available under the facility is reduced by the amount of outstanding letters of credit. &lt;br /&gt;Borrowings under the facility bear interest at benchmark rates plus a margin that varies with market index rates and the borrowing utility's credit rating. Each utility&amp;#8217;s obligations under the agreement are individual obligations, and a default by one utility would not constitute a default by the other utility or preclude borrowings by, or the issuance of letters of credit on behalf of, the other utility.&lt;br /&gt;At March 31, 2010, SDG&amp;amp;E and SoCalGas had no outstanding borrowings under this facility. SDG&amp;amp;E had $25 million of outstanding letters of credit and $237 million of variable-rate demand notes outstanding supported by this facility at March 31, 2010. The facility also provides support for $24 million of commercial paper outstanding at SDG&amp;amp;E at March 31, 2010. Available unused credit on these lines at March 31, 2010 was $314 million at SDG&amp;amp;E and $514 million at SoCalGas; SoCalGas' availability reflects the impact of SDG&amp;amp;E's use of the combined credit available on the line. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;GUARANTEES&lt;br /&gt;RBS Sempra Commodities&lt;br /&gt;RBS is obligated to provide RBS Sempra Commodities with all growth capital, working-capital requirements and credit support. However, as a transitional measure, we continue to provide back-up guarantees for a portion of RBS Sempra Commodities&amp;#8217; trading obligations and for a credit facility with third party lenders pending novation (legal transfer) of the remaining trading obligations to RBS or, after the closing of the transaction we discuss in Note 4, to J.P. Morgan Ventures. Some of these back-up guarantees may continue for a prolonged period of time. RBS, which is controlled by the government of the United Kingdom, has fully indemnified us for any claims or losses in connection with these arrangements. &lt;br /&gt;RBS Sempra Commodities&amp;#8217; net trading liabilities supported by Sempra Energy&amp;#8217;s guarantees at March 31, 2010 were $745 million, consisting of guaranteed trading obligations net of collateral. The amount of guaranteed net trading liabilities varies from day to day with the value of the trading obligations and related collateral.&lt;br /&gt;Sempra Energy also has guaranteed $344 million of $1.72 billion of RBS Sempra Commodities' commitments under a credit facility expiring September 29, 2010. Extensions of credit under the committed facility, which total $853 million at March 31, 2010, are limited to and secured by a borrowing base consisting of receivables, inventories and other joint venture assets that are valued at varying percentages of current market value. At March 31, 2010, the gross market value of the borrowing base assets was $2.26 billion. The facility will be reduced and end as the borrowing base assets are transferred to RBS as established by the joint venture agreement. &lt;br /&gt;On February 16, 2010, Sempra Energy, RBS and the partnership entered into an agreement to sell certain businesses within the partnership. We discuss this transaction and related agreements affecting the partnership in Note 4.&lt;br /&gt;Other Guarantees &lt;br /&gt;Sempra Energy, Conoco Phillips (Conoco) and Kinder Morgan Energy Partners, L.P. (KMP) currently hold 25-percent, 25-percent and 50-percent ownership interests, respectively, in Rockies Express. Rockies Express operates a natural gas pipeline linking natural gas producing areas in the Rocky Mountain region to the upper Midwest and the eastern United States. Rockies Express had a $2 billion, five-year credit facility expiring in 2011 that provided for revolving extensions of credit that were guaranteed by Sempra Energy, Conoco and KMP in proportion to their respective ownership percentages. In April 2010, this credit facility was reduced to $200 million, and Sempra Energy, Conoco and KMP were released from their respective guarantor obligations. Rockies Express had no outstanding borrowings under this facility at March 31, 2010. Long-term debt of $1.7 billion issued in March 2010 was used to pay down the credit facility; this new debt is not separately guaranteed by the partners.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;WEIGHTED AVERAGE INTEREST RATES&lt;br /&gt;At March 31, 2010, the weighted average interest rate on the total short-term debt outstanding at Sempra Energy was 0.67 percent. At March 31, 2010, the weighted average interest rate on the total short-term debt outstanding at SDG&amp;amp;E was 0.17 percent. The weighted average interest rate on the total short-term debt outstanding at Sempra Energy was 0.79 percent at December 31, 2009.&lt;br /&gt;INTEREST RATE SWAPS&lt;br /&gt;We discuss our fair value interest rate swaps and interest rate swaps to hedge cash flows in Note 7.&lt;/p&gt;&lt;/div&gt;</NonNumbericText>
          <NonNumericTextHeader>NOTE 6. DEBT AND CREDIT FACILITIES Committed Lines of CreditAt March 31, 2010, Sempra Energy Consolidated had $4.3 billion in committed lines of credit to</NonNumericTextHeader>
          <FootnoteIndexer />
          <hasSegments>false</hasSegments>
          <hasScenarios>false</hasScenarios>
          <DisplayDateInUSFormat>false</DisplayDateInUSFormat>
        </Cell>
      </Cells>
      <OriginalInstanceReportColumns />
      <ElementDefenition>No definition available.</ElementDefenition>
      <ElementReferences>No authoritative reference available.</ElementReferences>
      <IsTotalLabel>false</IsTotalLabel>
    </Row>
  </Rows>
  <Footnotes />
  <ComparabilityReport>false</ComparabilityReport>
  <NumberOfCols>1</NumberOfCols>
  <NumberOfRows>2</NumberOfRows>
  <HasScenarios>false</HasScenarios>
  <MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel>
  <SharesRoundingLevel>UnKnown</SharesRoundingLevel>
  <PerShareRoundingLevel>UnKnown</PerShareRoundingLevel>
  <HasPureData>false</HasPureData>
  <SharesShouldBeRounded>true</SharesShouldBeRounded>
</InstanceReport>
