<?xml version="1.0" encoding="us-ascii"?><InstanceReport xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><Version>2.4.0.8</Version><ReportLongName>2109100 - Disclosure - Commitments and Contingencies</ReportLongName><DisplayLabelColumn>true</DisplayLabelColumn><ShowElementNames>false</ShowElementNames><RoundingOption /><HasEmbeddedReports>false</HasEmbeddedReports><Columns><Column FlagID="0"><Id>1</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><CurrencyCode /><FootnoteIndexer /><hasSegments>false</hasSegments><hasScenarios>false</hasScenarios><MCU><KeyName /><CurrencySymbol /><contextRef><ContextID>D2013Q3YTD</ContextID><EntitySchema>http://www.sec.gov/CIK</EntitySchema><EntityValue>0000100548</EntityValue><PeriodDisplayName /><PeriodType>duration</PeriodType><PeriodStartDate>2012-10-01T00:00:00</PeriodStartDate><PeriodEndDate>2013-06-30T00:00:00</PeriodEndDate><Segments /><Scenarios /></contextRef><UPS /><CurrencyCode /><OriginalCurrencyCode /></MCU><CurrencySymbol /><Labels><Label Key="CalendarSupplement" Id="0" Label="9 Months Ended" /><Label Key="Calendar" Id="1" Label="Jun. 30, 2013" /></Labels></Column></Columns><Rows><Row FlagID="0"><Id>1</Id><IsAbstractGroupTitle>true</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>1</Level><ElementName>us-gaap_CommitmentsAndContingenciesDisclosureAbstract</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText /><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>xbrli:stringItemType</ElementDataType><SimpleDataType>string</SimpleDataType><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Commitments and Contingencies Disclosure [Abstract]</Label></Row><Row FlagID="0"><Id>2</Id><IsAbstractGroupTitle>false</IsAbstractGroupTitle><LabelSeparator>

