﻿<?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>Commitments and Contingencies</ReportName>
  <ReportLongName>11801 - Disclosure - Commitments and Contingencies</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="Sep. 30, 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>Unit13</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>
        <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>
      </Units>
      <CurrencySymbol>$</CurrencySymbol>
    </Column>
  </Columns>
  <Rows>
    <Row>
      <Id>2</Id>
      <Label>Notes to Financial Statements</Label>
      <Level>0</Level>
      <ElementName>har_NotesToFinancialStatementsAbstract</ElementName>
      <ElementPrefix>har</ElementPrefix>
      <IsBaseElement>false</IsBaseElement>
      <BalanceType>na</BalanceType>
      <PeriodType>duration</PeriodType>
      <ShortDefinition>Notes to Financial Statements [Abstract]</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 />
      <ElementDataType>xbrli:stringItemType</ElementDataType>
      <SimpleDataType>string</SimpleDataType>
      <ElementDefenition>Notes to Financial Statements [Abstract]</ElementDefenition>
      <IsTotalLabel>false</IsTotalLabel>
    </Row>
    <Row>
      <Id>3</Id>
      <Label>Commitments and Contingencies</Label>
      <Level>1</Level>
      <ElementName>us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</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 />
      <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;div&gt;
&lt;div&gt;
&lt;p style="margin-top: 18px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&lt;b&gt;Note 18 &amp;ndash;&amp;nbsp;Commitments and Contingencies &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 6px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;At September&amp;nbsp;30, 2010, we were subject to legal claims and litigation arising in the ordinary course of business, including the matters described below.&amp;nbsp;The outcome of these legal actions cannot be predicted with certainty; however, management, based upon advice from legal counsel, believes such actions are either without merit or will not have a material adverse effect on our financial condition or results of operations. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 18px; margin-bottom: 0px; margin-left: 2%;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&lt;b&gt;&lt;i&gt;In re Harman International Industries, Inc. Securities Litigation &lt;/i&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 6px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On October&amp;nbsp;1, 2007, a purported class action lawsuit was filed by Cheolan Kim (the "Kim Plaintiff") against Harman and certain of our officers in the United States District Court for the District of Columbia (the "Court") seeking compensatory damages and costs on behalf of all persons who purchased our common stock between April&amp;nbsp;26, 2007 and September&amp;nbsp;24, 2007 (the "Class Period").&amp;nbsp;The original complaint alleged claims for violations of Sections 10(b) and 20(a) of the Securities Exchange Act of 1934, as amended, (the "1934 Act") and Rule 10b-5 promulgated thereunder. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px; font-size: 1px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;The complaint alleged that the defendants omitted to disclose material adverse facts about Harman's financial condition and business prospects.&amp;nbsp;The complaint contended that had these facts not been concealed at the time the merger agreement with KKR and GSCP was entered into, there would not have been a merger agreement, or it would have been at a much lower price, and the price of our common stock therefore would not have been artificially inflated during the Class Period.&amp;nbsp;The Kim Plaintiff alleged that, following the reports that the proposed merger was not going to be completed, the price of our common stock declined, causing the plaintiff class significant losses. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On November&amp;nbsp;30, 2007, the Boca Raton General Employees' Pension Plan (the "Boca Raton Plaintiff") filed a purported class action lawsuit against Harman and certain of our officers in the Court seeking compensatory damages and costs on behalf of all persons who purchased our common stock between April&amp;nbsp;26, 2007 and September&amp;nbsp;24, 2007.&amp;nbsp;The allegations in the Boca Raton complaint are essentially identical to the allegations in the original Kim complaint, and like the original Kim complaint, the Boca Raton complaint alleges claims for violations of Sections 10(b) and 20(a) of the 1934 Act and Rule 10b-5 promulgated thereunder. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On January&amp;nbsp;16, 2008, the Kim Plaintiff filed an amended complaint.&amp;nbsp;The amended complaint, which extended the Class Period through January&amp;nbsp;11, 2008, contended that, in addition to the violations alleged in the original complaint, Harman also violated Sections 10(b) and 20(a) of the 1934 Act and Rule 10b-5 promulgated thereunder by "knowingly failing to disclose "significant problems" relating to its PND sales forecasts, production, pricing, and inventory" prior to January&amp;nbsp;14, 2008.&amp;nbsp;The amended complaint claimed that when "Defendants revealed for the first time on January&amp;nbsp;14, 2008 that shifts in PND sales would adversely impact earnings per share by more than $1.00 per share in fiscal 2008," that led to a further decline in our share value and additional losses to the plaintiff class. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On February&amp;nbsp;15, 2008, the Court ordered the consolidation of the Kim action with the Boca Raton action, the administrative closing of the Boca Raton action, and designated the short caption of the consolidated action as In re Harman International Industries, Inc. Securities Litigation, civil action no. 1:07-cv-01757 (RWR).&amp;nbsp;That same day, the Court appointed Arkansas Public Retirement System as lead plaintiff ("Lead Plaintiff") and approved the law firm Cohen, Milstein, Hausfeld and Toll, P.L.L.C. to serve as lead counsel. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On March&amp;nbsp;24, 2008, the Court ordered, for pretrial management purposes only, the consolidation of Patrick Russell v. Harman International Industries, Incorporated, et al. with In re Harman International Industries, Inc. Securities Litigation. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On May&amp;nbsp;2, 2008, Lead Plaintiff filed a consolidated class action complaint (the "Consolidated Complaint").&amp;nbsp;The Consolidated Complaint, which extends the Class Period through February&amp;nbsp;5, 2008, contends that Harman and certain of our officers and directors violated Sections 10(b) and 20(a) of the 1934 Act and Rule 10b-5 promulgated thereunder, by issuing false and misleading disclosures regarding our financial condition in fiscal year 2007 and fiscal year 2008.&amp;nbsp;In particular, the Consolidated Complaint alleges that defendants knowingly or recklessly failed to disclose material adverse facts about MyGIG radios, PNDs and our capital expenditures.&amp;nbsp;The Consolidated Complaint alleges that when Harman's true financial condition became known to the market, the price of our common stock declined significantly, causing losses to the plaintiff class. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On July&amp;nbsp;3, 2008, defendants moved to dismiss the Consolidated Complaint in its entirety.&amp;nbsp;Lead Plaintiff opposed the defendants' motion to dismiss on September&amp;nbsp;2, 2008, and defendants filed a reply in further support of their motion to dismiss on October&amp;nbsp;2, 2008.&amp;nbsp;The motion is now fully briefed. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 18px; margin-bottom: 0px; margin-left: 2%;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&lt;b&gt;&lt;i&gt;Patrick Russell v. Harman International Industries, Incorporated, et al. &lt;/i&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 6px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Patrick Russell (the "Russell Plaintiff") filed a complaint on December&amp;nbsp;7, 2007 in the United States District Court for the District of Columbia and an amended purported putative class action complaint on June&amp;nbsp;2, 2008 against Harman and certain of our officers and directors alleging violations of the Employee Retirement Income Security Act of 1974 ("ERISA") and seeking, on behalf of all participants in and beneficiaries of the Harman International Industries, Incorporated Retirement Savings Plan&amp;nbsp;(the "Plan"), compensatory damages for losses to the Plan as well as injunctive relief, imposition of a constructive trust, restitution, and other monetary relief.&amp;nbsp;The amended complaint alleges that from April&amp;nbsp;26, 2007 to the present, defendants failed to prudently and loyally manage the Plan's assets, thereby breaching their fiduciary duties in violation of ERISA by causing the Plan to invest in our common stock notwithstanding that the stock allegedly was "no longer a prudent investment for the Participants' retirement savings."&amp;nbsp;The amended complaint further claims that, during the Class Period, defendants failed to monitor the Plan fiduciaries, failed to provide the Plan fiduciaries with, and to disclose to Plan participants, adverse facts regarding Harman and our businesses and prospects.&amp;nbsp;The Russell Plaintiff also contends that defendants breached their duties to avoid conflicts of interest and to serve the interests of participants in and beneficiaries of the Plan with undivided loyalty.&amp;nbsp;As a result of these alleged fiduciary breaches, the amended complaint asserts that the Plan has "suffered substantial losses, resulting in the depletion of millions of dollars of the retirement savings and anticipated retirement income of the Plan's Participants." &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;On March&amp;nbsp;24, 2008, the Court ordered, for pretrial management purposes only, the consolidation of Patrick Russell v. Harman International Industries, Incorporated, &lt;i&gt;et al&lt;/i&gt;. with In re Harman International Industries, Inc. Securities Litigation. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 12px; margin-bottom: 0px; font-size: 1px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;Defendants moved to dismiss the complaint in its entirety on August&amp;nbsp;5, 2008.&amp;nbsp;The Russell Plaintiff opposed the defendants' motion to dismiss on September&amp;nbsp;19, 2008, and defendants filed a reply in further support of their motion to dismiss on October&amp;nbsp;20, 2008.&amp;nbsp;The motion is now fully briefed. &lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 18px; margin-bottom: 0px; margin-left: 2%;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;&lt;b&gt;&lt;i&gt;Automotive Supply Arrangements &lt;/i&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p style="margin-top: 6px; margin-bottom: 0px;"&gt;&lt;font style="font-family: Times New Roman;" class="_mt" size="2"&gt;We have arrangements with our automotive customers to provide products that meet predetermined technical specifications and delivery dates.&amp;nbsp;In the event that we do not satisfy the performance obligations under these arrangements, we may be required to indemnify the customer.&amp;nbsp;We accrue for any loss that we expect to incur under these arrangements when that loss is probable and can be reasonably estimated. For the three months ended September&amp;nbsp;30, 2010 and 2009, we incurred zero and $11.7 million, respectively, of costs relating to settlement of a claim associated with an automotive supply arrangement.&amp;nbsp;An inability to meet performance obligations on automotive platforms to be delivered in future periods could adversely affect our results of operations and financial condition in future periods.&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt;</NonNumbericText>
          <NonNumericTextHeader>Note 18 &amp;ndash;&amp;nbsp;Commitments and Contingencies
At September&amp;nbsp;30, 2010, we were subject to legal claims and litigation arising in the ordinary course</NonNumericTextHeader>
          <FootnoteIndexer />
          <hasSegments>false</hasSegments>
          <hasScenarios>false</hasScenarios>
          <DisplayDateInUSFormat>false</DisplayDateInUSFormat>
        </Cell>
      </Cells>
      <OriginalInstanceReportColumns />
      <ElementDataType>us-types:textBlockItemType</ElementDataType>
      <SimpleDataType>textblock</SimpleDataType>
      <ElementDefenition>Includes disclosure of commitments and contingencies. This element may be used as a single block of text to encapsulate the entire disclosure including data and tables.</ElementDefenition>
      <ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef
 -Publisher FASB
 -Name FASB Interpretation (FIN)
 -Number 14
 -Paragraph 3

Reference 2: http://www.xbrl.org/2003/role/presentationRef
 -Publisher FASB
 -Name Statement of Financial Accounting Standard (FAS)
 -Number 5
 -Paragraph 9, 10, 11, 12

</ElementReferences>
      <IsTotalLabel>false</IsTotalLabel>
    </Row>
  </Rows>
  <Footnotes />
  <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>
