<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:962c4115-15d4-44ba-8a0e-ac835ae57b5e,g:a16c3305-4026-4f57-8faf-844d8c742a24-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:dhc="http://dhcreit.com/20240331" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types1="http://www.xbrl.org/dtr/type/2020-01-21" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2022-03-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://dhcreit.com/20240331">
  <xs:import namespace="http://fasb.org/srt/2023" schemaLocation="https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2023" schemaLocation="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd"/>
  <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.xbrl.org/2003/xlink-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2020-01-21" schemaLocation="https://www.xbrl.org/dtr/type/2020-01-21/types.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2022-03-31" schemaLocation="https://www.xbrl.org/dtr/type/2022-03-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2023" schemaLocation="https://xbrl.sec.gov/dei/2023/dei-2023.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/stpr/2023" schemaLocation="https://xbrl.sec.gov/stpr/2023/stpr-2023.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="dhc-20240331_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="dhc-20240331_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="dhc-20240331_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="dhc-20240331_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="Cover" roleURI="http://dhcreit.com/role/Cover">
        <link:definition>0000001 - Document - Cover</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETS" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS">
        <link:definition>0000002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical">
        <link:definition>0000003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS">
        <link:definition>0000004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSParenthetical" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSParenthetical">
        <link:definition>0000005 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY">
        <link:definition>0000006 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF SHAREHOLDERS' EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS">
        <link:definition>0000007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSSupplementalParenthetical" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSSupplementalParenthetical">
        <link:definition>0000008 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - Supplemental (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSCashandRestrictedCashParenthetical" roleURI="http://dhcreit.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSCashandRestrictedCashParenthetical">
        <link:definition>0000009 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - Cash and Restricted Cash (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BasisofPresentation" roleURI="http://dhcreit.com/role/BasisofPresentation">
        <link:definition>0000010 - Disclosure - Basis of Presentation</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RecentAccountingPronouncements" roleURI="http://dhcreit.com/role/RecentAccountingPronouncements">
        <link:definition>0000011 - Disclosure - Recent Accounting Pronouncements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestments" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestments">
        <link:definition>0000012 - Disclosure - Real Estate and Other Investments</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Leases" roleURI="http://dhcreit.com/role/Leases">
        <link:definition>0000013 - Disclosure - Leases</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="Indebtedness" roleURI="http://dhcreit.com/role/Indebtedness">
        <link:definition>0000014 - Disclosure - Indebtedness</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueofAssetsandLiabilities" roleURI="http://dhcreit.com/role/FairValueofAssetsandLiabilities">
        <link:definition>0000015 - Disclosure - Fair Value of Assets and Liabilities</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquity" roleURI="http://dhcreit.com/role/ShareholdersEquity">
        <link:definition>0000016 - Disclosure - Shareholders' Equity</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReporting" roleURI="http://dhcreit.com/role/SegmentReporting">
        <link:definition>0000017 - Disclosure - Segment Reporting</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SeniorLivingCommunityManagementAgreements" roleURI="http://dhcreit.com/role/SeniorLivingCommunityManagementAgreements">
        <link:definition>0000018 - Disclosure - Senior Living Community Management Agreements</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BusinessandPropertyManagementAgreementswithRMR" roleURI="http://dhcreit.com/role/BusinessandPropertyManagementAgreementswithRMR">
        <link:definition>0000019 - Disclosure - Business and Property Management Agreements with RMR</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelatedPersonTransactions" roleURI="http://dhcreit.com/role/RelatedPersonTransactions">
        <link:definition>0000020 - Disclosure - Related Person Transactions</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxes" roleURI="http://dhcreit.com/role/IncomeTaxes">
        <link:definition>0000021 - Disclosure - Income Taxes</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="WeightedAverageCommonShares" roleURI="http://dhcreit.com/role/WeightedAverageCommonShares">
        <link:definition>0000022 - Disclosure - Weighted Average Common Shares</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RecentAccountingPronouncementsPolicies" roleURI="http://dhcreit.com/role/RecentAccountingPronouncementsPolicies">
        <link:definition>9954471 - Disclosure - Recent Accounting Pronouncements (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsTables" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsTables">
        <link:definition>9954472 - Disclosure - Real Estate and Other Investments (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueofAssetsandLiabilitiesTables" roleURI="http://dhcreit.com/role/FairValueofAssetsandLiabilitiesTables">
        <link:definition>9954473 - Disclosure - Fair Value of Assets and Liabilities (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquityTables" roleURI="http://dhcreit.com/role/ShareholdersEquityTables">
        <link:definition>9954474 - Disclosure - Shareholders' Equity (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingTables" roleURI="http://dhcreit.com/role/SegmentReportingTables">
        <link:definition>9954475 - Disclosure - Segment Reporting (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SeniorLivingCommunityManagementAgreementsTables" roleURI="http://dhcreit.com/role/SeniorLivingCommunityManagementAgreementsTables">
        <link:definition>9954476 - Disclosure - Senior Living Community Management Agreements (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsAdditionalInformationDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsAdditionalInformationDetails">
        <link:definition>9954477 - Disclosure - Real Estate and Other Investments - Additional Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsAcquisitionsandDispositionsNarrativeDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsAcquisitionsandDispositionsNarrativeDetails">
        <link:definition>9954478 - Disclosure - Real Estate and Other Investments - Acquisitions and Dispositions Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsScheduleofDisposalGroupsDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsScheduleofDisposalGroupsDetails">
        <link:definition>9954479 - Disclosure - Real Estate and Other Investments - Schedule of Disposal Groups (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsImpairmentNarrativeDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsImpairmentNarrativeDetails">
        <link:definition>9954480 - Disclosure - Real Estate and Other Investments - Impairment Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsEquityMethodInvestmentsinUnconsolidatedJointVenturesDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsEquityMethodInvestmentsinUnconsolidatedJointVenturesDetails">
        <link:definition>9954481 - Disclosure - Real Estate and Other Investments - Equity Method Investments in Unconsolidated Joint Ventures (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsMortgageDebtJointVentureDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsMortgageDebtJointVentureDetails">
        <link:definition>9954482 - Disclosure - Real Estate and Other Investments - Mortgage Debt Joint Venture (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsUnconsolidatedJointVentureNarrativeDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsUnconsolidatedJointVentureNarrativeDetails">
        <link:definition>9954483 - Disclosure - Real Estate and Other Investments - Unconsolidated Joint Venture Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RealEstateandOtherInvestmentsEquityMethodInvestmentinAlerisLifeDetails" roleURI="http://dhcreit.com/role/RealEstateandOtherInvestmentsEquityMethodInvestmentinAlerisLifeDetails">
        <link:definition>9954484 - Disclosure - Real Estate and Other Investments - Equity Method Investment in AlerisLife (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LeasesDetails" roleURI="http://dhcreit.com/role/LeasesDetails">
        <link:definition>9954485 - Disclosure - Leases (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IndebtednessDetails" roleURI="http://dhcreit.com/role/IndebtednessDetails">
        <link:definition>9954486 - Disclosure - Indebtedness (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueofAssetsandLiabilitiesAssetsandLiabilitiesDetails" roleURI="http://dhcreit.com/role/FairValueofAssetsandLiabilitiesAssetsandLiabilitiesDetails">
        <link:definition>9954487 - Disclosure - Fair Value of Assets and Liabilities - Assets and Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueofAssetsandLiabilitiesLiabilitiesDetails" roleURI="http://dhcreit.com/role/FairValueofAssetsandLiabilitiesLiabilitiesDetails">
        <link:definition>9954488 - Disclosure - Fair Value of Assets and Liabilities - Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FairValueofAssetsandLiabilitiesNarrativeDetails" roleURI="http://dhcreit.com/role/FairValueofAssetsandLiabilitiesNarrativeDetails">
        <link:definition>9954489 - Disclosure - Fair Value of Assets and Liabilities - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquityNarrativeDetails" roleURI="http://dhcreit.com/role/ShareholdersEquityNarrativeDetails">
        <link:definition>9954490 - Disclosure - Shareholders' Equity - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="ShareholdersEquityDetails" roleURI="http://dhcreit.com/role/ShareholdersEquityDetails">
        <link:definition>9954491 - Disclosure - Shareholders' Equity (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingNarrativeDetails" roleURI="http://dhcreit.com/role/SegmentReportingNarrativeDetails">
        <link:definition>9954492 - Disclosure - Segment Reporting - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingIncomeStatementsDetails" roleURI="http://dhcreit.com/role/SegmentReportingIncomeStatementsDetails">
        <link:definition>9954493 - Disclosure - Segment Reporting - Income Statements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SegmentReportingAssetsDetails" roleURI="http://dhcreit.com/role/SegmentReportingAssetsDetails">
        <link:definition>9954494 - Disclosure - Segment Reporting - Assets (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SeniorLivingCommunityManagementAgreementsNarrativeDetails" roleURI="http://dhcreit.com/role/SeniorLivingCommunityManagementAgreementsNarrativeDetails">
        <link:definition>9954495 - Disclosure - Senior Living Community Management Agreements - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SeniorLivingCommunityManagementAgreementsScheduleofDisaggregationofRevenueDetails" roleURI="http://dhcreit.com/role/SeniorLivingCommunityManagementAgreementsScheduleofDisaggregationofRevenueDetails">
        <link:definition>9954496 - Disclosure - Senior Living Community Management Agreements - Schedule of Disaggregation of Revenue (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BusinessandPropertyManagementAgreementswithRMRDetails" roleURI="http://dhcreit.com/role/BusinessandPropertyManagementAgreementswithRMRDetails">
        <link:definition>9954497 - Disclosure - Business and Property Management Agreements with RMR (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="RelatedPersonTransactionsDetails" roleURI="http://dhcreit.com/role/RelatedPersonTransactionsDetails">
        <link:definition>9954498 - Disclosure - Related Person Transactions (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="IncomeTaxesDetails" roleURI="http://dhcreit.com/role/IncomeTaxesDetails">
        <link:definition>9954499 - Disclosure - Income Taxes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="dhc_SeniorUnsecuredNotes9.750PercentDue2024Member" abstract="true" name="SeniorUnsecuredNotes9.750PercentDue2024Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_ReceivableFromTenderOffer" abstract="false" name="ReceivableFromTenderOffer" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_PaymentsForTerminationAndOtherFees" abstract="false" name="PaymentsForTerminationAndOtherFees" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_UnsecuredDebtNotGuaranteedMember" abstract="true" name="UnsecuredDebtNotGuaranteedMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_SeniorLivingCommunitiesMember" abstract="true" name="SeniorLivingCommunitiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_MeasurementInputMarketCapitalizationRateMember" abstract="true" name="MeasurementInputMarketCapitalizationRateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_FiveStarQualityCareIncMember" abstract="true" name="FiveStarQualityCareIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_RelatedPartyTransactionExpensesFromPropertyManagementAgreementTransactionsWithRelatedParty" abstract="false" name="RelatedPartyTransactionExpensesFromPropertyManagementAgreementTransactionsWithRelatedParty" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_SecuredOvernightFinancingRateSOFRMember" abstract="true" name="SecuredOvernightFinancingRateSOFRMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_SeniorNotesDue2042Member" abstract="true" name="SeniorNotesDue2042Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_BusinessManagementFees" abstract="false" name="BusinessManagementFees" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_DebtInstrumentExtensionTerm" abstract="false" name="DebtInstrumentExtensionTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="dhc_ABPTrustAndMr.PortnoyMember" abstract="true" name="ABPTrustAndMr.PortnoyMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_MedicalOfficeMember" abstract="true" name="MedicalOfficeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_MedicalOfficeBuildingandLifeScienceBuildingMember" abstract="true" name="MedicalOfficeBuildingandLifeScienceBuildingMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotes975PercentDue2025Member" abstract="true" name="SeniorUnsecuredNotes975PercentDue2025Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_PeriodOfActualAmountOfIncentiveFees" abstract="false" name="PeriodOfActualAmountOfIncentiveFees" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="dhc_EquitySecuritiesFVNIHoldingPeriod" abstract="false" name="EquitySecuritiesFVNIHoldingPeriod" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="dhc_DebtInstrumentIncreaseInInitialInterestRateDuringExtensionPeriod" abstract="false" name="DebtInstrumentIncreaseInInitialInterestRateDuringExtensionPeriod" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="dhc_PerCommonShareAmountsBasicAndDilutedAbstract" abstract="true" name="PerCommonShareAmountsBasicAndDilutedAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="dhc_AlerisLifeIncMember" abstract="true" name="AlerisLifeIncMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_DebtInstrumentInterestRateAccretedValueIncreaseRatePercentage" abstract="false" name="DebtInstrumentInterestRateAccretedValueIncreaseRatePercentage" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="dhc_RelatedPartyManagementAgreements" abstract="false" name="RelatedPartyManagementAgreements" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_CumulativeCommonStockDividends" abstract="false" name="CumulativeCommonStockDividends" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_RentalIncomeMember" abstract="true" name="RentalIncomeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_InvestmentOwnedPercentageOfTotalSharesOutstanding" abstract="false" name="InvestmentOwnedPercentageOfTotalSharesOutstanding" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types1:percentItemType"/>
  <xs:element id="dhc_RelatedPartyTransactionClosingCost" abstract="false" name="RelatedPartyTransactionClosingCost" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_BusinessAndPropertyManagementAgreementsTextBlock" abstract="false" name="BusinessAndPropertyManagementAgreementsTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:textBlockItemType"/>
  <xs:element id="dhc_FinanceLeasedPropertiesMember" abstract="true" name="FinanceLeasedPropertiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_NumberOfRealEstatePropertiesClosed" abstract="false" name="NumberOfRealEstatePropertiesClosed" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_DiversifiedHealthcareTrustMember" abstract="true" name="DiversifiedHealthcareTrustMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_RelatedPartyTransactionPropertyManagementAgreementNumberOfConsecutiveRenewalTerms" abstract="false" name="RelatedPartyTransactionPropertyManagementAgreementNumberOfConsecutiveRenewalTerms" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_LifeScienceAndMedicalOfficeMember" abstract="true" name="LifeScienceAndMedicalOfficeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_CumulativeCommonDistributionsMember" abstract="true" name="CumulativeCommonDistributionsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_PropertyManagementAndConstructionSupervisionFeesPaid" abstract="false" name="PropertyManagementAndConstructionSupervisionFeesPaid" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_NumberOfStates" abstract="false" name="NumberOfStates" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_USSwapRateMember" abstract="true" name="USSwapRateMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_PropertyManagementAndConstructionSupervisionFeesCapitalized" abstract="false" name="PropertyManagementAndConstructionSupervisionFeesCapitalized" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_InvestmentSaleOfStockPricePerShare" abstract="false" name="InvestmentSaleOfStockPricePerShare" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="dhc_SeniorSecuredNotesZeroCouponRateDue2026Member" abstract="true" name="SeniorSecuredNotesZeroCouponRateDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_PropertyManagementAndConstructionSupervisionFees" abstract="false" name="PropertyManagementAndConstructionSupervisionFees" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_StraightLineRentExcludingPropertiesHeldforSale" abstract="false" name="StraightLineRentExcludingPropertiesHeldforSale" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotes4.75PercentDue2028Member" abstract="true" name="SeniorUnsecuredNotes4.75PercentDue2028Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_TheLSMDFundREITLLCMember" abstract="true" name="TheLSMDFundREITLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorSecuredNoteDue2026Member" abstract="true" name="SeniorSecuredNoteDue2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_SecuredDebtAndFinanceLeaseObligationsNet" abstract="false" name="SecuredDebtAndFinanceLeaseObligationsNet" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotesMember" abstract="true" name="SeniorUnsecuredNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_MedicareAndMedicaidProgramsMember" abstract="true" name="MedicareAndMedicaidProgramsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_MedicalOfficeAndLifeSciencePortfolioSegmentMember" abstract="true" name="MedicalOfficeAndLifeSciencePortfolioSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorHousingOperatingPortfolioSegmentMember" abstract="true" name="SeniorHousingOperatingPortfolioSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotes5625PercentDue2042Member" abstract="true" name="SeniorUnsecuredNotes5625PercentDue2042Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_AmortizationOfAcquiredRealEstateLeasesAndOtherIntangibleAssets" abstract="false" name="AmortizationOfAcquiredRealEstateLeasesAndOtherIntangibleAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_EncumberedProperties" abstract="false" name="EncumberedProperties" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotes625PercentDue2046Member" abstract="true" name="SeniorUnsecuredNotes625PercentDue2046Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_GainLossOnEarlyExtinguishmentOfDebt" abstract="false" name="GainLossOnEarlyExtinguishmentOfDebt" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_SecuredDebtsAndFinanceLeasesMember" abstract="true" name="SecuredDebtsAndFinanceLeasesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_SeniorSecuredNotesDueJanuary2026Member" abstract="true" name="SeniorSecuredNotesDueJanuary2026Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_SeniorLivingCommunityMember" abstract="true" name="SeniorLivingCommunityMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_NoncashInvestingActivitiesAbstract" abstract="true" name="NoncashInvestingActivitiesAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="dhc_DebtInstrumentInitialInterestRateDuringExtensionPeriod" abstract="false" name="DebtInstrumentInitialInterestRateDuringExtensionPeriod" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="dhc_NumberOfPropertiesAcquired" abstract="false" name="NumberOfPropertiesAcquired" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_ThirdPartyManagersMember" abstract="true" name="ThirdPartyManagersMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_DebtInstrumentPercentageOfEquityInterestAsCollateralGuarantee" abstract="false" name="DebtInstrumentPercentageOfEquityInterestAsCollateralGuarantee" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="dhc_ReimbursementRevenueLease" abstract="false" name="ReimbursementRevenueLease" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_RehabilitationServicesMember" abstract="true" name="RehabilitationServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_ContractTypeDomain" abstract="true" name="ContractTypeDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorUnsecuredNotes4375PercentDue2031Member" abstract="true" name="SeniorUnsecuredNotes4375PercentDue2031Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorSecuredNotesMember" abstract="true" name="SeniorSecuredNotesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_NumberJointVentureArrangements" abstract="false" name="NumberJointVentureArrangements" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_SeaportInnovationLLCMember" abstract="true" name="SeaportInnovationLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_SeniorNotesDue2046Member" abstract="true" name="SeniorNotesDue2046Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_NumberOfPropertiesIncludedInJointVentureAgreement" abstract="false" name="NumberOfPropertiesIncludedInJointVentureAgreement" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_RelatedPartyTransactionCapitalizedAmount" abstract="false" name="RelatedPartyTransactionCapitalizedAmount" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_BasicHousingAndSupportServicesMember" abstract="true" name="BasicHousingAndSupportServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_PrivatePayAndOtherThirdPartyPayerServicesMember" abstract="true" name="PrivatePayAndOtherThirdPartyPayerServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_RealEstateAggregateSalesPrice" abstract="false" name="RealEstateAggregateSalesPrice" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_ResidentFeesAndServicesMember" abstract="true" name="ResidentFeesAndServicesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_PropertiesHeldForSaleSalesPrice" abstract="false" name="PropertiesHeldForSaleSalesPrice" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="dhc_NumberOfCommunitiesManagedByRelatedParty" abstract="false" name="NumberOfCommunitiesManagedByRelatedParty" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_JointVentureMember" abstract="true" name="JointVentureMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_NumberOfRealEstatePropertiesCollateralized" abstract="false" name="NumberOfRealEstatePropertiesCollateralized" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_PropertiesUnderAgreementToSellMember" abstract="true" name="PropertiesUnderAgreementToSellMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_ABPTrustMember" abstract="true" name="ABPTrustMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="dhc_StockRepurchasedDuringPeriodWeightedAveragePrice" abstract="false" name="StockRepurchasedDuringPeriodWeightedAveragePrice" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:perShareItemType"/>
  <xs:element id="dhc_ContractTypeAxis" abstract="true" name="ContractTypeAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="dhc_NumberOfExtensionOptions" abstract="false" name="NumberOfExtensionOptions" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_NumberOfUnconsolidatedJointVentures" abstract="false" name="NumberOfUnconsolidatedJointVentures" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_ReitManagementAndResearchMember" abstract="true" name="ReitManagementAndResearchMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_ReitManagementAndResearchLLCMember" abstract="true" name="ReitManagementAndResearchLLCMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types1:domainItemType"/>
  <xs:element id="dhc_FairValueMeasurementNumberOfDebtSecurities" abstract="false" name="FairValueMeasurementNumberOfDebtSecurities" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="dhc_DebtInstrumentExtensionOptionTerm" abstract="false" name="DebtInstrumentExtensionOptionTerm" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
</xs:schema>