</LabelSeparator><Level>2</Level><ElementName>us-gaap_CommitmentsAndContingenciesDisclosureTextBlock</ElementName><ElementPrefix>us-gaap_</ElementPrefix><IsBaseElement>true</IsBaseElement><BalanceType>na</BalanceType><PeriodType>duration</PeriodType><IsReportTitle>false</IsReportTitle><IsSegmentTitle>false</IsSegmentTitle><IsCalendarTitle>false</IsCalendarTitle><IsEquityPrevioslyReportedAsRow>false</IsEquityPrevioslyReportedAsRow><IsEquityAdjustmentRow>false</IsEquityAdjustmentRow><IsBeginningBalance>false</IsBeginningBalance><IsEndingBalance>false</IsEndingBalance><IsReverseSign>false</IsReverseSign><PreferredLabelRole>verboseLabel</PreferredLabelRole><FootnoteIndexer /><Cells><Cell FlagID="0" ContextID="D2013Q3YTD" UnitID=""><Id>1</Id><IsNumeric>false</IsNumeric><IsRatio>false</IsRatio><DisplayZeroAsNone>false</DisplayZeroAsNone><NumericAmount>0</NumericAmount><RoundedNumericAmount>0</RoundedNumericAmount><NonNumbericText>&lt;div style="font-family:Times New Roman;font-size:10pt;"&gt;&lt;table cellpadding="0" cellspacing="0" style="font-family:Times New Roman; font-size:10pt;"&gt;&lt;tr&gt;&lt;td style="width:48px;" rowspan="1" colspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1" colspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="vertical-align:top" rowspan="1" colspan="1"&gt;&lt;div style="line-height:120%;font-size:10pt;padding-left:0px;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;td style="vertical-align:top;" rowspan="1" colspan="1"&gt;&lt;div style="line-height:120%;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;font-weight:bold;text-decoration:underline;"&gt;Commitments and Contingencies&lt;/font&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;CPG is party to a Consent Order and Agreement (&amp;#8220;CPG-COA&amp;#8221;) with the Pennsylvania Department of Environmental Protection (&amp;#8220;DEP&amp;#8221;) requiring CPG to perform a specified level of activities associated with environmental investigation and remediation work at certain properties in Pennsylvania on which manufactured gas plant (&amp;#8220;MGP&amp;#8221;) related facilities were operated (&amp;#8220;CPG MGP Properties&amp;#8221;) and to plug a minimum number of non-producing natural gas wells per year. In addition, PNG is a party to a Multi-Site Remediation Consent Order and Agreement (&amp;#8220;PNG-COA&amp;#8221;) with the DEP. The PNG-COA requires PNG to perform annually a specified level of activities associated with environmental investigation and remediation work at certain properties on which MGP-related facilities were operated (&amp;#8220;PNG MGP Properties&amp;#8221;). Under these agreements, environmental expenditures relating to the CPG MGP Properties and the PNG MGP Properties are capped at &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;$1,800&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; and &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;$1,100&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;, respectively, in any calendar year. The CPG-COA terminates at the end of 2013. The PNG-COA terminates in 2019 but may be terminated by either party effective at the end of any &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;two&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;-year period beginning with the original effective date in March 2004. At June 30, 2013 and 2012, our accrued liabilities for environmental investigation and remediation costs related to the CPG-COA and the PNG-COA totaled $&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;14,399&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; and $&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;15,820&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;, respectively. In accordance with GAAP related to rate-regulated entities, we have recorded associated regulatory assets in equal amounts.&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;text-indent:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;From the late 1800s through the mid-1900s, UGI Utilities and its former subsidiaries owned and operated a number of MGPs  prior to the general availability of natural gas. Some constituents of coal tars and other residues of the manufactured gas process are today considered hazardous substances under the Superfund Law and may be present on the sites of former MGPs. Between 1882 and 1953, UGI Utilities owned the stock of subsidiary gas companies in Pennsylvania and elsewhere and also operated the businesses of some gas companies under agreement. Pursuant to the requirements of the Public Utility Holding Company Act of 1935, by the early 1950s UGI Utilities divested all of its utility operations other than certain Pennsylvania operations, including those which now constitute UGI Gas and Electric Utility.&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;The Company does not expect its costs for investigation and remediation of hazardous substances at Pennsylvania MGP sites to be material to its results of operations because (1) UGI Gas is currently permitted to include in rates, through future base rate proceedings, a &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;five&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;-year average of such prudently incurred remediation costs and (2) CPG Gas and PNG Gas are currently getting regulatory recovery of estimated environmental investigation and remediation costs associated with Pennsylvania sites. At &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;June&amp;#160;30, 2013&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;, neither the undiscounted nor the accrued liability for environmental investigation and cleanup costs for UGI Gas was material for UGI Utilities.&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;From time to time, UGI Utilities is notified of sites outside Pennsylvania on which private parties allege MGPs were formerly owned or operated by it or owned or operated by its former subsidiaries. Such parties generally investigate the extent of environmental contamination or perform environmental remediation. Management believes that under applicable law UGI Utilities should not be liable in those instances in which a former subsidiary owned or operated an MGP. There could be, however, significant future costs of an uncertain amount associated with environmental damage caused by MGPs outside Pennsylvania that UGI Utilities directly operated, or that were owned or operated by former subsidiaries of UGI Utilities if a court were to conclude that (1)&amp;#160;the subsidiary&amp;#8217;s separate corporate form should be disregarded or (2)&amp;#160;UGI Utilities should be considered to have been an operator because of its conduct with respect to its subsidiary&amp;#8217;s MGP.&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;font-style:italic;font-weight:bold;"&gt;Omaha, Nebraska.&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; By letter dated October 20, 2011, the City of Omaha  and the Metropolitan Utilities District (&amp;#8220;MUD&amp;#8221;) notified UGI Utilities that they had been requested by the United States Environmental Protection Agency (&amp;#8220;EPA&amp;#8221;) to remediate a former manufactured gas plant site located in Omaha, Nebraska.  According to a report prepared on behalf of the EPA identifying potentially responsible parties, a former subsidiary of a UGI Utilities predecessor is identified as an owner and operator of the site. The City of Omaha and MUD have requested that UGI Utilities participate in the cost of remediation for this site. Because of the preliminary nature of available environmental information, the ultimate amount of expected clean up costs cannot be reasonably estimated.  In addition, UGI Utilities believes that it has strong defenses to any claims that may arise relating to the remediation of this site. By letter dated November 10, 2011, the EPA notified UGI Utilities of its investigation of the site in Omaha, Nebraska and issued an information request to UGI Utilities.  UGI Utilities responded to the EPA&amp;#8217;s information request on January 17, 2012.  There have been no recent developments in this matter.  &lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;&lt;br clear="none"/&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;Other Matters&lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;font-style:italic;font-weight:bold;"&gt;Allentown, Pennsylvania Natural Gas Incident.&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; On February&amp;#160;9, 2011, a natural gas explosion occurred in Allentown, Pennsylvania which resulted in &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;five&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; deaths, several personal injuries and significant property damage (the &amp;#8220;Incident&amp;#8221;). UGI Utilities has received and settled all wrongful death claims and substantially all property and personal injury claims  in connection with the Incident.  UGI Utilities maintains liability insurance for personal injury, wrongful death and property and casualty damages subject to a &lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;color:#000000;text-decoration:none;"&gt;$500&lt;/font&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt; deductible.  We expect that the remaining claims will be covered by UGI Utilities&amp;#8217; insurance.  As a result, the Incident did not and we continue to believe it will not have a material impact on UGI Utilities&amp;#8217; consolidated financial position, results of operations or cash flows.  &lt;/font&gt;&lt;/div&gt;&lt;div style="line-height:120%;padding-top:13px;text-align:justify;padding-left:48px;font-size:10pt;"&gt;&lt;font style="font-family:inherit;font-size:10pt;"&gt;We cannot predict with certainty the final results of any of the environmental claims or legal actions described above. However, it is reasonably possible that some of them could be resolved unfavorably to us and result in losses in excess of recorded amounts. We are unable to estimate any possible losses in excess of recorded amounts. Although we currently believe, after consultation with counsel, that damages or settlements, if any, recovered by the plaintiffs in such claims or actions will not have a material adverse effect on our financial position, damages or settlements could be material to our operating results or cash flows in future periods depending on the nature and timing of future developments with respect to these matters and the amounts of future operating results and cash flows. In addition to the matters described above, there are other pending claims and legal actions arising in the normal course of our businesses. While the results of these other pending claims and legal actions cannot be predicted with certainty, we believe, after consultation with counsel, the final outcome of such other matters will not have a material effect on our consolidated financial position, results of operations or cash flows.&lt;/font&gt;&lt;/div&gt;&lt;/div&gt;</NonNumbericText><FootnoteIndexer /><CurrencyCode /><CurrencySymbol /><IsIndependantCurrency>false</IsIndependantCurrency><ShowCurrencySymbol>false</ShowCurrencySymbol><DisplayDateInUSFormat>false</DisplayDateInUSFormat></Cell></Cells><ElementDataType>nonnum:textBlockItemType</ElementDataType><SimpleDataType>na</SimpleDataType><ElementDefenition>The entire disclosure for commitments and contingencies.</ElementDefenition><ElementReferences>Reference 1: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name FASB Interpretation (FIN)

 -Number 14

 -Paragraph 3

 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009.  This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.



Reference 2: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 210

 -SubTopic 10

 -Section S99

 -Paragraph 1

 -Subparagraph (SX 210.5-02.25)

 -URI http://asc.fasb.org/extlink&amp;oid=6877327&amp;loc=d3e13212-122682



Reference 3: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 825

 -SubTopic 20

 -Section 50

 -Paragraph 1

 -URI http://asc.fasb.org/extlink&amp;oid=6449706&amp;loc=d3e16207-108621



Reference 4: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 460

 -SubTopic 10

 -Section 50

 -Paragraph 8

 -URI http://asc.fasb.org/extlink&amp;oid=6398077&amp;loc=d3e12565-110249



Reference 5: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 450

 -SubTopic 20

 -Section 50

 -Paragraph 4

 -URI http://asc.fasb.org/extlink&amp;oid=6952336&amp;loc=d3e14435-108349



Reference 6: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Accounting Standards Codification

 -Topic 440

 -SubTopic 10

 -Section 50

 -Paragraph 2

 -URI http://asc.fasb.org/extlink&amp;oid=6394976&amp;loc=d3e25287-109308



Reference 7: http://www.xbrl.org/2003/role/presentationRef

 -Publisher FASB

 -Name Statement of Financial Accounting Standard (FAS)

 -Number 5

 -Paragraph 9, 10, 11, 12

 -LegacyDoc This reference is SUPERSEDED by the Accounting Standards Codification effective for interim and annual periods ending after September 15, 2009.  This reference is included to help users transition from the previous accounting hierarchy and will be removed from future versions of this taxonomy.



</ElementReferences><IsTotalLabel>false</IsTotalLabel><UnitID>0</UnitID><Label>Commitments and Contingencies</Label></Row></Rows><Footnotes /><IsEquityReport>false</IsEquityReport><ReportName>Commitments and Contingencies</ReportName><MonetaryRoundingLevel>UnKnown</MonetaryRoundingLevel><SharesRoundingLevel>UnKnown</SharesRoundingLevel><PerShareRoundingLevel>UnKnown</PerShareRoundingLevel><ExchangeRateRoundingLevel>UnKnown</ExchangeRateRoundingLevel><HasCustomUnits>true</HasCustomUnits><IsEmbedReport>false</IsEmbedReport><IsMultiCurrency>false</IsMultiCurrency><ReportType>Sheet</ReportType><RoleURI>http://www.ugi.com/role/CommitmentsAndContingencies</RoleURI><NumberOfCols>1</NumberOfCols><NumberOfRows>2</NumberOfRows></InstanceReport>
