<?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>Commitments and Contingencies</ReportName>
  <ReportLongName>0217 - 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="Mar. 31, 2010" />
      </Labels>
      <CurrencyCode>usd</CurrencyCode>
      <CurrencySymbol>$</CurrencySymbol>
      <FootnoteIndexer />
      <hasSegments>false</hasSegments>
      <hasScenarios>false</hasScenarios>
      <Segments />
      <Scenarios />
      <Units>
        <Unit>
          <UnitID>Shares</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>USD</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>USDEPS</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>
    </Column>
  </Columns>
  <Rows>
    <Row>
      <Id>2</Id>
      <Label>Commitments and Contingencies [Abstract]</Label>
      <Level>0</Level>
      <ElementName>nhp_CommitmentsAndContingenciesAbstract</ElementName>
      <ElementPrefix>nhp</ElementPrefix>
      <IsBaseElement>false</IsBaseElement>
      <BalanceType>na</BalanceType>
      <PeriodType>duration</PeriodType>
      <ElementDataType>string</ElementDataType>
      <ShortDefinition>Commitments and Contingencies.</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>Commitments and Contingencies.</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>
      <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>verboselabel</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;!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" --&gt;
   &lt;!-- Begin Block Tagged Note 17 - us-gaap:CommitmentsAndContingenciesDisclosureTextBlock--&gt;
   &lt;div style="font-family: 'Times New Roman',Times,serif; margin-left: .25in; width: 7.20in"&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt"&gt;&lt;b&gt;17. Commitments and Contingencies&lt;/b&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; margin-left: 1%"&gt;&lt;i&gt;Litigation&lt;/i&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;From time to time, we are a party to various legal proceedings, lawsuits and other claims (as
   to some of which we may not be insured) that arise in the normal course of our business. Regardless
   of their merits, these matters may require us to expend significant financial resources. Except as
   described herein, we are not aware of any other legal proceedings or claims that we believe may
   have, individually or taken together, a material adverse effect on our business, results of
   operations or financial position. However, we are unable to predict the ultimate outcome of pending
   litigation and claims, and if our assessment of our liability with respect to these actions and
   claims is incorrect, such actions and claims could have a material adverse effect on our business,
   results of operations or financial position.
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;In late 2004 and early 2005, we were served with several lawsuits in connection with a fire at
   the Greenwood Healthcare Center in Hartford, Connecticut, that occurred on February&amp;#160;26, 2003. At
   the time of the fire, the Greenwood Healthcare Center was owned by us and leased to and operated by
   Lexington Healthcare Group. There were a total of 13 lawsuits arising from the fire. Those suits
   have been filed by representatives of patients who were either killed or injured in the fire. The
   lawsuits seek unspecified monetary damages. The complaints allege that the fire was set by a
   resident who had previously been diagnosed with depression. The complaints allege theories of
   negligent operation and premises liability against Lexington Healthcare, as operator, and us as
   owner. Lexington Healthcare has filed for bankruptcy. The matters have been consolidated into one
   action in the Connecticut Superior Court Complex Litigation Docket at the Judicial District at
   Hartford and are in various stages of discovery and motion practice. We have filed a motion for
   summary judgment with regard to certain pending claims and will be filing additional summary
   judgment motions for any remaining claims. Mediation was commenced with respect to most of the
   claims, and a settlement has been reached in 10 of the 13 pending claims within the limits of our
   commercial general liability insurance. We obtained a judgment of nonsuit in one case whereby it is
   now dismissed, and the two remaining claims will be subject to summary judgment motions and ongoing
   efforts at resolution. Summary judgment rulings are not expected until the middle of 2011, if not
   later.
   &lt;/div&gt;
   &lt;!-- Folio --&gt;
   &lt;!-- /Folio --&gt;
   &lt;/div&gt;
   &lt;!-- PAGEBREAK --&gt;
   &lt;div style="font-family: 'Times New Roman',Times,serif; margin-left: .25in; width: 7.20in"&gt;
   &lt;div align="center" style="font-size: 10pt; margin-top: 0pt"&gt;
   &lt;b&gt;
   &lt;/b&gt;
   &lt;/div&gt;
   &lt;div align="center" style="font-size: 10pt; margin-top: 0pt"&gt;
   &lt;b&gt;
   &lt;/b&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;Lexington Insurance, which potentially owes insurance coverage for these claims to us, has
       filed a lawsuit against us which seeks no monetary damages, but which does seek a court order
       limiting its insurance coverage obligations to us. We have filed a counterclaim against Lexington
       Insurance demanding additional insurance coverage from Lexington in amounts up to $10.0&amp;#160;million.
   The parties to that case, which is pending on the Complex Litigation Docket for the Judicial
       District of Hartford, filed cross-motions for summary judgment. Those motions have been decided,
       resulting in an outcome that is largely favorable for us. The court&amp;#8217;s ruling indicates $10.0
   million in aggregate coverage is available from Lexington Insurance for both the various
       plaintiffs&amp;#8217; claims and our claims under the Professional Liability part of the Lexington Insurance
       policy. The court then found that there were 13 separate medical incidents for each of the 13
   plaintiffs&amp;#8217; claims. However, the court limited the coverage to $500,000 per claim with a $250,000
   self insured retention per claim, which retention will not be paid due to the bankruptcy of
       Lexington Healthcare. Further, the court has ruled that both the various plaintiffs&amp;#8217; claims and our
       claims are subject to the same policy limits. The court declined to find coverage for our claims
       under the comprehensive general liability portions of the Lexington Insurance policy. Lexington
       Insurance has filed a motion seeking an articulation of the rulings and is pursuing an appeal of
       the rulings. We anticipate that we will be defending the appeal by Lexington Insurance and
       pursuing our own issues on appeal. We do not expect the appeal to be resolved before the middle of
       2011, if not later.
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;We are being defended in the matter by our commercial general liability carrier. We believe
       that we have substantial defenses to the claims and that we have adequate insurance to cover the
       risks, should liability nonetheless be imposed. However, because the remaining claims are still in
       the process of discovery and motion practice, it is not possible to predict the ultimate outcome of
       these claims.
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; margin-left: 1%"&gt;&lt;i&gt;Revolving Loan Facility&lt;/i&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;In 2009, we entered into an agreement with one of our triple-net tenants, Brookdale under
       which we became a lender with a commitment of $2.9&amp;#160;million under their $75.0&amp;#160;million revolving loan
       facility. The revolving loan facility was terminated as of February&amp;#160;23, 2010. There was no balance
       outstanding at the date of termination.
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; margin-left: 1%"&gt;&lt;i&gt;Lines of Credit&lt;/i&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;Under the terms of an agreement with PMB LLC, we agreed to extend to PMB LLC a $10.0&amp;#160;million
       line of credit at an interest rate equal to LIBOR plus 175 basis points to fund certain costs of
       PMB LLC with respect to the proposed development of multi-tenant medical office buildings. During
       the three months ended March&amp;#160;31, 2010, we funded $0.1&amp;#160;million under the line of credit. At March
       31, 2010, $3.3&amp;#160;million was outstanding and is included in the caption &amp;#8220;Other assets&amp;#8221; on our
       consolidated balance sheet.
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;We have entered into an agreement with PMB LLC, the manager of PMB Pomona LLC, to extend up to
   $3.0&amp;#160;million of funding at an interest rate of 7.25%, which is secured by 100% of the membership
   interests in PMB Pomona LLC (see Note 18). During the three months ended March&amp;#160;31, 2010, we funded
   $0.3&amp;#160;million. At March&amp;#160;31, 2010, $1.9&amp;#160;million was outstanding and is included in the caption &amp;#8220;Other
   assets&amp;#8221; on our consolidated balance sheet. On April&amp;#160;1, 2010, the total $1.9&amp;#160;million outstanding was
   repaid (see Note 19).
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;As of February&amp;#160;1, 2010, in connection with the formation of Gilbert JV, a consolidated joint
       venture, we agreed to loan Gilbert JV up to $8.8&amp;#160;million as project financing at an interest rate
       of 7.00%, including $6.8&amp;#160;million that was disbursed initially and remains outstanding at March&amp;#160;31,
       2010 (see Note 5).
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;As of March&amp;#160;1, 2010, in connection with the formation of Pasadena JV, a consolidated joint
       venture, we agreed to loan Pasadena JV up to $56.5&amp;#160;million as project financing at an initial
       interest rate equal to the greater of 3.50% or LIBOR plus 165 basis points (increasing to the
       greater of 5.125% or LIBOR plus 375 basis points as of April&amp;#160;1, 2010), including $49.8&amp;#160;million that
       was disbursed initially and remains outstanding at March&amp;#160;31, 2010 (see Note 5).
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; margin-left: 1%"&gt;&lt;i&gt;Indemnities&lt;/i&gt;
   &lt;/div&gt;
   &lt;div align="left" style="font-size: 10pt; margin-top: 10pt; text-indent: 4%"&gt;We have entered into indemnification agreements with those partners who contributed
       appreciated property into NHP/PMB. Under these indemnification agreements, if any of the
       appreciated real estate contributed by the partners
       is sold by NHP/PMB in a taxable transaction within a specified number of years after the
       property was contributed, we will reimburse the affected partners for the federal and state income
       taxes associated with the pre-contribution gain that is specially allocated to the affected partner
       under the Code. We have no current plans to sell any of these properties.
   &lt;/div&gt;
   &lt;!-- Folio --&gt;
   &lt;!-- /Folio --&gt;
   &lt;/div&gt;
   &lt;!-- PAGEBREAK --&gt;
   &lt;div style="font-family: 'Times New Roman',Times,serif; margin-left: .25in; width: 7.20in"&gt;
   &lt;div align="center" style="font-size: 10pt; margin-top: 0pt"&gt;
   &lt;b&gt;
   &lt;/b&gt;
   &lt;/div&gt;
   &lt;div align="center" style="font-size: 10pt; margin-top: 0pt"&gt;
   &lt;b&gt;
   &lt;/b&gt;
   &lt;/div&gt;
   &lt;/div&gt;
</NonNumbericText>
          <NonNumericTextHeader>&lt;!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" --&gt;
   &lt;!-- Begin Block Tagged Note</NonNumericTextHeader>
          <FootnoteIndexer />
          <hasSegments>false</hasSegments>
          <hasScenarios>false</hasScenarios>
          <DisplayDateInUSFormat>false</DisplayDateInUSFormat>
        </Cell>
      </Cells>
      <OriginalInstanceReportColumns />
      <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 />
  <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>
