<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingencies" xlink:href="good-20190630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesTables" xlink:href="good-20190630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:href="good-20190630.xsd#CondensedConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:href="good-20190630.xsd#CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:href="good-20190630.xsd#CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/DocumentAndEntityInformation" xlink:href="good-20190630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquity" xlink:href="good-20190630.xsd#EquityAndMezzanineEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityAdditionalInformationDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityDividendsPaidDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityDividendsPaidDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:href="good-20190630.xsd#EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityTables" xlink:href="good-20190630.xsd#EquityAndMezzanineEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStock" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStock" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockTables" xlink:href="good-20190630.xsd#LossEarningsPerShareOfCommonStockTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacility" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacility" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityTables" xlink:href="good-20190630.xsd#MortgageNotesPayableAndCreditFacilityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:href="good-20190630.xsd#OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssets" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsTables" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:href="good-20190630.xsd#RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:href="good-20190630.xsd#RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RelatedPartyTransactions" xlink:href="good-20190630.xsd#RelatedPartyTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/RelatedPartyTransactionsAdditionalInformationDetail" xlink:href="good-20190630.xsd#RelatedPartyTransactionsAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEvents" xlink:href="good-20190630.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsAdditionalInformationDetails" xlink:href="good-20190630.xsd#SubsequentEventsAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:href="good-20190630.xsd#SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://ir.gladstonecommercial.com/role/SubsequentEventsTables" xlink:href="good-20190630.xsd#SubsequentEventsTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsLineItems" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_683A61B73B7E6614BA6D247FF87B96A9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCommitmentsTable" xlink:label="loc_us-gaap_OtherCommitmentsTable_38E0A75B890865892210247FF875407E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_683A61B73B7E6614BA6D247FF87B96A9" xlink:to="loc_us-gaap_OtherCommitmentsTable_38E0A75B890865892210247FF875407E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_94975978164378ED1C4C247FF875CCBB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_38E0A75B890865892210247FF875407E" xlink:to="loc_us-gaap_CreditFacilityAxis_94975978164378ED1C4C247FF875CCBB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_9DCC6675C5C71DFB54D0247FF8765A2E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_94975978164378ED1C4C247FF875CCBB" xlink:to="loc_us-gaap_CreditFacilityDomain_9DCC6675C5C71DFB54D0247FF8765A2E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_9DCC6675C5C71DFB54D0247FF8765A2E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_94975978164378ED1C4C247FF875CCBB" xlink:to="loc_us-gaap_CreditFacilityDomain_9DCC6675C5C71DFB54D0247FF8765A2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_54B2ED16068A51CDDCE5247FF87603F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_9DCC6675C5C71DFB54D0247FF8765A2E" xlink:to="loc_us-gaap_LineOfCreditMember_54B2ED16068A51CDDCE5247FF87603F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NumberOfPropertiesSubjectToGroundLeases" xlink:label="loc_us-gaap_NumberOfPropertiesSubjectToGroundLeases_444FD93D598D7A58261C247FF87C83BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_683A61B73B7E6614BA6D247FF87B96A9" xlink:to="loc_us-gaap_NumberOfPropertiesSubjectToGroundLeases_444FD93D598D7A58261C247FF87C83BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaap_LeaseAndRentalExpense_932CA2F214B6D5A8ECEB247FF87C7726" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_683A61B73B7E6614BA6D247FF87B96A9" xlink:to="loc_us-gaap_LeaseAndRentalExpense_932CA2F214B6D5A8ECEB247FF87C7726" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_004E0DF43531E4E895DD247FF87C28D3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_683A61B73B7E6614BA6D247FF87B96A9" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_004E0DF43531E4E895DD247FF87C28D3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesCommitmentsAndContingenciesFutureMinimumRentalPaymentsDueUnderTermsOfLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_D1C5F0FD2620C2FA41BD3E4061DAA880" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_D1C5F0FD2620C2FA41BD3E4061DAA880" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis_F3B379CDD6BD4880DFF33E4061DA3777" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_D1C5F0FD2620C2FA41BD3E4061DAA880" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis_F3B379CDD6BD4880DFF33E4061DA3777" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain_FD5A02CB9F77023F5CB83E4061DBC56B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis_F3B379CDD6BD4880DFF33E4061DA3777" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain_FD5A02CB9F77023F5CB83E4061DBC56B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain" xlink:label="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain_FD5A02CB9F77023F5CB83E4061DBC56B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis_F3B379CDD6BD4880DFF33E4061DA3777" xlink:to="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain_FD5A02CB9F77023F5CB83E4061DBC56B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_GroundLeasesMember" xlink:label="loc_good_GroundLeasesMember_DDD15B8C73E2930BEEE13E4061DB59F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertySubjectToOrAvailableForOperatingLeaseDomain_FD5A02CB9F77023F5CB83E4061DBC56B" xlink:to="loc_good_GroundLeasesMember_DDD15B8C73E2930BEEE13E4061DB59F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5A1ACCE4080BDF0262263E434911757A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_5A1ACCE4080BDF0262263E434911757A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_C88AF219C13E3750453A3E4061DBF31A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_C88AF219C13E3750453A3E4061DBF31A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_E388D12CB7651C5231613E4061DB514F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_E388D12CB7651C5231613E4061DB514F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_53632AC90D9E255B83103E4061DB558B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_53632AC90D9E255B83103E4061DB558B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_EAC7D54F844791776DDA3E4061DB0A76" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_EAC7D54F844791776DDA3E4061DB0A76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_AD365E51075BEB2F42053E4061DB806A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_AD365E51075BEB2F42053E4061DB806A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_4D9B30AC69ECEE7273E73E4061DC392F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_EF7ECB85D2EC9F844D873E4061DBA157" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_4D9B30AC69ECEE7273E73E4061DC392F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesFutureLeasePaymentsDueUnderOperatingLeasesDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_717683784C2DA46BB4458B26A853A022" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_StatementTable_717683784C2DA46BB4458B26A853A022" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_05D6E9601C5682F6B2D88B26A8531B8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_717683784C2DA46BB4458B26A853A022" xlink:to="loc_us-gaap_StatementClassOfStockAxis_05D6E9601C5682F6B2D88B26A8531B8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_05D6E9601C5682F6B2D88B26A8531B8E" xlink:to="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_05D6E9601C5682F6B2D88B26A8531B8E" xlink:to="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesDPreferredStockMember" xlink:label="loc_us-gaap_SeriesDPreferredStockMember_A9891F3E685D33BA6AFC8B26A853AAEE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0" xlink:to="loc_us-gaap_SeriesDPreferredStockMember_A9891F3E685D33BA6AFC8B26A853AAEE" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesAAndSeriesBPreferredStockMember" xlink:label="loc_good_SeriesAAndSeriesBPreferredStockMember_F82659802508C2B349828B26A854BD2F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_632A6631594BEBC632FE8B26A85328A0" xlink:to="loc_good_SeriesAAndSeriesBPreferredStockMember_F82659802508C2B349828B26A854BD2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityParOrStatedValuePerShare" xlink:label="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_D67D68438DC41EADB5888B26A854050C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_TemporaryEquityParOrStatedValuePerShare_D67D68438DC41EADB5888B26A854050C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquityLiquidationPreferencePerShare" xlink:label="loc_us-gaap_TemporaryEquityLiquidationPreferencePerShare_65EF1B91AC29ABBAA5CC8B26A8548D2C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_TemporaryEquityLiquidationPreferencePerShare_65EF1B91AC29ABBAA5CC8B26A8548D2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesAuthorized" xlink:label="loc_us-gaap_TemporaryEquitySharesAuthorized_19C58EF54342B6CF224D8B26A85477A9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_TemporaryEquitySharesAuthorized_19C58EF54342B6CF224D8B26A85477A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesIssued" xlink:label="loc_us-gaap_TemporaryEquitySharesIssued_C6ABA0F19BC463EF70B68B26A8559769" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_TemporaryEquitySharesIssued_C6ABA0F19BC463EF70B68B26A8559769" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TemporaryEquitySharesOutstanding" xlink:label="loc_us-gaap_TemporaryEquitySharesOutstanding_988D7D819C36174AA4C98B26A85511A4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_TemporaryEquitySharesOutstanding_988D7D819C36174AA4C98B26A85511A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_4A3EACB4BD212FFF0EA58B26A85565BE" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_4A3EACB4BD212FFF0EA58B26A85565BE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockLiquidationPreference" xlink:label="loc_us-gaap_PreferredStockLiquidationPreference_5D22126F0ACD041B8ED08B26A855CCE9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_PreferredStockLiquidationPreference_5D22126F0ACD041B8ED08B26A855CCE9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_DAF3146112B18A4BDC308B26A85597A3" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_DAF3146112B18A4BDC308B26A85597A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_0D049F018D0941339C628B26A855A98B" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_PreferredStockSharesIssued_0D049F018D0941339C628B26A855A98B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_28D196B19227E6FB0F978B26A855924C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_28D196B19227E6FB0F978B26A855924C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockParValue" xlink:label="loc_good_SeniorCommonStockParValue_CBCA0BC843CCCF471DE48B26A85675FA" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_good_SeniorCommonStockParValue_CBCA0BC843CCCF471DE48B26A85675FA" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockSharesAuthorized" xlink:label="loc_good_SeniorCommonStockSharesAuthorized_11121440F5F9DB0DA63D8B26A856A182" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_good_SeniorCommonStockSharesAuthorized_11121440F5F9DB0DA63D8B26A856A182" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockSharesIssued" xlink:label="loc_good_SeniorCommonStockSharesIssued_3A6A4C7669C2EF6D605E8B26A856A26F" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_good_SeniorCommonStockSharesIssued_3A6A4C7669C2EF6D605E8B26A856A26F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockSharesOutstanding" xlink:label="loc_good_SeniorCommonStockSharesOutstanding_5A3EDDD7BD73195C67418B26A8560CF9" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_good_SeniorCommonStockSharesOutstanding_5A3EDDD7BD73195C67418B26A8560CF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_F500A0869776DBFB6DBC8B26A856DCE2" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_F500A0869776DBFB6DBC8B26A856DCE2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_8A800FBE823C0B34830A8B26A8564B0C" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_8A800FBE823C0B34830A8B26A8564B0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_D1C3056F9DB57D55D1078B26A8576694" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_CommonStockSharesIssued_D1C3056F9DB57D55D1078B26A8576694" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_93DEBE01E034AEF983378B26A8579A6A" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_99F63158542C0D7816798B26A854DC25" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_93DEBE01E034AEF983378B26A8579A6A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlows" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfCashFlowsScheduleOfCashCashEquivalentsAndRestrictedCash" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquity" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_8E7C32B3E279F7C74BF68B26A83523AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:to="loc_dei_LegalEntityAxis_8E7C32B3E279F7C74BF68B26A83523AE" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5EFF7989F1BD6CA47BCE8B26A835B628_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_8E7C32B3E279F7C74BF68B26A83523AE" xlink:to="loc_dei_EntityDomain_5EFF7989F1BD6CA47BCE8B26A835B628_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2018/dei-2018-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_5EFF7989F1BD6CA47BCE8B26A835B628" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_8E7C32B3E279F7C74BF68B26A83523AE" xlink:to="loc_dei_EntityDomain_5EFF7989F1BD6CA47BCE8B26A835B628" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_CantorFitzgeraldAndCompanyMember" xlink:label="loc_good_CantorFitzgeraldAndCompanyMember_9DA91C05B34488643C498B26A8353B2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_5EFF7989F1BD6CA47BCE8B26A835B628" xlink:to="loc_good_CantorFitzgeraldAndCompanyMember_9DA91C05B34488643C498B26A8353B2C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_B8B65005A3984EDDBB7A8B26A836C279" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_B8B65005A3984EDDBB7A8B26A836C279" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_B8B65005A3984EDDBB7A8B26A836C279" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_B8B65005A3984EDDBB7A8B26A836C279" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_CommonStockATMProgramMember" xlink:label="loc_good_CommonStockATMProgramMember_A9EBCA4692D77877D40A8B26A836F99F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3" xlink:to="loc_good_CommonStockATMProgramMember_A9EBCA4692D77877D40A8B26A836F99F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_A2019UniversalShelfMember" xlink:label="loc_good_A2019UniversalShelfMember_1711CD8A72C1369692F18B26A836BF22" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_7A3AF821DB37B417123F8B26A836ADF3" xlink:to="loc_good_A2019UniversalShelfMember_1711CD8A72C1369692F18B26A836BF22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_CounterpartyNameAxis" xlink:label="loc_srt_CounterpartyNameAxis_4DDA9496C612D353E8AF8B26A8369653" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:to="loc_srt_CounterpartyNameAxis_4DDA9496C612D353E8AF8B26A8369653" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_19F595161166A96013378B26A837D495_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CounterpartyNameAxis_4DDA9496C612D353E8AF8B26A8369653" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_19F595161166A96013378B26A837D495_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RepurchaseAgreementCounterpartyNameDomain" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain_19F595161166A96013378B26A837D495" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CounterpartyNameAxis_4DDA9496C612D353E8AF8B26A8369653" xlink:to="loc_srt_RepurchaseAgreementCounterpartyNameDomain_19F595161166A96013378B26A837D495" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_CantorFitzgeraldAndCompanyMember" xlink:label="loc_good_CantorFitzgeraldAndCompanyMember_4C337159B755C826710A8B26A8378D56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain_19F595161166A96013378B26A837D495" xlink:to="loc_good_CantorFitzgeraldAndCompanyMember_4C337159B755C826710A8B26A8378D56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_40C2B2CE85C85D2966EA8B26A837BAC1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_40C2B2CE85C85D2966EA8B26A837BAC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_40C2B2CE85C85D2966EA8B26A837BAC1" xlink:to="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_40C2B2CE85C85D2966EA8B26A837BAC1" xlink:to="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_F0CA7346A868A2A664CF8B26A837688E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E" xlink:to="loc_us-gaap_CommonStockMember_F0CA7346A868A2A664CF8B26A837688E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_DF559B9B8EAFDA38A71E8B26A838C946" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_DC8AD96610EE15ED3C6E8B26A837753E" xlink:to="loc_us-gaap_PreferredStockMember_DF559B9B8EAFDA38A71E8B26A838C946" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_6989F14CAB1A37D3185C8B26A8387CF4" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_309F2A9853A21D7242848B26A8344F92" xlink:to="loc_us-gaap_StatementClassOfStockAxis_6989F14CAB1A37D3185C8B26A8387CF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EC3DA6440027701131548B26A838E715_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6989F14CAB1A37D3185C8B26A8387CF4" xlink:to="loc_us-gaap_ClassOfStockDomain_EC3DA6440027701131548B26A838E715_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_EC3DA6440027701131548B26A838E715" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_6989F14CAB1A37D3185C8B26A8387CF4" xlink:to="loc_us-gaap_ClassOfStockDomain_EC3DA6440027701131548B26A838E715" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesAAndSeriesBPreferredStockMember" xlink:label="loc_good_SeriesAAndSeriesBPreferredStockMember_B86B015E86049658DDF38B26A8380A3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_EC3DA6440027701131548B26A838E715" xlink:to="loc_good_SeriesAAndSeriesBPreferredStockMember_B86B015E86049658DDF38B26A8380A3B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesACumulativeRedeemablePreferredStockMember" xlink:label="loc_good_SeriesACumulativeRedeemablePreferredStockMember_D58F45BE0C395634FD638B26A839DC92" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_SeriesAAndSeriesBPreferredStockMember_B86B015E86049658DDF38B26A8380A3B" xlink:to="loc_good_SeriesACumulativeRedeemablePreferredStockMember_D58F45BE0C395634FD638B26A839DC92" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesBCumulativeRedeemablePreferredStockMember" xlink:label="loc_good_SeriesBCumulativeRedeemablePreferredStockMember_5DA932114B3022DCDD7B8B26A839CB2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_SeriesAAndSeriesBPreferredStockMember_B86B015E86049658DDF38B26A8380A3B" xlink:to="loc_good_SeriesBCumulativeRedeemablePreferredStockMember_5DA932114B3022DCDD7B8B26A839CB2D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesDCumulativeRedeemablePreferredStockMember" xlink:label="loc_good_SeriesDCumulativeRedeemablePreferredStockMember_EDC78C385261D4C8E1D58B26A8399451" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_SeriesAAndSeriesBPreferredStockMember_B86B015E86049658DDF38B26A8380A3B" xlink:to="loc_good_SeriesDCumulativeRedeemablePreferredStockMember_EDC78C385261D4C8E1D58B26A8399451" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_4ECCEE661B9221A19B878B26A839C7BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_PreferredStockSharesIssued_4ECCEE661B9221A19B878B26A839C7BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_D9684A55FDB738702A778B26A83AA835" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_D9684A55FDB738702A778B26A83AA835" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_F99FB4348B90D5A4C3FF8B26A83A1038" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_F99FB4348B90D5A4C3FF8B26A83A1038" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MaximumRemainingCapacityToSellCommonStockUnderOpenMarketSaleAgreement" xlink:label="loc_good_MaximumRemainingCapacityToSellCommonStockUnderOpenMarketSaleAgreement_31A357A12075DA00400F8B26A83A4A1B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_MaximumRemainingCapacityToSellCommonStockUnderOpenMarketSaleAgreement_31A357A12075DA00400F8B26A83A4A1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockDividendRatePercentage" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_378529CFF438CAA837118B26A83A523F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_378529CFF438CAA837118B26A83A523F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MaximumAggregateSalesPriceOfSharesToBeIssuedUnderOpenMarketSaleAgreement" xlink:label="loc_good_MaximumAggregateSalesPriceOfSharesToBeIssuedUnderOpenMarketSaleAgreement_05166A6A7F4CB6C3A6688B26A83A8B6C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_MaximumAggregateSalesPriceOfSharesToBeIssuedUnderOpenMarketSaleAgreement_05166A6A7F4CB6C3A6688B26A83A8B6C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MaximumRemainingCapacityToSellPreferredStockUnderOpenMarketSaleAgreement" xlink:label="loc_good_MaximumRemainingCapacityToSellPreferredStockUnderOpenMarketSaleAgreement_79DE22D7CC1C0D3972AB8B26A83AEA3F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_MaximumRemainingCapacityToSellPreferredStockUnderOpenMarketSaleAgreement_79DE22D7CC1C0D3972AB8B26A83AEA3F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TemporaryEquityContractTermsMinimumVoteNeededtoTriggerChangeinControlFromTenderOffer" xlink:label="loc_good_TemporaryEquityContractTermsMinimumVoteNeededtoTriggerChangeinControlFromTenderOffer_18FF10A87C8A1C20AE788B26A83B00C8" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_TemporaryEquityContractTermsMinimumVoteNeededtoTriggerChangeinControlFromTenderOffer_18FF10A87C8A1C20AE788B26A83B00C8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AuthorizedbutUnissuedSharesReclassifiedfromSeniorCommonStocktoCommonStock" xlink:label="loc_good_AuthorizedbutUnissuedSharesReclassifiedfromSeniorCommonStocktoCommonStock_E74AC34B9FA6D156A9028B26A83B4959" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_AuthorizedbutUnissuedSharesReclassifiedfromSeniorCommonStocktoCommonStock_E74AC34B9FA6D156A9028B26A83B4959" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockAuthorizedUnissued" xlink:label="loc_good_SeniorCommonStockAuthorizedUnissued_423A63858787461548DE8B26A83B7226" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_SeniorCommonStockAuthorizedUnissued_423A63858787461548DE8B26A83B7226" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_CapitalStockSharesAuthorized" xlink:label="loc_good_CapitalStockSharesAuthorized_1B4B3D82A529B7B1D7A38B26A83B7281" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_CapitalStockSharesAuthorized_1B4B3D82A529B7B1D7A38B26A83B7281" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockSharesAuthorized" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_03A8877F2E8243654A3C8B26A83C65EB" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_03A8877F2E8243654A3C8B26A83C65EB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_UniversalRegistrationStatementAmountAuthorized" xlink:label="loc_good_UniversalRegistrationStatementAmountAuthorized_2F2DE7899325C316A8978B26A83C17F8" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E39E8627C1CBA5AE76448B26A839A83A" xlink:to="loc_good_UniversalRegistrationStatementAmountAuthorized_2F2DE7899325C316A8978B26A83C17F8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityDividendsPaidDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_205EB3F0B2FA2A5E95398B26A88D83E3" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_BA01801AE0692F7CBC408B26A88BBA9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_205EB3F0B2FA2A5E95398B26A88D83E3" xlink:to="loc_us-gaap_DividendsPayableTable_BA01801AE0692F7CBC408B26A88BBA9B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_8E0FCBB9062142FBCDB88B26A88C49B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_BA01801AE0692F7CBC408B26A88BBA9B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_8E0FCBB9062142FBCDB88B26A88C49B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0D40693FD954D953DC6C8B26A88C6D97_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8E0FCBB9062142FBCDB88B26A88C49B9" xlink:to="loc_us-gaap_EquityComponentDomain_0D40693FD954D953DC6C8B26A88C6D97_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0D40693FD954D953DC6C8B26A88C6D97" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_8E0FCBB9062142FBCDB88B26A88C49B9" xlink:to="loc_us-gaap_EquityComponentDomain_0D40693FD954D953DC6C8B26A88C6D97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_A3AECDA23ADD568A654A8B26A88C8613" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0D40693FD954D953DC6C8B26A88C6D97" xlink:to="loc_us-gaap_CommonStockMember_A3AECDA23ADD568A654A8B26A88C8613" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_21FC1FF35D845A26E1358B26A88CFF4B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_BA01801AE0692F7CBC408B26A88BBA9B" xlink:to="loc_us-gaap_StatementClassOfStockAxis_21FC1FF35D845A26E1358B26A88CFF4B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_21FC1FF35D845A26E1358B26A88CFF4B" xlink:to="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_21FC1FF35D845A26E1358B26A88CFF4B" xlink:to="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockMember" xlink:label="loc_good_SeniorCommonStockMember_6A852A4E7A35FD08BB288B26A88D4860" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:to="loc_good_SeniorCommonStockMember_6A852A4E7A35FD08BB288B26A88D4860" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_E1B688CFFECEBBDF308B8B26A88D66AD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_E1B688CFFECEBBDF308B8B26A88D66AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_A32F5B9894226D6F5AA68B26A88D3659" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_A32F5B9894226D6F5AA68B26A88D3659" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesDPreferredStockMember" xlink:label="loc_us-gaap_SeriesDPreferredStockMember_435140CC8E946AAA808A8B26A88D8C97" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_8E9C07F84DA46ACC2E9C8B26A88DE660" xlink:to="loc_us-gaap_SeriesDPreferredStockMember_435140CC8E946AAA808A8B26A88D8C97" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_BD83A6D952A249C544238B26A88DD2D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_205EB3F0B2FA2A5E95398B26A88D83E3" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_BD83A6D952A249C544238B26A88DD2D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_PreferredStockDividendsPerShareCashPaid_0603C3FE1FCCAFC558178B26A88EC76F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_205EB3F0B2FA2A5E95398B26A88D83E3" xlink:to="loc_us-gaap_PreferredStockDividendsPerShareCashPaid_0603C3FE1FCCAFC558178B26A88EC76F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquitySummaryOfChangesInStockholdersEquityDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_2EAA5D27864D8585A2C93F3622BC49C4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3D3467F3A5E258CCE8F93F3622B32BBE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_2EAA5D27864D8585A2C93F3622BC49C4" xlink:to="loc_us-gaap_StatementTable_3D3467F3A5E258CCE8F93F3622B32BBE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_BD3CD56994926FEEBAED3F3622B47690" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D3467F3A5E258CCE8F93F3622B32BBE" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_BD3CD56994926FEEBAED3F3622B47690" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BD3CD56994926FEEBAED3F3622B47690" xlink:to="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_BD3CD56994926FEEBAED3F3622B47690" xlink:to="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_C02DCBB7B969E34D47063F3622B48A79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_PreferredStockMember_C02DCBB7B969E34D47063F3622B48A79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_3488D4AAB63D5876E2323F3622BA4111" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_CommonStockMember_3488D4AAB63D5876E2323F3622BA4111" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_88909F33278E98D29EFA3F3622BA35C9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_88909F33278E98D29EFA3F3622BA35C9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0782C31756E4E5EF11513F3622BA0403" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0782C31756E4E5EF11513F3622BA0403" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember" xlink:label="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember_1B211A586A8CDCAC85853F3622BAD248" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_AccumulatedDistributionsInExcessOfNetIncomeMember_1B211A586A8CDCAC85853F3622BAD248" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ParentMember" xlink:label="loc_us-gaap_ParentMember_6A7A8C9DC81ED03C65593F3622BB75A3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_ParentMember_6A7A8C9DC81ED03C65593F3622BB75A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_26E6A3972462AFF8E9213F3622BB7E41" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_3B447DECD378159DCC353F3622B4F577" xlink:to="loc_us-gaap_NoncontrollingInterestMember_26E6A3972462AFF8E9213F3622BB7E41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0A120FEF0E9901F1714E3F3622BBB08C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D3467F3A5E258CCE8F93F3622B32BBE" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0A120FEF0E9901F1714E3F3622BBB08C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_06A548E9950EDC00C0673F3622BB055A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A120FEF0E9901F1714E3F3622BBB08C" xlink:to="loc_us-gaap_ClassOfStockDomain_06A548E9950EDC00C0673F3622BB055A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_06A548E9950EDC00C0673F3622BB055A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A120FEF0E9901F1714E3F3622BBB08C" xlink:to="loc_us-gaap_ClassOfStockDomain_06A548E9950EDC00C0673F3622BB055A" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockMember" xlink:label="loc_good_SeniorCommonStockMember_A96745FD66166868365D3F3622BB9169" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_06A548E9950EDC00C0673F3622BB055A" xlink:to="loc_good_SeniorCommonStockMember_A96745FD66166868365D3F3622BB9169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_2EAA5D27864D8585A2C93F3622BC49C4" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_785BE73E0E0DA1133B753F3622BC26CD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_StockholdersEquity_785BE73E0E0DA1133B753F3622BC26CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4E97370614A1F68C63FB3F3622BDF7FA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_4E97370614A1F68C63FB3F3622BDF7FA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_8957AC2DAB0750F754B93F39A9B848BB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_8957AC2DAB0750F754B93F39A9B848BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_96F5C430A6D9AC70E6B03F3C9FE05108" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromDistributionsToNoncontrollingInterestHolders_96F5C430A6D9AC70E6B03F3C9FE05108" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_801FC8F90D49CF14ED4F3F3622BD83AF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromSubsidiaryEquityIssuance_801FC8F90D49CF14ED4F3F3622BD83AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BA065CAD0473D3F072223F3622BD2D6E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BA065CAD0473D3F072223F3622BD2D6E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AdjustmentstoAdditionalPaidinCapitalAdjustmenttoOperatingPartnershipOwnership" xlink:label="loc_good_AdjustmentstoAdditionalPaidinCapitalAdjustmenttoOperatingPartnershipOwnership_ECD22F7F99F610881E183F3622BDD5B0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_good_AdjustmentstoAdditionalPaidinCapitalAdjustmenttoOperatingPartnershipOwnership_ECD22F7F99F610881E183F3622BDD5B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_F9D85B83FEF95ED94EB43F3622BEA4EB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_ProfitLoss_F9D85B83FEF95ED94EB43F3622BEA4EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2F01B521798C676E9D1B3F3622BED12C" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_114CF073E1E9865ED0D23F3622BC6D2F" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_2F01B521798C676E9D1B3F3622BED12C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/EquityAndMezzanineEquityTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStock" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockBasicAndDilutedDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_21FD2E4B750AFEDBB2D742B6A1947381" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_21FD2E4B750AFEDBB2D742B6A1947381" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_321950BA0B38C0E9C76542B6A1958916" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_21FD2E4B750AFEDBB2D742B6A1947381" xlink:to="loc_us-gaap_StatementClassOfStockAxis_321950BA0B38C0E9C76542B6A1958916" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7C625DB2EB5CC0C0CDCF42B6A195CF8D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_321950BA0B38C0E9C76542B6A1958916" xlink:to="loc_us-gaap_ClassOfStockDomain_7C625DB2EB5CC0C0CDCF42B6A195CF8D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_7C625DB2EB5CC0C0CDCF42B6A195CF8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_321950BA0B38C0E9C76542B6A1958916" xlink:to="loc_us-gaap_ClassOfStockDomain_7C625DB2EB5CC0C0CDCF42B6A195CF8D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockMember" xlink:label="loc_good_SeniorCommonStockMember_83C6BC4AB2480AA54AF642B6A195DC34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_7C625DB2EB5CC0C0CDCF42B6A195CF8D" xlink:to="loc_good_SeniorCommonStockMember_83C6BC4AB2480AA54AF642B6A195DC34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareBasicAbstract" xlink:label="loc_us-gaap_EarningsPerShareBasicAbstract_F538CDD39CF0CCD2662842B6A1969EF2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:to="loc_us-gaap_EarningsPerShareBasicAbstract_F538CDD39CF0CCD2662842B6A1969EF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_002125A46EC21C9F184042B6A1962306" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAbstract_F538CDD39CF0CCD2662842B6A1969EF2" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_002125A46EC21C9F184042B6A1962306" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_C25FD49FCA191364B29F42B6A1970D81" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAbstract_F538CDD39CF0CCD2662842B6A1969EF2" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_C25FD49FCA191364B29F42B6A1970D81" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_DCCB5932B96261C5C3FE42B6A19777C0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAbstract_F538CDD39CF0CCD2662842B6A1969EF2" xlink:to="loc_us-gaap_EarningsPerShareBasic_DCCB5932B96261C5C3FE42B6A19777C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareDilutedAbstract" xlink:label="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:to="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_C8FBA7CA11539B2A31EE42B6A1971687" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_C8FBA7CA11539B2A31EE42B6A1971687" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8BD571251541688C154F42B6A19800F0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8BD571251541688C154F42B6A19800F0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_17487D7D4DB9EB29024142B6A198E79F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_17487D7D4DB9EB29024142B6A198E79F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_A4938B30A49BF943E65442B6A1987778" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_A4938B30A49BF943E65442B6A1987778" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_71008F76D6DB9D6E1B6942B6A199AF76" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareDilutedAbstract_1F76DC1D899DEC58493A42B6A19791C6" xlink:to="loc_us-gaap_EarningsPerShareDiluted_71008F76D6DB9D6E1B6942B6A199AF76" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NoncontrollingInterestOwnershipbyNoncontrollingOwnersNumberofShares" xlink:label="loc_good_NoncontrollingInterestOwnershipbyNoncontrollingOwnersNumberofShares_C2DF039C90EA4B19777F42B6A199C697" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:to="loc_good_NoncontrollingInterestOwnershipbyNoncontrollingOwnersNumberofShares_C2DF039C90EA4B19777F42B6A199C697" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3B1512451DF7CCD5731E42B6A1990B74" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_A2E7A3281B2FD144D30A42B6A1960F0F" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_3B1512451DF7CCD5731E42B6A1990B74" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/LossEarningsPerShareOfCommonStockTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacility" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_04A427210E5189FFC7AF3F7E17B93568" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_04A427210E5189FFC7AF3F7E17B93568" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_BAB34347274CD01E35F33F7E17BAB95C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_04A427210E5189FFC7AF3F7E17B93568" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_BAB34347274CD01E35F33F7E17BAB95C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_BAB34347274CD01E35F33F7E17BAB95C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_04A427210E5189FFC7AF3F7E17B93568" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_BAB34347274CD01E35F33F7E17BAB95C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_5D0794D6F2A79C81144A3F7E17BACC03" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_BAB34347274CD01E35F33F7E17BAB95C" xlink:to="loc_us-gaap_SubsequentEventMember_5D0794D6F2A79C81144A3F7E17BACC03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_9CD701C42B927B0CE2173F7E17BAA3AE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_srt_RangeAxis_9CD701C42B927B0CE2173F7E17BAA3AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9CD701C42B927B0CE2173F7E17BAA3AE" xlink:to="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9CD701C42B927B0CE2173F7E17BAA3AE" xlink:to="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_7705173856F835994F0F3F7E17BB2E12" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59" xlink:to="loc_srt_MinimumMember_7705173856F835994F0F3F7E17BB2E12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_C25E48269FFEA9B2985F3F7E17BB73D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_96B44E80CDE48317D5023F7E17BB4E59" xlink:to="loc_srt_MaximumMember_C25E48269FFEA9B2985F3F7E17BB73D2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_AFFECE20866C950664A53F7E17BB9028" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_VariableRateAxis_AFFECE20866C950664A53F7E17BB9028" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_472F57F60AFB2E2674943F7E17BB1048_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_AFFECE20866C950664A53F7E17BB9028" xlink:to="loc_us-gaap_VariableRateDomain_472F57F60AFB2E2674943F7E17BB1048_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_472F57F60AFB2E2674943F7E17BB1048" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_AFFECE20866C950664A53F7E17BB9028" xlink:to="loc_us-gaap_VariableRateDomain_472F57F60AFB2E2674943F7E17BB1048" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_335E94D972BDB6F45A143F7E17BCAC13" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_472F57F60AFB2E2674943F7E17BB1048" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_335E94D972BDB6F45A143F7E17BCAC13" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_FE5AD4A836B37ECE81DE3F7E17BC304F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_FE5AD4A836B37ECE81DE3F7E17BC304F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1CAC5CCDE8400AF9A8A93F7E17BC82DB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_FE5AD4A836B37ECE81DE3F7E17BC304F" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1CAC5CCDE8400AF9A8A93F7E17BC82DB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1CAC5CCDE8400AF9A8A93F7E17BC82DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_FE5AD4A836B37ECE81DE3F7E17BC304F" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1CAC5CCDE8400AF9A8A93F7E17BC82DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_1C1998E987E0DF075E1A3F7E17BDE208" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1CAC5CCDE8400AF9A8A93F7E17BC82DB" xlink:to="loc_us-gaap_InterestRateSwapMember_1C1998E987E0DF075E1A3F7E17BDE208" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_A3BF8DC65CACE8B10B2D3F7E17BD6335" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_DebtInstrumentAxis_A3BF8DC65CACE8B10B2D3F7E17BD6335" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_A3BF8DC65CACE8B10B2D3F7E17BD6335" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_A3BF8DC65CACE8B10B2D3F7E17BD6335" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateMortgagesMember" xlink:label="loc_good_VariableRateMortgagesMember_65A8313D8CEEFB2F5EC73F7E17BDD5D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D" xlink:to="loc_good_VariableRateMortgagesMember_65A8313D8CEEFB2F5EC73F7E17BDD5D6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MortgageNotesPayableMember" xlink:label="loc_good_MortgageNotesPayableMember_8092A3833592B34680573F7E17BE112F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3685C91835EAAE95E20D3F7E17BDB73D" xlink:to="loc_good_MortgageNotesPayableMember_8092A3833592B34680573F7E17BE112F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NewMortgageNotesPayableMember" xlink:label="loc_good_NewMortgageNotesPayableMember_3AB2154412DF5A0250D63F7E17BE2C44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_MortgageNotesPayableMember_8092A3833592B34680573F7E17BE112F" xlink:to="loc_good_NewMortgageNotesPayableMember_3AB2154412DF5A0250D63F7E17BE2C44" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FixedRateMortgageLoansMember" xlink:label="loc_good_FixedRateMortgageLoansMember_AB0908FC5EA7B39825583F7E17BEED2E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_MortgageNotesPayableMember_8092A3833592B34680573F7E17BE112F" xlink:to="loc_good_FixedRateMortgageLoansMember_AB0908FC5EA7B39825583F7E17BEED2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_52EA8A586DEE3B7F8F183F7E17BE3335" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_CreditFacilityAxis_52EA8A586DEE3B7F8F183F7E17BE3335" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_52EA8A586DEE3B7F8F183F7E17BE3335" xlink:to="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_52EA8A586DEE3B7F8F183F7E17BE3335" xlink:to="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditMember" xlink:label="loc_us-gaap_LineOfCreditMember_F62C226744C065CA6E2B3F7E17BF99F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF" xlink:to="loc_us-gaap_LineOfCreditMember_F62C226744C065CA6E2B3F7E17BF99F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_99CAD7980AF8DA0054AB3F7E17BFE64F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_C12EC74DA26A0979CBF63F7E17BEE0DF" xlink:to="loc_us-gaap_LetterOfCreditMember_99CAD7980AF8DA0054AB3F7E17BFE64F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_3935EAA31AB292AD53CB3F7E17BFFC2F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_75F917BC94C18BE7CC9B3F7E17B93666" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_3935EAA31AB292AD53CB3F7E17BFFC2F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3935EAA31AB292AD53CB3F7E17BFFC2F" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_3935EAA31AB292AD53CB3F7E17BFFC2F" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TermLoanFacilityMember" xlink:label="loc_good_TermLoanFacilityMember_29FF1F74516BF8DD2FDF3F7E17BF9A11" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B" xlink:to="loc_good_TermLoanFacilityMember_29FF1F74516BF8DD2FDF3F7E17BF9A11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_8C9869B56105FA1DD4993F7E17C06A22" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_7080B50EC656DF5297CD3F7E17BF911B" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_8C9869B56105FA1DD4993F7E17C06A22" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfMortgageNotesPayable" xlink:label="loc_good_NumberOfMortgageNotesPayable_D37CCE7B9C486F3BD2F83F7E17C08416" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_NumberOfMortgageNotesPayable_D37CCE7B9C486F3BD2F83F7E17C08416" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfExistingEncumberedProperties" xlink:label="loc_good_NumberOfExistingEncumberedProperties_AE7E19978318016009EE3F7E17C098B0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_NumberOfExistingEncumberedProperties_AE7E19978318016009EE3F7E17C098B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MortgageLoansOnRealEstateFaceAmountOfMortgages" xlink:label="loc_srt_MortgageLoansOnRealEstateFaceAmountOfMortgages_D01269B8B0310F52211F3F7E17C15B8D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_srt_MortgageLoansOnRealEstateFaceAmountOfMortgages_D01269B8B0310F52211F3F7E17C15B8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCollateralAmount" xlink:label="loc_us-gaap_DebtInstrumentCollateralAmount_54419448C14823B317573F7E17C108B5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentCollateralAmount_54419448C14823B317573F7E17C108B5" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DebtInstrumentCollateralPercentage" xlink:label="loc_good_DebtInstrumentCollateralPercentage_D356941A02219108A8B03F7E17C10258" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_DebtInstrumentCollateralPercentage_D356941A02219108A8B03F7E17C10258" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfLongTermMortgagesRepaid" xlink:label="loc_good_NumberOfLongTermMortgagesRepaid_6097E3CA3B93D83F257A3F7E17C19AD9" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_NumberOfLongTermMortgagesRepaid_6097E3CA3B93D83F257A3F7E17C19AD9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofPropertiesRepaidToCollateralizedMortgageNotesPayable" xlink:label="loc_good_NumberofPropertiesRepaidToCollateralizedMortgageNotesPayable_76B276A3E785B2B72C0D3F7E17C13B1E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_NumberofPropertiesRepaidToCollateralizedMortgageNotesPayable_76B276A3E785B2B72C0D3F7E17C13B1E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_2E39A6D9070734618A933F7E17C18730" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_2E39A6D9070734618A933F7E17C18730" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_531ACC916B1A2BFA1CE53F7E17C2DCA3" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_531ACC916B1A2BFA1CE53F7E17C2DCA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="loc_us-gaap_PaymentsOfFinancingCosts_98FC5678D84C99F2FE0E3F7E17C2A678" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_PaymentsOfFinancingCosts_98FC5678D84C99F2FE0E3F7E17C2A678" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NotesPayableFairValueDisclosure" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_AD28CF90F17BBD908B1C3F7E17C2756C" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_AD28CF90F17BBD908B1C3F7E17C2756C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_7B1B5C8AF0D376B1E9D93F7E17C25FF4" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_7B1B5C8AF0D376B1E9D93F7E17C25FF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_5383274E1CBF5EB487A93F7E17C29799" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_5383274E1CBF5EB487A93F7E17C29799" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_450CDC37C9307BBE77533F7E17C280A6" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentTerm_450CDC37C9307BBE77533F7E17C280A6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LineOfCreditFacilityPercentageOfExtensionFeeOnInitialMaturity" xlink:label="loc_good_LineOfCreditFacilityPercentageOfExtensionFeeOnInitialMaturity_3372B27F7BF540C034473F7E17C340EB" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_good_LineOfCreditFacilityPercentageOfExtensionFeeOnInitialMaturity_3372B27F7BF540C034473F7E17C340EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B152B751794DD0CF0CFF3F7E17C3F883" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_B152B751794DD0CF0CFF3F7E17C3F883" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentFeeAmount" xlink:label="loc_us-gaap_DebtInstrumentFeeAmount_B26703A26FDC1FD988CD3F7E17C3A448" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtInstrumentFeeAmount_B26703A26FDC1FD988CD3F7E17C3A448" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_27799FF7862A724713B23F7E17C3EED0" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_LineOfCredit_27799FF7862A724713B23F7E17C3EED0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_20C2AD5676E5503154663F7E17C3CFFF" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateAtPeriodEnd_20C2AD5676E5503154663F7E17C3CFFF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_4F29624DE0F091ABB1033F7E17C3DF24" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_4F29624DE0F091ABB1033F7E17C3DF24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_7F9AA4A8349C367963143F7E17C337DA" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_7F9AA4A8349C367963143F7E17C337DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_4942C3DE437540FE1EFE3F7E17C47FDD" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_EEEDF763D6AEA8D368563F7E17C0CCD7" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_4942C3DE437540FE1EFE3F7E17C47FDD" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_BD64197AC7F51D82DA7C8B26A5DF8A8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:to="loc_us-gaap_DebtInstrumentAxis_BD64197AC7F51D82DA7C8B26A5DF8A8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_BD64197AC7F51D82DA7C8B26A5DF8A8E" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_BD64197AC7F51D82DA7C8B26A5DF8A8E" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FixedRateMortgageLoansMember" xlink:label="loc_good_FixedRateMortgageLoansMember_DB67DF98E798165DEAC38B26A5E0DEEB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:to="loc_good_FixedRateMortgageLoansMember_DB67DF98E798165DEAC38B26A5E0DEEB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MortgageNotesPayableMember" xlink:label="loc_good_MortgageNotesPayableMember_1119D550864C1FB768D68B26A5E02300" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:to="loc_good_MortgageNotesPayableMember_1119D550864C1FB768D68B26A5E02300" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateMortgagesMember" xlink:label="loc_good_VariableRateMortgagesMember_E43DF7E5C75BA2C8EAFF8B26A5E0729A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:to="loc_good_VariableRateMortgagesMember_E43DF7E5C75BA2C8EAFF8B26A5E0729A" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateLineofCreditMember" xlink:label="loc_good_VariableRateLineofCreditMember_453350B71464E3E601B58B26A5E00F59" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_6118D50809EC75CF87068B26A5E04FBC" xlink:to="loc_good_VariableRateLineofCreditMember_453350B71464E3E601B58B26A5E00F59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_DA7299A83A015AC94DAE8B26A5E1E3CC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:to="loc_srt_RangeAxis_DA7299A83A015AC94DAE8B26A5E1E3CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_DA7299A83A015AC94DAE8B26A5E1E3CC" xlink:to="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_DA7299A83A015AC94DAE8B26A5E1E3CC" xlink:to="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_001B0286E292D78D58618B26A5E1AAE8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197" xlink:to="loc_srt_MinimumMember_001B0286E292D78D58618B26A5E1AAE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_5933735BCA09594552E68B26A5E19DA4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C7A4DCDBAFA109CD42188B26A5E1E197" xlink:to="loc_srt_MaximumMember_5933735BCA09594552E68B26A5E19DA4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_7B3A2C7C09DBD11388058B26A5E17B69" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:to="loc_us-gaap_VariableRateAxis_7B3A2C7C09DBD11388058B26A5E17B69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4158BC4252A2B405B0FF8B26A5E28AF9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_7B3A2C7C09DBD11388058B26A5E17B69" xlink:to="loc_us-gaap_VariableRateDomain_4158BC4252A2B405B0FF8B26A5E28AF9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_4158BC4252A2B405B0FF8B26A5E28AF9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_7B3A2C7C09DBD11388058B26A5E17B69" xlink:to="loc_us-gaap_VariableRateDomain_4158BC4252A2B405B0FF8B26A5E28AF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_9A34CDFD563ACDBA7ADE8B26A5E24165" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_4158BC4252A2B405B0FF8B26A5E28AF9" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_9A34CDFD563ACDBA7ADE8B26A5E24165" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_B0BB4FAFFC1F0F2C4E088B26A5E262C3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_F123FDAC0F18B12925FB8B26A5DF1237" xlink:to="loc_us-gaap_CreditFacilityAxis_B0BB4FAFFC1F0F2C4E088B26A5E262C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_F7DA27022659A109079D8B26A5E262E8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_B0BB4FAFFC1F0F2C4E088B26A5E262C3" xlink:to="loc_us-gaap_CreditFacilityDomain_F7DA27022659A109079D8B26A5E262E8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_F7DA27022659A109079D8B26A5E262E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_B0BB4FAFFC1F0F2C4E088B26A5E262C3" xlink:to="loc_us-gaap_CreditFacilityDomain_F7DA27022659A109079D8B26A5E262E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_2ED51DBBB5FF06125E118B26A5E37FC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_F7DA27022659A109079D8B26A5E262E8" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_2ED51DBBB5FF06125E118B26A5E37FC5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_208E584C273BFB91D6618B26A5E33520" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_208E584C273BFB91D6618B26A5E33520" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfMortgageNotesPayable" xlink:label="loc_good_NumberOfMortgageNotesPayable_3C3C09C76E1EF7FF31788B26A5E3DBCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_good_NumberOfMortgageNotesPayable_3C3C09C76E1EF7FF31788B26A5E3DBCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentMaturityDateRangeStart1" xlink:label="loc_us-gaap_DebtInstrumentMaturityDateRangeStart1_9A78AAF68CF3858C504B8B26A5E3500D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtInstrumentMaturityDateRangeStart1_9A78AAF68CF3858C504B8B26A5E3500D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentMaturityDateRangeEnd1" xlink:label="loc_us-gaap_DebtInstrumentMaturityDateRangeEnd1_A19C7EC269F52E347BE28B26A5E44ED9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtInstrumentMaturityDateRangeEnd1_A19C7EC269F52E347BE28B26A5E44ED9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_199FF28B568EDB5D109B8B26A5E4B929" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_199FF28B568EDB5D109B8B26A5E4B929" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DebtInstrumentInterestRateVariableRateatPeriodEnd" xlink:label="loc_good_DebtInstrumentInterestRateVariableRateatPeriodEnd_F96F89A8F2D8046C0FB98B26A5E4FEC3" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_good_DebtInstrumentInterestRateVariableRateatPeriodEnd_F96F89A8F2D8046C0FB98B26A5E4FEC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_DB348D0A918E21C1F9718B26A5E4E2E7" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_DB348D0A918E21C1F9718B26A5E4E2E7" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfExistingEncumberedProperties" xlink:label="loc_good_NumberOfExistingEncumberedProperties_7D282414884D8682B3068B26A5E432F6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_2B8D348033F398B888DB8B26A5E3163D" xlink:to="loc_good_NumberOfExistingEncumberedProperties_7D282414884D8682B3068B26A5E432F6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityCompanysMortgageNotesPayableAndLineOfCreditDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_A17E2A136FAA4CFF814B247FF9238924" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DebtInstrumentTable_A17E2A136FAA4CFF814B247FF9238924" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_41ED17083723D492EA26247FF9232506" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_A17E2A136FAA4CFF814B247FF9238924" xlink:to="loc_us-gaap_DebtInstrumentAxis_41ED17083723D492EA26247FF9232506" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_41ED17083723D492EA26247FF9232506" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_41ED17083723D492EA26247FF9232506" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FixedRateMortgageLoansMember" xlink:label="loc_good_FixedRateMortgageLoansMember_E2BDB89345336D941AD2247FF923F074" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_FixedRateMortgageLoansMember_E2BDB89345336D941AD2247FF923F074" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateMortgagesMember" xlink:label="loc_good_VariableRateMortgagesMember_944A580817018B4DD637247FF92489D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_VariableRateMortgagesMember_944A580817018B4DD637247FF92489D7" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MortgageNotesPayableMember" xlink:label="loc_good_MortgageNotesPayableMember_7C1F7B0E54A8F783D6B6247FF9244A39" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_MortgageNotesPayableMember_7C1F7B0E54A8F783D6B6247FF9244A39" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateLineofCreditMember" xlink:label="loc_good_VariableRateLineofCreditMember_D319B0BE44756CBEBE44247FF924B865" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_VariableRateLineofCreditMember_D319B0BE44756CBEBE44247FF924B865" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateTermLoanFacilityMember" xlink:label="loc_good_VariableRateTermLoanFacilityMember_8B4E2A9804F22ADDEFAB247FF92589A8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_VariableRateTermLoanFacilityMember_8B4E2A9804F22ADDEFAB247FF92589A8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TermLoanFacilityMember" xlink:label="loc_good_TermLoanFacilityMember_566B19F7FDCD956150FF247FF925C564" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4E089680A2184C167A69247FF923E2B3" xlink:to="loc_good_TermLoanFacilityMember_566B19F7FDCD956150FF247FF925C564" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_FF63FC24C3E3C202B70A247FF92518EE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_A17E2A136FAA4CFF814B247FF9238924" xlink:to="loc_us-gaap_CreditFacilityAxis_FF63FC24C3E3C202B70A247FF92518EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_C9BB73D4DF69E1F3A178247FF925B768_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_FF63FC24C3E3C202B70A247FF92518EE" xlink:to="loc_us-gaap_CreditFacilityDomain_C9BB73D4DF69E1F3A178247FF925B768_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_C9BB73D4DF69E1F3A178247FF925B768" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_FF63FC24C3E3C202B70A247FF92518EE" xlink:to="loc_us-gaap_CreditFacilityDomain_C9BB73D4DF69E1F3A178247FF925B768" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_71ED2F8E6172F07A3874247FF9265B14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_C9BB73D4DF69E1F3A178247FF925B768" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_71ED2F8E6172F07A3874247FF9265B14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_AF1C607889145D0D8751247FF926FAAB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_A17E2A136FAA4CFF814B247FF9238924" xlink:to="loc_us-gaap_VariableRateAxis_AF1C607889145D0D8751247FF926FAAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_55D4EC397D638794CD2B247FF92634A6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_AF1C607889145D0D8751247FF926FAAB" xlink:to="loc_us-gaap_VariableRateDomain_55D4EC397D638794CD2B247FF92634A6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_55D4EC397D638794CD2B247FF92634A6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_AF1C607889145D0D8751247FF926FAAB" xlink:to="loc_us-gaap_VariableRateDomain_55D4EC397D638794CD2B247FF92634A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_8876CEDD3B81F440934D247FF926EC28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_55D4EC397D638794CD2B247FF92634A6" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_8876CEDD3B81F440934D247FF926EC28" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfExistingEncumberedProperties" xlink:label="loc_good_NumberOfExistingEncumberedProperties_7F8DF863D91308D81321247FF927D308" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_good_NumberOfExistingEncumberedProperties_7F8DF863D91308D81321247FF927D308" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_753317141F074225FEAE247FF927595D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_753317141F074225FEAE247FF927595D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_65804096635203347145247FF927BCAD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_65804096635203347145247FF927BCAD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_45638E97C39C883FE322247FF927ED6C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_45638E97C39C883FE322247FF927ED6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_F285CC819EE3D474C79B247FF9283F9B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_LongTermDebt_F285CC819EE3D474C79B247FF9283F9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_C548E8D236F8CF1DC74B247FF9282A02" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_C548E8D236F8CF1DC74B247FF9282A02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_B86863E9BDE889B590E9247FF9283F71" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_E12A99921160BC4CB923247FF9268241" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_B86863E9BDE889B590E9247FF9283F71" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityInterestRateCapAgreementDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_CCB4B934645BE8EDF7E68B26A7C6E285" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_CCB4B934645BE8EDF7E68B26A7C6E285" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C9AE10B3EFCCC6A9DF928B26A7C7B7D6_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_CCB4B934645BE8EDF7E68B26A7C6E285" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C9AE10B3EFCCC6A9DF928B26A7C7B7D6_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C9AE10B3EFCCC6A9DF928B26A7C7B7D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_CCB4B934645BE8EDF7E68B26A7C6E285" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C9AE10B3EFCCC6A9DF928B26A7C7B7D6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_A0D8B524BBC43E5E69D38B26A7C75DCE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_C9AE10B3EFCCC6A9DF928B26A7C7B7D6" xlink:to="loc_us-gaap_InterestRateSwapMember_A0D8B524BBC43E5E69D38B26A7C75DCE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_9BCDAB379A88D574AA048B26A7C8D88E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:to="loc_srt_RangeAxis_9BCDAB379A88D574AA048B26A7C8D88E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_9BCDAB379A88D574AA048B26A7C8D88E" xlink:to="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_9BCDAB379A88D574AA048B26A7C8D88E" xlink:to="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_ECE051FFF9870A1D3E758B26A7C85819" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802" xlink:to="loc_srt_MinimumMember_ECE051FFF9870A1D3E758B26A7C85819" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_50D2C6EF7F9FD6EF17348B26A7C82315" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_C0AB4FA307EC5CBCE6CF8B26A7C8D802" xlink:to="loc_srt_MaximumMember_50D2C6EF7F9FD6EF17348B26A7C82315" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_6B9704B16DE9785D3A2D8B26A7C9519F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:to="loc_us-gaap_VariableRateAxis_6B9704B16DE9785D3A2D8B26A7C9519F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_9E846398B3509FDA4A488B26A7C9B579_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_6B9704B16DE9785D3A2D8B26A7C9519F" xlink:to="loc_us-gaap_VariableRateDomain_9E846398B3509FDA4A488B26A7C9B579_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_9E846398B3509FDA4A488B26A7C9B579" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_6B9704B16DE9785D3A2D8B26A7C9519F" xlink:to="loc_us-gaap_VariableRateDomain_9E846398B3509FDA4A488B26A7C9B579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_E862EA2D33FF2B850EFA8B26A7C972DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_9E846398B3509FDA4A488B26A7C9B579" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_E862EA2D33FF2B850EFA8B26A7C972DC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis" xlink:label="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_F78530D53F2573B8719C8B26A7C917BF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_099B551EBBFEFA875A528B26A7C64657" xlink:to="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_F78530D53F2573B8719C8B26A7C917BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C05E3574AC853E29E1678B26A7C92290_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_F78530D53F2573B8719C8B26A7C917BF" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C05E3574AC853E29E1678B26A7C92290_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LegalEntityTypeOfCounterpartyDomain" xlink:label="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C05E3574AC853E29E1678B26A7C92290" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AccountsNotesLoansAndFinancingReceivablesByLegalEntityOfCounterpartyTypeAxis_F78530D53F2573B8719C8B26A7C917BF" xlink:to="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C05E3574AC853E29E1678B26A7C92290" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IndividualMember" xlink:label="loc_us-gaap_IndividualMember_32F7CCAE462CB56390398B26A7CA84AA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LegalEntityTypeOfCounterpartyDomain_C05E3574AC853E29E1678B26A7C92290" xlink:to="loc_us-gaap_IndividualMember_32F7CCAE462CB56390398B26A7CA84AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeCostOfHedge" xlink:label="loc_us-gaap_DerivativeCostOfHedge_8E0E1DB0C4E99F7CD28B8B26A7CA2242" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_us-gaap_DerivativeCostOfHedge_8E0E1DB0C4E99F7CD28B8B26A7CA2242" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_AA72F3274BCCBC3B7C5E8B26A7CB6BA3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_invest_DerivativeNotionalAmount_AA72F3274BCCBC3B7C5E8B26A7CB6BA3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateFairValueHedgeDerivativeAtFairValueNet" xlink:label="loc_us-gaap_InterestRateFairValueHedgeDerivativeAtFairValueNet_B0951962DA5E2E81ED878B26A7CB06E5" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_us-gaap_InterestRateFairValueHedgeDerivativeAtFairValueNet_B0951962DA5E2E81ED878B26A7CB06E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue" xlink:label="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_0BB8BF2160B95F48EF668B26A7CB1275" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_us-gaap_InterestRateCashFlowHedgeLiabilityAtFairValue_0BB8BF2160B95F48EF668B26A7CB1275" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeCapInterestRate" xlink:label="loc_us-gaap_DerivativeCapInterestRate_FAE1863178E9C9F80B5C8B26A7CB1608" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_6A07AC7976B45ABBA5268B26A7CA4DDA" xlink:to="loc_us-gaap_DerivativeCapInterestRate_FAE1863178E9C9F80B5C8B26A7CB1608" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityMortgagesNotesPayableDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_1DC58306A5D377319B4A3DDB9C3180F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_1DC58306A5D377319B4A3DDB9C3180F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C7B5D1F0B40CF26AB7223DDB9C328C3A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1DC58306A5D377319B4A3DDB9C3180F5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C7B5D1F0B40CF26AB7223DDB9C328C3A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_C7B5D1F0B40CF26AB7223DDB9C328C3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1DC58306A5D377319B4A3DDB9C3180F5" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_C7B5D1F0B40CF26AB7223DDB9C328C3A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MortgagesMember" xlink:label="loc_us-gaap_MortgagesMember_5809956F2275FBE12D2A3DDB9C324702" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_C7B5D1F0B40CF26AB7223DDB9C328C3A" xlink:to="loc_us-gaap_MortgagesMember_5809956F2275FBE12D2A3DDB9C324702" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_AD138F17CEC727E8BAD33DDB9C325928" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_AD138F17CEC727E8BAD33DDB9C325928" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_DA770472586F51410C373DDB9C33CFB8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_AD138F17CEC727E8BAD33DDB9C325928" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_DA770472586F51410C373DDB9C33CFB8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_DA770472586F51410C373DDB9C33CFB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_AD138F17CEC727E8BAD33DDB9C325928" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_DA770472586F51410C373DDB9C33CFB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_19ED25B7D3C1D81DA4CA3DDB9C33FD58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_DA770472586F51410C373DDB9C33CFB8" xlink:to="loc_us-gaap_InterestRateSwapMember_19ED25B7D3C1D81DA4CA3DDB9C33FD58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_1EC930F85A6F8F8611663DDB9C38FCFB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_us-gaap_DebtInstrumentAxis_1EC930F85A6F8F8611663DDB9C38FCFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_1EC930F85A6F8F8611663DDB9C38FCFB" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_1EC930F85A6F8F8611663DDB9C38FCFB" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateMortgagesMember" xlink:label="loc_good_VariableRateMortgagesMember_EC081FC905DA6EF21FC73DDB9C39AB5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:to="loc_good_VariableRateMortgagesMember_EC081FC905DA6EF21FC73DDB9C39AB5F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FixedRateMortgageLoansMember" xlink:label="loc_good_FixedRateMortgageLoansMember_F3868739FDE642C896B83DDB9C390E14" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:to="loc_good_FixedRateMortgageLoansMember_F3868739FDE642C896B83DDB9C390E14" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NewFixedRateMortgageNotesPayableMember" xlink:label="loc_good_NewFixedRateMortgageNotesPayableMember_7B6D4E45AF1128D1729A3DDB9C39FB09" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:to="loc_good_NewFixedRateMortgageNotesPayableMember_7B6D4E45AF1128D1729A3DDB9C39FB09" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VariableRateMortgageLoansDebtExtendedMember" xlink:label="loc_good_VariableRateMortgageLoansDebtExtendedMember_4C1C05BC0C14412BF4D03DDB9C39F927" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:to="loc_good_VariableRateMortgageLoansDebtExtendedMember_4C1C05BC0C14412BF4D03DDB9C39F927" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MortgageNotesPayableMember" xlink:label="loc_good_MortgageNotesPayableMember_10A745699E1A6C8C834A3DDB9C3A6585" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_27068A80476083B03BE13DDB9C3891FB" xlink:to="loc_good_MortgageNotesPayableMember_10A745699E1A6C8C834A3DDB9C3A6585" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateAxis" xlink:label="loc_us-gaap_VariableRateAxis_1B4FFAD3581A60EE31723DDB9C3AD4E4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_us-gaap_VariableRateAxis_1B4FFAD3581A60EE31723DDB9C3AD4E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableRateAxis_1B4FFAD3581A60EE31723DDB9C3AD4E4" xlink:to="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_VariableRateDomain" xlink:label="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableRateAxis_1B4FFAD3581A60EE31723DDB9C3AD4E4" xlink:to="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LondonInterbankOfferedRateLIBORMember" xlink:label="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2477C28E2A1C13833F613DDB9C3AA164" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9" xlink:to="loc_us-gaap_LondonInterbankOfferedRateLIBORMember_2477C28E2A1C13833F613DDB9C3AA164" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UsTreasuryUstInterestRateMember" xlink:label="loc_us-gaap_UsTreasuryUstInterestRateMember_07D2EDAB0093FD9FA6813DF5E11BBED5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableRateDomain_BC80A05F55AA0825BDE63DDB9C3A63D9" xlink:to="loc_us-gaap_UsTreasuryUstInterestRateMember_07D2EDAB0093FD9FA6813DF5E11BBED5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_C610DFFE563D00CF3C5C3DDB9C3B345F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_srt_RangeAxis_C610DFFE563D00CF3C5C3DDB9C3B345F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_8E605FA819E12F214CE53DDB9C3B7EFA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_C610DFFE563D00CF3C5C3DDB9C3B345F" xlink:to="loc_srt_RangeMember_8E605FA819E12F214CE53DDB9C3B7EFA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_8E605FA819E12F214CE53DDB9C3B7EFA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_C610DFFE563D00CF3C5C3DDB9C3B345F" xlink:to="loc_srt_RangeMember_8E605FA819E12F214CE53DDB9C3B7EFA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember_DF550C85989163D8B8E13DDB9C3B6BE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_8E605FA819E12F214CE53DDB9C3B7EFA" xlink:to="loc_srt_WeightedAverageMember_DF550C85989163D8B8E13DDB9C3B6BE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_BBDE25DB6CA5F00EDE633DDB9C3C7E17" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_7F87B9F1231896646A323DDB9C31DDE5" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_BBDE25DB6CA5F00EDE633DDB9C3C7E17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_BBDE25DB6CA5F00EDE633DDB9C3C7E17" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_BBDE25DB6CA5F00EDE633DDB9C3C7E17" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PropertyMaturingFebruary82029Member" xlink:label="loc_good_PropertyMaturingFebruary82029Member_C78F195F5195D3ED46563DDB9C3CC247" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC" xlink:to="loc_good_PropertyMaturingFebruary82029Member_C78F195F5195D3ED46563DDB9C3CC247" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PropertyMaturingJune12024Member" xlink:label="loc_good_PropertyMaturingJune12024Member_51CA50272ADA31815D9C3DDB9C3CB552" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC" xlink:to="loc_good_PropertyMaturingJune12024Member_51CA50272ADA31815D9C3DDB9C3CB552" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PropertyMaturingJune182024Member" xlink:label="loc_good_PropertyMaturingJune182024Member_01A0EEC589798554719B3DDB9C3D2138" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_C3C5DA5CFDB8C26A68733DDB9C3C86DC" xlink:to="loc_good_PropertyMaturingJune182024Member_01A0EEC589798554719B3DDB9C3D2138" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfSecuredDebt" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_729969ED9B66AF5DE39B3DDB9C3DD261" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_729969ED9B66AF5DE39B3DDB9C3DD261" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentBasisSpreadOnVariableRate1" xlink:label="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_52A054A521CC8340EC763DDB9C3D2E56" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_DebtInstrumentBasisSpreadOnVariableRate1_52A054A521CC8340EC763DDB9C3D2E56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_5CC2B4BCBDAEDDD68E603DDB9C3D9606" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_5CC2B4BCBDAEDDD68E603DDB9C3D9606" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTerm" xlink:label="loc_us-gaap_DebtInstrumentTerm_7C2808C588429E31F7323DDB9C3E68F7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_DebtInstrumentTerm_7C2808C588429E31F7323DDB9C3E68F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_9C2F57B819519566EDDC3DDB9C3E2E6F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_9C2F57B819519566EDDC3DDB9C3E2E6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongtermDebtPercentageBearingVariableInterestAmount" xlink:label="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_DC9DCBDA89FB1EB41D053DDB9C3E86A6" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_us-gaap_LongtermDebtPercentageBearingVariableInterestAmount_DC9DCBDA89FB1EB41D053DDB9C3E86A6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfPropertiesAcquired" xlink:label="loc_good_NumberOfPropertiesAcquired_47102CDE275B382727003DDB9C3F97E8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_good_NumberOfPropertiesAcquired_47102CDE275B382727003DDB9C3F97E8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofLongTermMortgagesMaturitiesExtended" xlink:label="loc_good_NumberofLongTermMortgagesMaturitiesExtended_2759AA8992EB467506AE3DDB9C3FF64D" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_good_NumberofLongTermMortgagesMaturitiesExtended_2759AA8992EB467506AE3DDB9C3FF64D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofPropertiesthatCollateralizeMortgageNotesPayable" xlink:label="loc_good_NumberofPropertiesthatCollateralizeMortgageNotesPayable_5ADF3B82EB078D9BCCAB3DDB9C3FCA89" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_08500F4B625DD557EF053DDB9C3D70EB" xlink:to="loc_good_NumberofPropertiesthatCollateralizeMortgageNotesPayable_5ADF3B82EB078D9BCCAB3DDB9C3FCA89" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsImpactDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_A1A1DFCE5333575F07358B26A5FA6B92" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_8B446E918DB5373720038B26A5F8B642" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_A1A1DFCE5333575F07358B26A5FA6B92" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_8B446E918DB5373720038B26A5F8B642" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9E7F01C0888E873802978B26A5F8237C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_8B446E918DB5373720038B26A5F8B642" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9E7F01C0888E873802978B26A5F8237C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9E7F01C0888E873802978B26A5F8237C" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9E7F01C0888E873802978B26A5F8237C" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateCapMember" xlink:label="loc_us-gaap_InterestRateCapMember_1DE63D3EFD9C2CF3EA388B26A5F9D6B8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1" xlink:to="loc_us-gaap_InterestRateCapMember_1DE63D3EFD9C2CF3EA388B26A5F9D6B8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_3BE8514721A1D48147108B26A5FAF053" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_42D1ABD35DD49AF62CA18B26A5F9E9F1" xlink:to="loc_us-gaap_InterestRateSwapMember_3BE8514721A1D48147108B26A5FAF053" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_25F8B07DE32C1A02210E8B26A5FA5A2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_A1A1DFCE5333575F07358B26A5FA6B92" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_25F8B07DE32C1A02210E8B26A5FA5A2D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduleOfDerivativeInstrumentsInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_CEF5F0C46A374036122742B69F6D3B57" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_7697C31C68ACA9C60D6542B69F6A1EFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_CEF5F0C46A374036122742B69F6D3B57" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_7697C31C68ACA9C60D6542B69F6A1EFD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F1DAB7F34C05457E789542B69F6B4692" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_7697C31C68ACA9C60D6542B69F6A1EFD" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F1DAB7F34C05457E789542B69F6B4692" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F1DAB7F34C05457E789542B69F6B4692" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F1DAB7F34C05457E789542B69F6B4692" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateCapMember" xlink:label="loc_us-gaap_InterestRateCapMember_DA6807D00BD277DA88ED42B69F6BDD4D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E" xlink:to="loc_us-gaap_InterestRateCapMember_DA6807D00BD277DA88ED42B69F6BDD4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_E8402844F94C842C1C0442B69F6B1FE6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_CFE5BA1133051564A5CE42B69F6B820E" xlink:to="loc_us-gaap_InterestRateSwapMember_E8402844F94C842C1C0442B69F6B1FE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_A86FA7AABCEDA1F3F0B442B69F6CCF07" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_7697C31C68ACA9C60D6542B69F6A1EFD" xlink:to="loc_us-gaap_HedgingDesignationAxis_A86FA7AABCEDA1F3F0B442B69F6CCF07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_A86FA7AABCEDA1F3F0B442B69F6CCF07" xlink:to="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_A86FA7AABCEDA1F3F0B442B69F6CCF07" xlink:to="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_B6DB6B192411E8FC635142B69F6CCD9D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_B6DB6B192411E8FC635142B69F6CCD9D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_A297A5CE3463D7DC8D4E42B69F6D11F2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_B51322BDAC4899BEB5D642B69F6CE559" xlink:to="loc_us-gaap_NondesignatedMember_A297A5CE3463D7DC8D4E42B69F6D11F2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_A7C1B7F4A928B4ED38CA42B69F6D7146" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_CEF5F0C46A374036122742B69F6D3B57" xlink:to="loc_us-gaap_DerivativeAssets_A7C1B7F4A928B4ED38CA42B69F6D7146" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_14E1F2542E34CE74325942B69F7219A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_CEF5F0C46A374036122742B69F6D3B57" xlink:to="loc_us-gaap_DerivativeLiabilities_14E1F2542E34CE74325942B69F7219A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet" xlink:label="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_77E349F4FBAE6469B40A42B69F73E42B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_CEF5F0C46A374036122742B69F6D3B57" xlink:to="loc_us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet_77E349F4FBAE6469B40A42B69F73E42B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityScheduledPrincipalPaymentsOfMortgageNotesPayableDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_EFE0339EF5C2BCD05F41C2B4340AC82C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_DebtInstrumentTable_EFE0339EF5C2BCD05F41C2B4340AC82C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_59665ACEEBD21307E568C2B4340A0E99" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_EFE0339EF5C2BCD05F41C2B4340AC82C" xlink:to="loc_us-gaap_DebtInstrumentAxis_59665ACEEBD21307E568C2B4340A0E99" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1951EA5CF9D9F7597109C2B4340A84FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_59665ACEEBD21307E568C2B4340A0E99" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1951EA5CF9D9F7597109C2B4340A84FD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_1951EA5CF9D9F7597109C2B4340A84FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_59665ACEEBD21307E568C2B4340A0E99" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_1951EA5CF9D9F7597109C2B4340A84FD" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MortgageNotesPayableMember" xlink:label="loc_good_MortgageNotesPayableMember_FB3C4BB9E259FD68457FC2B4340BBF14" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_1951EA5CF9D9F7597109C2B4340A84FD" xlink:to="loc_good_MortgageNotesPayableMember_FB3C4BB9E259FD68457FC2B4340BBF14" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_11698E7F0ABD395AE834C2B4340B5DBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_11698E7F0ABD395AE834C2B4340B5DBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_671BB566995F45C28098C2B4340BC05B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_671BB566995F45C28098C2B4340BC05B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_AB5E11DB3C4011563FD7C2B4340CAA71" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_AB5E11DB3C4011563FD7C2B4340CAA71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_959AE2C0C6F54877BF1DC2B4340CB040" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_959AE2C0C6F54877BF1DC2B4340CB040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_87AE9951E26FE144F813C2B43411F16E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_87AE9951E26FE144F813C2B43411F16E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix" xlink:label="loc_good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix_00E7BE6171B1135FF6C1C2B43412BCA5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_good_LongtermDebtMaturitiesRepaymentsofPrincipalinYearSix_00E7BE6171B1135FF6C1C2B43412BCA5" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix" xlink:label="loc_good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix_E7DB0118648E0AD9063DC2B4341291D0" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_good_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearSix_E7DB0118648E0AD9063DC2B4341291D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_2EEEF61100878011E284C2B434121589" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_2EEEF61100878011E284C2B434121589" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_7C2DBF1ADF67B771F9C0C2B43412BCC7" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_7C2DBF1ADF67B771F9C0C2B43412BCC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredFinanceCostsNet" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_88211909C11D301A0396C2B43412A9F1" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_12530D477A0BA0137DFFC2B4340B0207" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_88211909C11D301A0396C2B43412A9F1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/MortgageNotesPayableAndCreditFacilityTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_A32FB8DFA4F3662F876B3DDB9E43F4CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_A32FB8DFA4F3662F876B3DDB9E43F4CE" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C1BE484FDA3402D6FCD73DDB9E44100D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_A32FB8DFA4F3662F876B3DDB9E43F4CE" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C1BE484FDA3402D6FCD73DDB9E44100D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_0352306A46DE38BF34CB3DDB9E44AAE1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C1BE484FDA3402D6FCD73DDB9E44100D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_0352306A46DE38BF34CB3DDB9E44AAE1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_0352306A46DE38BF34CB3DDB9E44AAE1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_C1BE484FDA3402D6FCD73DDB9E44100D" xlink:to="loc_us-gaap_TypeOfAdoptionMember_0352306A46DE38BF34CB3DDB9E44AAE1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_D70861453F9B7AF54FE83DDB9E44D7A2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_0352306A46DE38BF34CB3DDB9E44AAE1" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_D70861453F9B7AF54FE83DDB9E44D7A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_015116DB1BAF362F63023DDB9E443D6A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_A32FB8DFA4F3662F876B3DDB9E43F4CE" xlink:to="loc_srt_RangeAxis_015116DB1BAF362F63023DDB9E443D6A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_015116DB1BAF362F63023DDB9E443D6A" xlink:to="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_015116DB1BAF362F63023DDB9E443D6A" xlink:to="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_E617CD89F1368519A59A3DDB9E456EC6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4" xlink:to="loc_srt_MinimumMember_E617CD89F1368519A59A3DDB9E456EC6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_B98DB2CE06B2E95507093DDB9E45ED24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_58EF7F77213907A15EAD3DDB9E4538E4" xlink:to="loc_srt_MaximumMember_B98DB2CE06B2E95507093DDB9E45ED24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_5294550660F30BCF223D3DDB9E471B6E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_5294550660F30BCF223D3DDB9E471B6E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_8848C45CA1FEB60C361E3DDB9E47CA72" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_us-gaap_OperatingLeaseLiability_8848C45CA1FEB60C361E3DDB9E47CA72" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseNumberofOperatingLeaseArrangements" xlink:label="loc_good_LesseeOperatingLeaseNumberofOperatingLeaseArrangements_7B2CE9275EADDDE5C7893DDB9E47B55B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseNumberofOperatingLeaseArrangements_7B2CE9275EADDDE5C7893DDB9E47B55B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseDiscountRateBasisSpreadOnVariableRate" xlink:label="loc_good_LesseeOperatingLeaseDiscountRateBasisSpreadOnVariableRate_A101BF9C8CF045017A4B3DDB9E4DDB9F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseDiscountRateBasisSpreadOnVariableRate_A101BF9C8CF045017A4B3DDB9E4DDB9F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseFixedRentalChargesNumberofOperatingLeaseArrangements" xlink:label="loc_good_LesseeOperatingLeaseFixedRentalChargesNumberofOperatingLeaseArrangements_EC000DF70FEDA3F296C43E25777EFC58" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseFixedRentalChargesNumberofOperatingLeaseArrangements_EC000DF70FEDA3F296C43E25777EFC58" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseVariableChargesNumberofOperatingLeaseArrangements" xlink:label="loc_good_LesseeOperatingLeaseVariableChargesNumberofOperatingLeaseArrangements_497BAF4676BEA1A6C1913E26180BA13E" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseVariableChargesNumberofOperatingLeaseArrangements_497BAF4676BEA1A6C1913E26180BA13E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseOptiontoExtendNumberofOperatingLeaseArrangements" xlink:label="loc_good_LesseeOperatingLeaseOptiontoExtendNumberofOperatingLeaseArrangements_E7D93B4EFB9B500EE1D03E26C895349F" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseOptiontoExtendNumberofOperatingLeaseArrangements_E7D93B4EFB9B500EE1D03E26C895349F" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LesseeOperatingLeaseEarlyTerminationOptionNumberofOperatingLeaseArrangements" xlink:label="loc_good_LesseeOperatingLeaseEarlyTerminationOptionNumberofOperatingLeaseArrangements_9D0E65F08B6EB200DFD43E27714AA3B0" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_C6060A4B6C4BF8F0ED783DDB9E476B8A" xlink:to="loc_good_LesseeOperatingLeaseEarlyTerminationOptionNumberofOperatingLeaseArrangements_9D0E65F08B6EB200DFD43E27714AA3B0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/OrganizationBasisOfPresentationAndSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesLineItems" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_1EB677CC5F10AD8C5C628B26A7EEE34A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_1EB677CC5F10AD8C5C628B26A7EEE34A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E0209142DE49602400E48B26A7EFCF2B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_1EB677CC5F10AD8C5C628B26A7EEE34A" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E0209142DE49602400E48B26A7EFCF2B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_64A13FF16BAD45DA1AE08B26A7EFE6F0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E0209142DE49602400E48B26A7EFCF2B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_64A13FF16BAD45DA1AE08B26A7EFE6F0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_64A13FF16BAD45DA1AE08B26A7EFE6F0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E0209142DE49602400E48B26A7EFCF2B" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_64A13FF16BAD45DA1AE08B26A7EFE6F0" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BuildingAndTenantImprovementsMember" xlink:label="loc_good_BuildingAndTenantImprovementsMember_8F6DE53C87307F19D1D18B26A7EFA615" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_64A13FF16BAD45DA1AE08B26A7EFE6F0" xlink:to="loc_good_BuildingAndTenantImprovementsMember_8F6DE53C87307F19D1D18B26A7EFA615" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CCDBF68D95643C2397BD8B26A7EF7731" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_1EB677CC5F10AD8C5C628B26A7EEE34A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CCDBF68D95643C2397BD8B26A7EF7731" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C157A2FA99C3B7C31378B26A7F0F2FE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CCDBF68D95643C2397BD8B26A7EF7731" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C157A2FA99C3B7C31378B26A7F0F2FE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C157A2FA99C3B7C31378B26A7F0F2FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_CCDBF68D95643C2397BD8B26A7EF7731" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C157A2FA99C3B7C31378B26A7F0F2FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AboveMarketLeasesMember" xlink:label="loc_us-gaap_AboveMarketLeasesMember_5C6CBA887B4D4E56E8878B26A7F05168" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C157A2FA99C3B7C31378B26A7F0F2FE" xlink:to="loc_us-gaap_AboveMarketLeasesMember_5C6CBA887B4D4E56E8878B26A7F05168" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_46DB43093F6E285D3BA98B26A7F060D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_us-gaap_Depreciation_46DB43093F6E285D3BA98B26A7F060D4" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfPropertiesAcquired" xlink:label="loc_good_NumberOfPropertiesAcquired_3AAD67E45A116E7D08138B26A7F19702" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_good_NumberOfPropertiesAcquired_3AAD67E45A116E7D08138B26A7F19702" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfLeasedProperties" xlink:label="loc_good_NumberOfLeasedProperties_90DE5C5CC3BEDB9E638B8B26A7F1CDC8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_good_NumberOfLeasedProperties_90DE5C5CC3BEDB9E638B8B26A7F1CDC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_E64DBBC599611AB134908B26A7F173F3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_E64DBBC599611AB134908B26A7F173F3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfLeasedAsset" xlink:label="loc_us-gaap_AmortizationOfLeasedAsset_320A06EAB03C7D1995A98B26A7F1B415" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_us-gaap_AmortizationOfLeasedAsset_320A06EAB03C7D1995A98B26A7F1B415" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfBelowMarketLease" xlink:label="loc_us-gaap_AmortizationOfBelowMarketLease_A6C2C5F1361C1B1EAAB48B26A7F1DA6A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_75A60E40AFDE8B149D248B26A7F0ED15" xlink:to="loc_us-gaap_AmortizationOfBelowMarketLease_A6C2C5F1361C1B1EAAB48B26A7F1DA6A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsBusinessCombinationsAndAssetAcquisitionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_E1AD40207F5A1E6A0D4742B6A15AF0ED" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_5230196D979B2B16DE0942B6A1574F2A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E1AD40207F5A1E6A0D4742B6A15AF0ED" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_5230196D979B2B16DE0942B6A1574F2A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E19F593A2BA045D7AD8F42B6A1575861" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_5230196D979B2B16DE0942B6A1574F2A" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E19F593A2BA045D7AD8F42B6A1575861" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E19F593A2BA045D7AD8F42B6A1575861" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_E19F593A2BA045D7AD8F42B6A1575861" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LandMember" xlink:label="loc_us-gaap_LandMember_7728810732A9AF3688B442B6A158CDFB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:to="loc_us-gaap_LandMember_7728810732A9AF3688B442B6A158CDFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_001CB251048A6577EB8B42B6A158109D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:to="loc_us-gaap_BuildingMember_001CB251048A6577EB8B42B6A158109D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TenantImprovementMember" xlink:label="loc_good_TenantImprovementMember_060463D7B67A02E0F97342B6A15803EB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:to="loc_good_TenantImprovementMember_060463D7B67A02E0F97342B6A15803EB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_InPlaceLeasesMember" xlink:label="loc_good_InPlaceLeasesMember_206305AD2E346714C91D42B6A15974A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:to="loc_good_InPlaceLeasesMember_206305AD2E346714C91D42B6A15974A4" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeasingCostsMember" xlink:label="loc_good_LeasingCostsMember_321BC76EF13E1EF2A38E42B6A15931BC" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_BE9B773EBF4218E13E4942B6A1578576" xlink:to="loc_good_LeasingCostsMember_321BC76EF13E1EF2A38E42B6A15931BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1813DED92676C74D1FFF42B6A159DEF7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_5230196D979B2B16DE0942B6A1574F2A" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1813DED92676C74D1FFF42B6A159DEF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1813DED92676C74D1FFF42B6A159DEF7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_1813DED92676C74D1FFF42B6A159DEF7" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_EBA838D31F6B00B0CBBC42B6A1596175" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542" xlink:to="loc_us-gaap_CustomerRelationshipsMember_EBA838D31F6B00B0CBBC42B6A1596175" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AboveMarketLeasesMember" xlink:label="loc_us-gaap_AboveMarketLeasesMember_DE6E0D617436FB5C1EE742B6A15AB1B5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542" xlink:to="loc_us-gaap_AboveMarketLeasesMember_DE6E0D617436FB5C1EE742B6A15AB1B5" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BelowMarketLeaseMember" xlink:label="loc_good_BelowMarketLeaseMember_1EA77AF2443D231FAC0642B6A15AD1EE" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_9F056A0C80F7B5D0F45D42B6A159C542" xlink:to="loc_good_BelowMarketLeaseMember_1EA77AF2443D231FAC0642B6A15AD1EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueOfAssetsAcquired" xlink:label="loc_us-gaap_FairValueOfAssetsAcquired_56216CBB5C6AA5D378B842B6A15B29A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E1AD40207F5A1E6A0D4742B6A15AF0ED" xlink:to="loc_us-gaap_FairValueOfAssetsAcquired_56216CBB5C6AA5D378B842B6A15B29A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAssumed1" xlink:label="loc_us-gaap_LiabilitiesAssumed1_170508A62CF2FAEFEE5442B6A15B225E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E1AD40207F5A1E6A0D4742B6A15AF0ED" xlink:to="loc_us-gaap_LiabilitiesAssumed1_170508A62CF2FAEFEE5442B6A15B225E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PurchasePriceOfAcquiredProperty" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_0468821133EB65BBD14F42B6A15B8809" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_E1AD40207F5A1E6A0D4742B6A15AF0ED" xlink:to="loc_good_PurchasePriceOfAcquiredProperty_0468821133EB65BBD14F42B6A15B8809" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsCarryingValueOfIntangibleAssetsAndAccumulatedAmortizationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_25C3D3A0B3880EE13E8B8B26A8141FDF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_25C3D3A0B3880EE13E8B8B26A8141FDF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B125112652B267A65FB58B26A8143BEA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_25C3D3A0B3880EE13E8B8B26A8141FDF" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B125112652B267A65FB58B26A8143BEA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B125112652B267A65FB58B26A8143BEA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_B125112652B267A65FB58B26A8143BEA" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeaseIntangiblesMember" xlink:label="loc_good_LeaseIntangiblesMember_4CE37BE21096F4E4B7128B26A815209E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897" xlink:to="loc_good_LeaseIntangiblesMember_4CE37BE21096F4E4B7128B26A815209E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_InPlaceLeasesMember" xlink:label="loc_good_InPlaceLeasesMember_B3B96817DDC655199CBD8B26A815BAED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_LeaseIntangiblesMember_4CE37BE21096F4E4B7128B26A815209E" xlink:to="loc_good_InPlaceLeasesMember_B3B96817DDC655199CBD8B26A815BAED" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeasingCostsMember" xlink:label="loc_good_LeasingCostsMember_431A9043A41493A9825C8B26A81668B4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_LeaseIntangiblesMember_4CE37BE21096F4E4B7128B26A815209E" xlink:to="loc_good_LeasingCostsMember_431A9043A41493A9825C8B26A81668B4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_FB9378311699794CFB0B8B26A816225C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_LeaseIntangiblesMember_4CE37BE21096F4E4B7128B26A815209E" xlink:to="loc_us-gaap_CustomerRelationshipsMember_FB9378311699794CFB0B8B26A816225C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AboveAndBelowMarketLeasesMember" xlink:label="loc_good_AboveAndBelowMarketLeasesMember_CEDDFE2C2C7707E8EF658B26A816D56B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_0BC8E938FB3D37262D538B26A8153897" xlink:to="loc_good_AboveAndBelowMarketLeasesMember_CEDDFE2C2C7707E8EF658B26A816D56B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AboveMarketLeasesMember" xlink:label="loc_us-gaap_AboveMarketLeasesMember_0CC5A4647790D70697398B26A816D8DD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_good_AboveAndBelowMarketLeasesMember_CEDDFE2C2C7707E8EF658B26A816D56B" xlink:to="loc_us-gaap_AboveMarketLeasesMember_0CC5A4647790D70697398B26A816D8DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_11AEE0233A71225B8FD08B26A816D3BC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_11AEE0233A71225B8FD08B26A816D3BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3F9F3FE915180FB206D08B26A8175619" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_3F9F3FE915180FB206D08B26A8175619" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BelowMarketLeaseGross" xlink:label="loc_us-gaap_BelowMarketLeaseGross_6849B50CEF04C2636E948B26A8174194" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_us-gaap_BelowMarketLeaseGross_6849B50CEF04C2636E948B26A8174194" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BelowMarketLeaseAccumulatedAmortization" xlink:label="loc_us-gaap_BelowMarketLeaseAccumulatedAmortization_E34CB53FADC425F7F88F8B26A8178568" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_us-gaap_BelowMarketLeaseAccumulatedAmortization_E34CB53FADC425F7F88F8B26A8178568" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FiniteLivedIntangibleAssetsLiabilitiesGross" xlink:label="loc_good_FiniteLivedIntangibleAssetsLiabilitiesGross_F1DD9B3AE0B5AC8F08218B26A817D72B" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_good_FiniteLivedIntangibleAssetsLiabilitiesGross_F1DD9B3AE0B5AC8F08218B26A817D72B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization" xlink:label="loc_good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization_F21998F9DDC3C73F1EED8B26A817F14A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsLineItems_871F9B5171E4806D349D8B26A81664D0" xlink:to="loc_good_FiniteLivedIntangibleAssetsLiabilitiesAccumulatedAmortization_F21998F9DDC3C73F1EED8B26A817F14A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsComponentsOfInvestmentsInRealEstateDetail" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsRealEstateAndIntangibleAssetsFutureOperatingLeasePaymentsFromTenantsUnderNonCancelableLeasesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfAcquiredPropertiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_80872BEC179E8A1693572E6269B27296" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_80872BEC179E8A1693572E6269B27296" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_43F3A9B0F2ECF07769A52E62DE476E15" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_80872BEC179E8A1693572E6269B27296" xlink:to="loc_us-gaap_DebtInstrumentAxis_43F3A9B0F2ECF07769A52E62DE476E15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B1A577958FE851DB8F5B2E62DF87D64D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_43F3A9B0F2ECF07769A52E62DE476E15" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B1A577958FE851DB8F5B2E62DF87D64D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_B1A577958FE851DB8F5B2E62DF87D64D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_43F3A9B0F2ECF07769A52E62DE476E15" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_B1A577958FE851DB8F5B2E62DF87D64D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NewFixedRateMortgageNotesPayableMember" xlink:label="loc_good_NewFixedRateMortgageNotesPayableMember_F41A4BDD0B0482BA8C5A2E62DE6977AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_B1A577958FE851DB8F5B2E62DF87D64D" xlink:to="loc_good_NewFixedRateMortgageNotesPayableMember_F41A4BDD0B0482BA8C5A2E62DE6977AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_A7E014954A2C65E0E6C52E6269B2B4A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_80872BEC179E8A1693572E6269B27296" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_A7E014954A2C65E0E6C52E6269B2B4A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_A7E014954A2C65E0E6C52E6269B2B4A6" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain" xlink:label="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationDescriptionOfPropertyAxis_A7E014954A2C65E0E6C52E6269B2B4A6" xlink:to="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesofPropertyAcquisitionsMember" xlink:label="loc_good_SeriesofPropertyAcquisitionsMember_4A940C553D2C908D9A9E2E6269B3F0BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_SeriesofPropertyAcquisitionsMember_4A940C553D2C908D9A9E2E6269B3F0BA" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PhiladelphiaPennsylvaniaMember" xlink:label="loc_good_PhiladelphiaPennsylvaniaMember_472D2A1E4E25A025676D2E6269B39BE9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_PhiladelphiaPennsylvaniaMember_472D2A1E4E25A025676D2E6269B39BE9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IndianapolisIndianaMember" xlink:label="loc_good_IndianapolisIndianaMember_6E5D0670CF2E216282B52E6269B3BB1E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_IndianapolisIndianaMember_6E5D0670CF2E216282B52E6269B3BB1E" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_OcalaFloridaOneMember" xlink:label="loc_good_OcalaFloridaOneMember_B98AB014E2A27D22558E2E6269B3976A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_OcalaFloridaOneMember_B98AB014E2A27D22558E2E6269B3976A" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_OcalaFloridaTwoMember" xlink:label="loc_good_OcalaFloridaTwoMember_ADF796E10AFFFB00BF492E6269B4ACF2" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_OcalaFloridaTwoMember_ADF796E10AFFFB00BF492E6269B4ACF2" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_ColumbusOhioMember" xlink:label="loc_good_ColumbusOhioMember_653C6C54058EC58C438A2E6269B41215" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_ColumbusOhioMember_653C6C54058EC58C438A2E6269B41215" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TiftonGeorgiaMember" xlink:label="loc_good_TiftonGeorgiaMember_39520A099AD327057B582E6269B46457" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_TiftonGeorgiaMember_39520A099AD327057B582E6269B46457" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_VanceAlabamaMember" xlink:label="loc_good_VanceAlabamaMember_58A07B0B4173A2B325512E6269B42EB5" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RealEstateAndAccumulatedDepreciationNameOfPropertyDomain_B1B5BF6C9E92B3C2E5832E6269B3612A" xlink:to="loc_good_VanceAlabamaMember_58A07B0B4173A2B325512E6269B42EB5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="loc_us-gaap_AreaOfRealEstateProperty_539566BF8365EBBA36562E6269B4585B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_us-gaap_AreaOfRealEstateProperty_539566BF8365EBBA36562E6269B4585B" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeaseTermAvailableForLease" xlink:label="loc_good_LeaseTermAvailableForLease_5482F028FA06FFE6E2642E6269B50F19" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_good_LeaseTermAvailableForLease_5482F028FA06FFE6E2642E6269B50F19" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PurchasePriceOfAcquiredProperty" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_FCC439F17DD86706F2E42E6269B5B3EA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_good_PurchasePriceOfAcquiredProperty_FCC439F17DD86706F2E42E6269B5B3EA" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BusinessAcquisitionExpenses" xlink:label="loc_good_BusinessAcquisitionExpenses_626BCF43537EB025F4692E6269B54634" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_good_BusinessAcquisitionExpenses_626BCF43537EB025F4692E6269B54634" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AnnualizedStraightLineRent" xlink:label="loc_good_AnnualizedStraightLineRent_5E2C4A6935ACCE7F9AA32E6269B585B5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_good_AnnualizedStraightLineRent_5E2C4A6935ACCE7F9AA32E6269B585B5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_MortgageLoansOnRealEstateNewMortgageLoans" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateNewMortgageLoans_9B4CE6CD077E64906AC72EAC967BB762" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_us-gaap_MortgageLoansOnRealEstateNewMortgageLoans_9B4CE6CD077E64906AC72EAC967BB762" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_5DB9C2BCB88CA6BC6BC22E6353F51421" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_5DB9C2BCB88CA6BC6BC22E6353F51421" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_40A38D155B0594E568882E62DE354DA8" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EF9DA10B5F8747C201E12E6269B48602" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_40A38D155B0594E568882E62DE354DA8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsSummaryOfLeaseOnPropertyDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesLineItems" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_AEB12C0FD9907691AA932E62C2B39CBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_AEB12C0FD9907691AA932E62C2B39CBD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_E4D158E8F1EBC0C73F252E62C2B3869C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_AEB12C0FD9907691AA932E62C2B39CBD" xlink:to="loc_srt_RangeAxis_E4D158E8F1EBC0C73F252E62C2B3869C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_7C41207472BF9C64156B2E62C2B4D397_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_E4D158E8F1EBC0C73F252E62C2B3869C" xlink:to="loc_srt_RangeMember_7C41207472BF9C64156B2E62C2B4D397_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_7C41207472BF9C64156B2E62C2B4D397" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_E4D158E8F1EBC0C73F252E62C2B3869C" xlink:to="loc_srt_RangeMember_7C41207472BF9C64156B2E62C2B4D397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_WeightedAverageMember" xlink:label="loc_srt_WeightedAverageMember_98A36192B25BE45AED992E62C2B47441" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7C41207472BF9C64156B2E62C2B4D397" xlink:to="loc_srt_WeightedAverageMember_98A36192B25BE45AED992E62C2B47441" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AreaOfLeasedProperty" xlink:label="loc_good_AreaOfLeasedProperty_800DCFA300787BF458CE2E62C2B4F1F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_good_AreaOfLeasedProperty_800DCFA300787BF458CE2E62C2B4F1F1" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeaseTermAvailableForLease" xlink:label="loc_good_LeaseTermAvailableForLease_8C6BA44F4B0101C0484E2E62C2B58CE8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_good_LeaseTermAvailableForLease_8C6BA44F4B0101C0484E2E62C2B58CE8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AnnualizedStraightLineRentOnLeasedProperty" xlink:label="loc_good_AnnualizedStraightLineRentOnLeasedProperty_14896020BB8C50095FC72E62C2B59E4F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_good_AnnualizedStraightLineRentOnLeasedProperty_14896020BB8C50095FC72E62C2B59E4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForTenantImprovements" xlink:label="loc_us-gaap_PaymentsForTenantImprovements_356EC648AC6D7D2D6F4B2EA9C08AC78D" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_us-gaap_PaymentsForTenantImprovements_356EC648AC6D7D2D6F4B2EA9C08AC78D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForLeaseCommissions" xlink:label="loc_us-gaap_PaymentsForLeaseCommissions_5006AE7830DD646A6EA52E62C2B59AF8" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_3451BEC6DB9F2170962F2E62C2B41758" xlink:to="loc_us-gaap_PaymentsForLeaseCommissions_5006AE7830DD646A6EA52E62C2B59AF8" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateAndIntangibleAssetsWeightedAverageAmortizationPeriodForIntangibleAssetsAndLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_2EFC1D9720A52F0FB2AA2E62BBFC63E9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable" xlink:label="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_65D2845D83304FC500A62E62BBFAACA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_2EFC1D9720A52F0FB2AA2E62BBFC63E9" xlink:to="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_65D2845D83304FC500A62E62BBFAACA4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_45A896C42D4E46A121A42E62BBFA185D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAcquiredFiniteLivedIntangibleAssetByMajorClassTable_65D2845D83304FC500A62E62BBFAACA4" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_45A896C42D4E46A121A42E62BBFA185D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_45A896C42D4E46A121A42E62BBFA185D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_45A896C42D4E46A121A42E62BBFA185D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_InPlaceLeasesMember" xlink:label="loc_good_InPlaceLeasesMember_11FB1645DECA53351DEF2E62BBFB587D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:to="loc_good_InPlaceLeasesMember_11FB1645DECA53351DEF2E62BBFB587D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_LeasingCostsMember" xlink:label="loc_good_LeasingCostsMember_2C0E4CC1DEE268ACD8032E62BBFB9D15" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:to="loc_good_LeasingCostsMember_2C0E4CC1DEE268ACD8032E62BBFB9D15" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CustomerRelationshipsMember" xlink:label="loc_us-gaap_CustomerRelationshipsMember_784B7F05F790585072462E62BBFB244C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:to="loc_us-gaap_CustomerRelationshipsMember_784B7F05F790585072462E62BBFB244C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AboveMarketLeasesMember" xlink:label="loc_us-gaap_AboveMarketLeasesMember_66E5102367AD104C944D2E62BBFB8232" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:to="loc_us-gaap_AboveMarketLeasesMember_66E5102367AD104C944D2E62BBFB8232" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BelowMarketLeaseMember" xlink:label="loc_good_BelowMarketLeaseMember_FB9177AD19D01795EE322EABA1916154" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_467F7B5045DD7F0FC4402E62BBFBA3FF" xlink:to="loc_good_BelowMarketLeaseMember_FB9177AD19D01795EE322EABA1916154" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_B0C0EB6DA70125B1DD372E62BBFC0571" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsLineItems_2EFC1D9720A52F0FB2AA2E62BBFC63E9" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_B0C0EB6DA70125B1DD372E62BBFC0571" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentCharges" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesLineItems" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_A62CC52AF64CEB44ED438B26A84B46C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_A62CC52AF64CEB44ED438B26A84B46C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_1A4B71F23F59C338B9818B26A84B7714" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_A62CC52AF64CEB44ED438B26A84B46C0" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_1A4B71F23F59C338B9818B26A84B7714" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_235B1AC93A28594500078B26A84B07DA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_1A4B71F23F59C338B9818B26A84B7714" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_235B1AC93A28594500078B26A84B07DA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_235B1AC93A28594500078B26A84B07DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_1A4B71F23F59C338B9818B26A84B7714" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_235B1AC93A28594500078B26A84B07DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember" xlink:label="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_4D718373925AA190941C8B26A84C7AD9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_235B1AC93A28594500078B26A84B07DA" xlink:to="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_4D718373925AA190941C8B26A84C7AD9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_E2C16A7EACE6B4F73ED48B26A84CE791" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_A62CC52AF64CEB44ED438B26A84B46C0" xlink:to="loc_srt_StatementGeographicalAxis_E2C16A7EACE6B4F73ED48B26A84CE791" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_0560E0BD36F38FBF196E8B26A84C7443_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_E2C16A7EACE6B4F73ED48B26A84CE791" xlink:to="loc_srt_SegmentGeographicalDomain_0560E0BD36F38FBF196E8B26A84C7443_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_0560E0BD36F38FBF196E8B26A84C7443" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_E2C16A7EACE6B4F73ED48B26A84CE791" xlink:to="loc_srt_SegmentGeographicalDomain_0560E0BD36F38FBF196E8B26A84C7443" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_MaitlandFloridaMember" xlink:label="loc_good_MaitlandFloridaMember_5014B61658465A932B738B26A84CD686" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_0560E0BD36F38FBF196E8B26A84C7443" xlink:to="loc_good_MaitlandFloridaMember_5014B61658465A932B738B26A84CD686" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofNonCorePropertiesSold" xlink:label="loc_good_NumberofNonCorePropertiesSold_B8B67709D92BF93AD9688B26A84D78D9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:to="loc_good_NumberofNonCorePropertiesSold_B8B67709D92BF93AD9688B26A84D78D9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberOfRealEstatePropertiesHeldForSale" xlink:label="loc_good_NumberOfRealEstatePropertiesHeldForSale_A8A50315DF7ACC3B1DF78B26A84DC1F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:to="loc_good_NumberOfRealEstatePropertiesHeldForSale_A8A50315DF7ACC3B1DF78B26A84DC1F9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofImpairedAssetsHeldandUsed" xlink:label="loc_good_NumberofImpairedAssetsHeldandUsed_3CBA1BBAB963404DB0C18B26A84D0EFF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:to="loc_good_NumberofImpairedAssetsHeldandUsed_3CBA1BBAB963404DB0C18B26A84D0EFF" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofImpairedAssetsSoldHeldforSale" xlink:label="loc_good_NumberofImpairedAssetsSoldHeldforSale_0958D8C8A306EA1D096C8B26A84D9657" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_B231EBE989DF4629B5AC8B26A84D829D" xlink:to="loc_good_NumberofImpairedAssetsSoldHeldforSale_0958D8C8A306EA1D096C8B26A84D9657" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfAssetsAndLiabilitiesHeldForSaleDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesLineItems" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_C58450C8FDC9CFBDA80B8B26A7DC50DA" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_11E01D284CFC6331A9FE8B26A7DA1975" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C58450C8FDC9CFBDA80B8B26A7DC50DA" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_11E01D284CFC6331A9FE8B26A7DA1975" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesAxis" xlink:label="loc_us-gaap_RealEstatePropertiesAxis_0CE7C290AB631F1C84648B26A7DB4793" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_11E01D284CFC6331A9FE8B26A7DA1975" xlink:to="loc_us-gaap_RealEstatePropertiesAxis_0CE7C290AB631F1C84648B26A7DB4793" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesDomain" xlink:label="loc_us-gaap_RealEstatePropertiesDomain_3E02574AE79B22C6EA3F8B26A7DBCD19_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RealEstatePropertiesAxis_0CE7C290AB631F1C84648B26A7DB4793" xlink:to="loc_us-gaap_RealEstatePropertiesDomain_3E02574AE79B22C6EA3F8B26A7DBCD19_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesDomain" xlink:label="loc_us-gaap_RealEstatePropertiesDomain_3E02574AE79B22C6EA3F8B26A7DBCD19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RealEstatePropertiesAxis_0CE7C290AB631F1C84648B26A7DB4793" xlink:to="loc_us-gaap_RealEstatePropertiesDomain_3E02574AE79B22C6EA3F8B26A7DBCD19" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_RealEstateHeldForSaleMember" xlink:label="loc_good_RealEstateHeldForSaleMember_C87538DE7A7CF1A2D7218B26A7DBC50C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesDomain_3E02574AE79B22C6EA3F8B26A7DBCD19" xlink:to="loc_good_RealEstateHeldForSaleMember_C87538DE7A7CF1A2D7218B26A7DBC50C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C58450C8FDC9CFBDA80B8B26A7DC50DA" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost_55CBC0ADE1BD0325FB388B26A7DC6EB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAtCost_55CBC0ADE1BD0325FB388B26A7DC6EB8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation_AA5064B069A93C9A7A4B8B26A7DCF658" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyAccumulatedDepreciation_AA5064B069A93C9A7A4B8B26A7DCF658" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_9FE90D0CB45221276D9B8B26A7DD9E91" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationRealEstateInvestmentPropertyNet_9FE90D0CB45221276D9B8B26A7DD9E91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_C9ADDF30A1623E70567B8B26A7DD65DC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssets_C9ADDF30A1623E70567B8B26A7DD65DC" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_8FD812980EDF4ADEAB238B26A7DD5AE6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationDeferredRentReceivablesNet_8FD812980EDF4ADEAB238B26A7DD5AE6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_DC90B1D00AF99D0A1F0F8B26A7DD5383" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationAbstract_25204EE802F46CD253ED8B26A7DCFBEF" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation_DC90B1D00AF99D0A1F0F8B26A7DD5383" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesComponentsOfIncomeFromRealEstateAndRelatedAssetsHeldForSaleDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RealEstatePropertiesLineItems" xlink:label="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRealEstatePropertiesTable" xlink:label="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_85366114AB784FC1D2F58B26A5D6EB0A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_85366114AB784FC1D2F58B26A5D6EB0A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_BCD0A4E5072153FD695B8B26A5D7F34D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRealEstatePropertiesTable_85366114AB784FC1D2F58B26A5D6EB0A" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_BCD0A4E5072153FD695B8B26A5D7F34D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_EEE241D38AFCF43AA8D48B26A5D7C3F1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_BCD0A4E5072153FD695B8B26A5D7F34D" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_EEE241D38AFCF43AA8D48B26A5D7C3F1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_EEE241D38AFCF43AA8D48B26A5D7C3F1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_BCD0A4E5072153FD695B8B26A5D7F34D" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_EEE241D38AFCF43AA8D48B26A5D7C3F1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember" xlink:label="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_DCF743D78B7F837150D98B26A5D7AABE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_EEE241D38AFCF43AA8D48B26A5D7C3F1" xlink:to="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_DCF743D78B7F837150D98B26A5D7AABE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_B0DF53749D4B8FFEF4F98B26A5D870B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_B0DF53749D4B8FFEF4F98B26A5D870B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_F866484AF39FEE15A0108B26A5D8EF66" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingExpense_F866484AF39FEE15A0108B26A5D8EF66" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense" xlink:label="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_E4A191B1997EB37F174E8B26A5D8DB3C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_good_DisposalGroupIncludingDiscontinuedOperationOtherIncomeExpense_E4A191B1997EB37F174E8B26A5D8DB3C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale" xlink:label="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_C1480CDEC95EA7C36E7E8B26A5D92BCD" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_good_IncomeLossFromRealEstateAndRelatedAssetsHeldForSale_C1480CDEC95EA7C36E7E8B26A5D92BCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfProperties" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_E491072D7D29574D8D958B26A5D9B9A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_E491072D7D29574D8D958B26A5D9B9A6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofNonCorePropertiesSold" xlink:label="loc_good_NumberofNonCorePropertiesSold_A90007C1407027C0521A8B26A5D95AE2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RealEstatePropertiesLineItems_C6D94A27BD96081909A28B26A5D7BE78" xlink:to="loc_good_NumberofNonCorePropertiesSold_A90007C1407027C0521A8B26A5D95AE2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesSummaryOfPropertySoldDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable" xlink:label="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_56AFA1D4A7657B061A148B26A5C1B7BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:to="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_56AFA1D4A7657B061A148B26A5C1B7BD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationAxis" xlink:label="loc_us-gaap_DisposalGroupClassificationAxis_F605E5A4AA3354F4E6A78B26A5C198E9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsTable_56AFA1D4A7657B061A148B26A5C1B7BD" xlink:to="loc_us-gaap_DisposalGroupClassificationAxis_F605E5A4AA3354F4E6A78B26A5C198E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_3E03EC9C30FF6C271DF48B26A5C20DAF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_F605E5A4AA3354F4E6A78B26A5C198E9" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_3E03EC9C30FF6C271DF48B26A5C20DAF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupClassificationDomain" xlink:label="loc_us-gaap_DisposalGroupClassificationDomain_3E03EC9C30FF6C271DF48B26A5C20DAF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DisposalGroupClassificationAxis_F605E5A4AA3354F4E6A78B26A5C198E9" xlink:to="loc_us-gaap_DisposalGroupClassificationDomain_3E03EC9C30FF6C271DF48B26A5C20DAF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember" xlink:label="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_7356BF82F0FDB5781CF68B26A5C2EF32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisposalGroupClassificationDomain_3E03EC9C30FF6C271DF48B26A5C20DAF" xlink:to="loc_us-gaap_DisposalGroupDisposedOfBySaleNotDiscontinuedOperationsMember_7356BF82F0FDB5781CF68B26A5C2EF32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="loc_us-gaap_AreaOfRealEstateProperty_104A5CE0A01B1BA2F9A98B26A5C21B4E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:to="loc_us-gaap_AreaOfRealEstateProperty_104A5CE0A01B1BA2F9A98B26A5C21B4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_C2BBB63A70B43CF25C3C8B26A5C341D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyHeldForSale_C2BBB63A70B43CF25C3C8B26A5C341D2" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PropertyHeldforsaleSellingCosts" xlink:label="loc_good_PropertyHeldforsaleSellingCosts_F94C02EAE6AD3CC4083C8B26A5C3DF5A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:to="loc_good_PropertyHeldforsaleSellingCosts_F94C02EAE6AD3CC4083C8B26A5C3DF5A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnSaleOfProperties" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_93DAD707F7C234584A7F8B26A5C32970" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsLineItems_C8678428D263D9EDB8AA8B26A5C2417A" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_93DAD707F7C234584A7F8B26A5C32970" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RealEstateDispositionsHeldForSaleAndImpairmentChargesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RelatedPartyTransactions" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/RelatedPartyTransactionsAdditionalInformationDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_70BA141863B8A53EC77B29A7B75C9C5A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_70BA141863B8A53EC77B29A7B75C9C5A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_681A8E9A9B9D8ADF563D29A7B75D5B8C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_70BA141863B8A53EC77B29A7B75C9C5A" xlink:to="loc_srt_RangeAxis_681A8E9A9B9D8ADF563D29A7B75D5B8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_681A8E9A9B9D8ADF563D29A7B75D5B8C" xlink:to="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_681A8E9A9B9D8ADF563D29A7B75D5B8C" xlink:to="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_1039316546E345F3A8C429A7B75E23CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235" xlink:to="loc_srt_MinimumMember_1039316546E345F3A8C429A7B75E23CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_BAAD707D3D598BDADC3929A7B75E8B2D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_39BE5DBAB750C4B3E01F29A7B75E1235" xlink:to="loc_srt_MaximumMember_BAAD707D3D598BDADC3929A7B75E8B2D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofExecutiveOfficers" xlink:label="loc_good_NumberofExecutiveOfficers_45538DC31194E7CD68CE29A7B75FC9CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_NumberofExecutiveOfficers_45538DC31194E7CD68CE29A7B75FC9CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DueToRelatedPartiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_25DF7AD0FBD20644B05829A7B75FACF0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_us-gaap_DueToRelatedPartiesCurrentAndNoncurrent_25DF7AD0FBD20644B05829A7B75FACF0" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AnnualBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses" xlink:label="loc_good_AnnualBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses_C44C6B30DF8CA016E82829A7B75F703C" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_AnnualBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses_C44C6B30DF8CA016E82829A7B75F703C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_QuarterlyBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses" xlink:label="loc_good_QuarterlyBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses_8468EECFCB56348A155329A7B75FA1E6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_QuarterlyBaseManagementFeeInPercentageOfStockholdersEquityAdjustedToUnrealizedGainsOrLosses_8468EECFCB56348A155329A7B75FA1E6" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_BaseManagementFee" xlink:label="loc_good_BaseManagementFee_8EA05F548B1C3CD176E329A7B76563DE" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_BaseManagementFee_8EA05F548B1C3CD176E329A7B76563DE" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_QuarterlyIncentiveFeePerAdvisoryAgreement" xlink:label="loc_good_QuarterlyIncentiveFeePerAdvisoryAgreement_EBF41DD0F292864CC88229A7B765E2A5" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_QuarterlyIncentiveFeePerAdvisoryAgreement_EBF41DD0F292864CC88229A7B765E2A5" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AnnualizedIncentiveFeePerAdvisoryAgreement" xlink:label="loc_good_AnnualizedIncentiveFeePerAdvisoryAgreement_07C12FE703113767E04029A7B765AC58" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_AnnualizedIncentiveFeePerAdvisoryAgreement_07C12FE703113767E04029A7B765AC58" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AmountToBePaidToAdviserInPercentageOfPreIncentiveFeeConditionOne" xlink:label="loc_good_AmountToBePaidToAdviserInPercentageOfPreIncentiveFeeConditionOne_0539B67ABD68106F7DC429A7B7664641" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_AmountToBePaidToAdviserInPercentageOfPreIncentiveFeeConditionOne_0539B67ABD68106F7DC429A7B7664641" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NumberofQuartersUsedfortheCapofAverageQuarterlyIncentiveFees" xlink:label="loc_good_NumberofQuartersUsedfortheCapofAverageQuarterlyIncentiveFees_8F3FBD9A300EF911370D29A7B766CADC" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_NumberofQuartersUsedfortheCapofAverageQuarterlyIncentiveFees_8F3FBD9A300EF911370D29A7B766CADC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncentiveFeeDescription" xlink:label="loc_us-gaap_IncentiveFeeDescription_5736D9ED1DA42F0CBC4929A7B7668C87" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_us-gaap_IncentiveFeeDescription_5736D9ED1DA42F0CBC4929A7B7668C87" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IncentiveFee" xlink:label="loc_good_IncentiveFee_BB0BC271F45A7A35883C29A7B766979C" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_IncentiveFee_BB0BC271F45A7A35883C29A7B766979C" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IncentiveFeeWaived" xlink:label="loc_good_IncentiveFeeWaived_754FDCCFD43AB9A0220229A7B7661E0D" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_IncentiveFeeWaived_754FDCCFD43AB9A0220229A7B7661E0D" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PercentageOfIncentiveFeesOnCapitalGains" xlink:label="loc_good_PercentageOfIncentiveFeesOnCapitalGains_E69AFD370CAB00301DBC29A7B76721A9" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_PercentageOfIncentiveFeesOnCapitalGains_E69AFD370CAB00301DBC29A7B76721A9" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_IncentiveFeeOnCapitalGains" xlink:label="loc_good_IncentiveFeeOnCapitalGains_99C7AA55A540B3452B8D29A7B767EBE8" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_IncentiveFeeOnCapitalGains_99C7AA55A540B3452B8D29A7B767EBE8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PercentageofIndependentDirectorsRequiredtoTerminatetheAmendedAdvisoryAgreement" xlink:label="loc_good_PercentageofIndependentDirectorsRequiredtoTerminatetheAmendedAdvisoryAgreement_A314C8E41310685F55BE29A7B7678EEB" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_PercentageofIndependentDirectorsRequiredtoTerminatetheAmendedAdvisoryAgreement_A314C8E41310685F55BE29A7B7678EEB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_TerminationFeePayableasPercentageofAverageAnnualManagementFeeandIncentiveFeeDuringTwentyFourMonthPeriod" xlink:label="loc_good_TerminationFeePayableasPercentageofAverageAnnualManagementFeeandIncentiveFeeDuringTwentyFourMonthPeriod_8B506E6C138289CFFC7229A7B76771DE" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_TerminationFeePayableasPercentageofAverageAnnualManagementFeeandIncentiveFeeDuringTwentyFourMonthPeriod_8B506E6C138289CFFC7229A7B76771DE" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NoticePeriodForTerminationOfAgreementWithoutCause" xlink:label="loc_good_NoticePeriodForTerminationOfAgreementWithoutCause_071993F8FFED628057DD29A7B76751BD" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_NoticePeriodForTerminationOfAgreementWithoutCause_071993F8FFED628057DD29A7B76751BD" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_NoticePeriodForTerminationOfAgreementWithCause" xlink:label="loc_good_NoticePeriodForTerminationOfAgreementWithCause_E678B2A929C361B401A829A7B7684EA0" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_NoticePeriodForTerminationOfAgreementWithCause_E678B2A929C361B401A829A7B7684EA0" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AdministrationFee" xlink:label="loc_good_AdministrationFee_1E87F6E617F80671282F29A7B7687A95" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_AdministrationFee_1E87F6E617F80671282F29A7B7687A95" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PercentageOfFinancingFeeToAmountOfMortgage" xlink:label="loc_good_PercentageOfFinancingFeeToAmountOfMortgage_ACD345469182F56BE0B729A7B76813E8" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_PercentageOfFinancingFeeToAmountOfMortgage_ACD345469182F56BE0B729A7B76813E8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PaymentOfFinancingFee" xlink:label="loc_good_PaymentOfFinancingFee_B63208975AE6EE377CF429A7B768ACD2" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_PaymentOfFinancingFee_B63208975AE6EE377CF429A7B768ACD2" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SecuredMortgagesFinancingFeePercent" xlink:label="loc_good_SecuredMortgagesFinancingFeePercent_D753034DEB6BD537021029A7B768A3A9" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_80AF35A5FFA25887221529A7B75F2D70" xlink:to="loc_good_SecuredMortgagesFinancingFeePercent_D753034DEB6BD537021029A7B768A3A9" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEvents" xlink:type="extended" />
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventLineItems" xlink:label="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTable" xlink:label="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_1DECE77E2C04B8B49BD73F4CED5176DE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:to="loc_srt_StatementGeographicalAxis_1DECE77E2C04B8B49BD73F4CED5176DE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_96FD53FF38A1C0BE7DFB3F4CED513FA4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_1DECE77E2C04B8B49BD73F4CED5176DE" xlink:to="loc_srt_SegmentGeographicalDomain_96FD53FF38A1C0BE7DFB3F4CED513FA4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_96FD53FF38A1C0BE7DFB3F4CED513FA4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_1DECE77E2C04B8B49BD73F4CED5176DE" xlink:to="loc_srt_SegmentGeographicalDomain_96FD53FF38A1C0BE7DFB3F4CED513FA4" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DentonTexasMember" xlink:label="loc_good_DentonTexasMember_592832062754E3E5F8C63F4CED51AED2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_96FD53FF38A1C0BE7DFB3F4CED513FA4" xlink:to="loc_good_DentonTexasMember_592832062754E3E5F8C63F4CED51AED2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_00DAB884EB89B20DF23E3F4CED528F8C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_00DAB884EB89B20DF23E3F4CED528F8C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_463CF81BD52326D819373F4CED5295F8_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_00DAB884EB89B20DF23E3F4CED528F8C" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_463CF81BD52326D819373F4CED5295F8_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_463CF81BD52326D819373F4CED5295F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_00DAB884EB89B20DF23E3F4CED528F8C" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_463CF81BD52326D819373F4CED5295F8" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_CommonStockATMProgramMember" xlink:label="loc_good_CommonStockATMProgramMember_020E7D9C4FEE14DC6F1A3F4CED5280DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_463CF81BD52326D819373F4CED5295F8" xlink:to="loc_good_CommonStockATMProgramMember_020E7D9C4FEE14DC6F1A3F4CED5280DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_10D0939CA42E88A28E2C3F4CED53C127" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:to="loc_us-gaap_StatementClassOfStockAxis_10D0939CA42E88A28E2C3F4CED53C127" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_10D0939CA42E88A28E2C3F4CED53C127" xlink:to="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_10D0939CA42E88A28E2C3F4CED53C127" xlink:to="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_5696927D87325358A8AB3F4CED53818B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A" xlink:to="loc_us-gaap_CommonStockMember_5696927D87325358A8AB3F4CED53818B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesDPreferredStockMember" xlink:label="loc_us-gaap_SeriesDPreferredStockMember_D2220278B745EBD301A73F4CED539DDA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A" xlink:to="loc_us-gaap_SeriesDPreferredStockMember_D2220278B745EBD301A73F4CED539DDA" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeriesAAndSeriesBPreferredStockMember" xlink:label="loc_good_SeriesAAndSeriesBPreferredStockMember_2B89CDADD7D7011754763F4CED54795F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_9BB8721E912549791EC63F4CED532C9A" xlink:to="loc_good_SeriesAAndSeriesBPreferredStockMember_2B89CDADD7D7011754763F4CED54795F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_F0E397AFF4FA1B80310F3F4CED5427E7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_BA8482ACFF617671E8C33F4CED5116DA" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_F0E397AFF4FA1B80310F3F4CED5427E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C4B4153AE54D05029F923F4CED54F3EC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F0E397AFF4FA1B80310F3F4CED5427E7" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C4B4153AE54D05029F923F4CED54F3EC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C4B4153AE54D05029F923F4CED54F3EC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_F0E397AFF4FA1B80310F3F4CED5427E7" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C4B4153AE54D05029F923F4CED54F3EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_583EB1103E95E18398943F4CED55B427" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_C4B4153AE54D05029F923F4CED54F3EC" xlink:to="loc_us-gaap_SubsequentEventMember_583EB1103E95E18398943F4CED55B427" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_CA6C0F83E32E22DCD5F33F4CED55E3ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_CA6C0F83E32E22DCD5F33F4CED55E3ED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_9B402CD461BCF1BE42313F4CED55877A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_9B402CD461BCF1BE42313F4CED55877A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AreaOfRealEstateProperty" xlink:label="loc_us-gaap_AreaOfRealEstateProperty_6B60A169251BB2969B7C3F4CED5663A2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_us-gaap_AreaOfRealEstateProperty_6B60A169251BB2969B7C3F4CED5663A2" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_PurchasePriceOfAcquiredProperty" xlink:label="loc_good_PurchasePriceOfAcquiredProperty_BA1E5509F5B7EE56B4BC3F4CED562D70" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_good_PurchasePriceOfAcquiredProperty_BA1E5509F5B7EE56B4BC3F4CED562D70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LessorOperatingLeaseTermOfContract" xlink:label="loc_us-gaap_LessorOperatingLeaseTermOfContract_4028C103F69975C477193F4E91099D86" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_us-gaap_LessorOperatingLeaseTermOfContract_4028C103F69975C477193F4E91099D86" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_AnnualizedStraightLineRent" xlink:label="loc_good_AnnualizedStraightLineRent_9AE54E0ABC42D568CB623F4CED56CB31" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_1361369A265A336CC9873F4CED5545D4" xlink:to="loc_good_AnnualizedStraightLineRent_9AE54E0ABC42D568CB623F4CED56CB31" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsMonthlyDistributionsDeclaredByCompanysBoardOfDirectorsDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableLineItems" xlink:label="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableTable" xlink:label="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:to="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_StatementScenarioAxis" xlink:label="loc_srt_StatementScenarioAxis_1CC6C5E52B399902FBB129C9B40B960C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:to="loc_srt_StatementScenarioAxis_1CC6C5E52B399902FBB129C9B40B960C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="loc_srt_ScenarioUnspecifiedDomain_FDE123ECF15CD0550CE629C9B40CB822_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementScenarioAxis_1CC6C5E52B399902FBB129C9B40B960C" xlink:to="loc_srt_ScenarioUnspecifiedDomain_FDE123ECF15CD0550CE629C9B40CB822_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioUnspecifiedDomain" xlink:label="loc_srt_ScenarioUnspecifiedDomain_FDE123ECF15CD0550CE629C9B40CB822" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementScenarioAxis_1CC6C5E52B399902FBB129C9B40B960C" xlink:to="loc_srt_ScenarioUnspecifiedDomain_FDE123ECF15CD0550CE629C9B40CB822" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2019/elts/srt-2019-01-31.xsd#srt_ScenarioForecastMember" xlink:label="loc_srt_ScenarioForecastMember_D38E0834DADDC0F0CED029C9B40C8452" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ScenarioUnspecifiedDomain_FDE123ECF15CD0550CE629C9B40CB822" xlink:to="loc_srt_ScenarioForecastMember_D38E0834DADDC0F0CED029C9B40C8452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_226373997C1209F9CE1B29C9B40CF46D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_226373997C1209F9CE1B29C9B40CF46D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_09BA9974651AF323126B29C9B40CFB86_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_226373997C1209F9CE1B29C9B40CF46D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_09BA9974651AF323126B29C9B40CFB86_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_09BA9974651AF323126B29C9B40CFB86" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_226373997C1209F9CE1B29C9B40CF46D" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_09BA9974651AF323126B29C9B40CFB86" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_7C535905588BFF98378E29C9B40D79F8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_09BA9974651AF323126B29C9B40CFB86" xlink:to="loc_us-gaap_SubsequentEventMember_7C535905588BFF98378E29C9B40D79F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsAxis" xlink:label="loc_us-gaap_DividendsAxis_FB1987A712004708A00C29C9B40D5AB0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:to="loc_us-gaap_DividendsAxis_FB1987A712004708A00C29C9B40D5AB0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DividendsAxis_FB1987A712004708A00C29C9B40D5AB0" xlink:to="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsDomain" xlink:label="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DividendsAxis_FB1987A712004708A00C29C9B40D5AB0" xlink:to="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DividendDeclaredPeriodOneMember" xlink:label="loc_good_DividendDeclaredPeriodOneMember_18CFB6257BE3849AE79629C9B40DA0AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB" xlink:to="loc_good_DividendDeclaredPeriodOneMember_18CFB6257BE3849AE79629C9B40DA0AF" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DividendDeclaredPeriodTwoMember" xlink:label="loc_good_DividendDeclaredPeriodTwoMember_BE7F755AD4CDA0E82B6D29C9B40E9FF5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB" xlink:to="loc_good_DividendDeclaredPeriodTwoMember_BE7F755AD4CDA0E82B6D29C9B40E9FF5" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DividendDeclaredPeriodThreeMember" xlink:label="loc_good_DividendDeclaredPeriodThreeMember_E44E936E1880BA3AC4D629C9B40E709F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsDomain_9D6AEA9C5B932F07945729C9B40D7CAB" xlink:to="loc_good_DividendDeclaredPeriodThreeMember_E44E936E1880BA3AC4D629C9B40E709F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_A16E6440B320F6C320C529C9B40E17A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_A16E6440B320F6C320C529C9B40E17A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_144E638BEABE53D019F129C9B40ED4DA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A16E6440B320F6C320C529C9B40E17A4" xlink:to="loc_us-gaap_EquityComponentDomain_144E638BEABE53D019F129C9B40ED4DA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_144E638BEABE53D019F129C9B40ED4DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_A16E6440B320F6C320C529C9B40E17A4" xlink:to="loc_us-gaap_EquityComponentDomain_144E638BEABE53D019F129C9B40ED4DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_0904A9AE4B689FB29D8F29C9B40E2625" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_144E638BEABE53D019F129C9B40ED4DA" xlink:to="loc_us-gaap_CommonStockMember_0904A9AE4B689FB29D8F29C9B40E2625" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0B102C8540F065E7DD0D29C9B40F0C47" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DividendsPayableTable_4445225793E20241A31D29C9B40B2488" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0B102C8540F065E7DD0D29C9B40F0C47" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0B102C8540F065E7DD0D29C9B40F0C47" xlink:to="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0B102C8540F065E7DD0D29C9B40F0C47" xlink:to="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_ECDF6A8A5F2BBA3EA29A29C9B40F67DA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_ECDF6A8A5F2BBA3EA29A29C9B40F67DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_AC4F8505223DDE4E055B29C9B40FCDA7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_AC4F8505223DDE4E055B29C9B40FCDA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SeriesDPreferredStockMember" xlink:label="loc_us-gaap_SeriesDPreferredStockMember_E7D698EC403E83453A1729C9B4105A89" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:to="loc_us-gaap_SeriesDPreferredStockMember_E7D698EC403E83453A1729C9B4105A89" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_SeniorCommonStockMember" xlink:label="loc_good_SeniorCommonStockMember_54E8116887259303323029C9B4103301" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6C2425922EED1C3CB13329C9B40F0E98" xlink:to="loc_good_SeniorCommonStockMember_54E8116887259303323029C9B4103301" xlink:type="arc" />
    <link:loc xlink:href="good-20190630.xsd#good_DistributionsPayableToHoldersOfRecordsMonths" xlink:label="loc_good_DistributionsPayableToHoldersOfRecordsMonths_E7AF731EB82FD19B991329C9B410070B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:to="loc_good_DistributionsPayableToHoldersOfRecordsMonths_E7AF731EB82FD19B991329C9B410070B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableDateOfRecordDayMonthAndYear" xlink:label="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_5723BE78678A8B72CCF229C9B4105A1C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:to="loc_us-gaap_DividendsPayableDateOfRecordDayMonthAndYear_5723BE78678A8B72CCF229C9B4105A1C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendPayableDateToBePaidDayMonthAndYear" xlink:label="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_4E7EA783C5247C40F49429C9B41027F4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:to="loc_us-gaap_DividendPayableDateToBePaidDayMonthAndYear_4E7EA783C5247C40F49429C9B41027F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DividendsPayableAmountPerShare" xlink:label="loc_us-gaap_DividendsPayableAmountPerShare_735D07144ACF7DBEBCDD29C9B4119726" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DividendsPayableLineItems_55751057A7F42ACEC13829C9B41082C4" xlink:to="loc_us-gaap_DividendsPayableAmountPerShare_735D07144ACF7DBEBCDD29C9B4119726" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://ir.gladstonecommercial.com/role/SubsequentEventsTables" xlink:type="extended" />
</link:linkbase>
