Annual report pursuant to Section 13 and 15(d)

Organization, Basis of Presentation and Significant Accounting Policies - Additional Information (Detail)

v2.4.1.9
Organization, Basis of Presentation and Significant Accounting Policies - Additional Information (Detail) (USD $)
12 Months Ended
Dec. 31, 2014
Subsidiary
Dec. 31, 2013
Dec. 31, 2012
Organization And Significant Accounting Policies [Line Items]      
Number of subsidiaries interest owned in general and limited partnership 2good_NumberOfSubsidiariesInterestOwnedInGeneralAndLimitedPartnership    
Non-qualifying income related to real estate portfolio $ 0good_NonQualifyingIncomeRelatedToRealEstatePortfolio    
Amortization related to below-market lease 700,000us-gaap_AmortizationOfBelowMarketLease 600,000us-gaap_AmortizationOfBelowMarketLease 1,100,000us-gaap_AmortizationOfBelowMarketLease
Total amortization expense related to intangible assets 10,000,000us-gaap_AmortizationOfIntangibleAssets 7,300,000us-gaap_AmortizationOfIntangibleAssets 4,900,000us-gaap_AmortizationOfIntangibleAssets
Maturity period of highly-liquid investments at the time of purchase three months or less    
Payments of deferred financing costs 1,029,000us-gaap_PaymentsOfFinancingCosts 2,051,000us-gaap_PaymentsOfFinancingCosts 4,598,000us-gaap_PaymentsOfFinancingCosts
Total amortization expense related to deferred financing costs is included in interest expense 1,656,000us-gaap_AmortizationOfFinancingCosts 1,780,000us-gaap_AmortizationOfFinancingCosts 1,502,000us-gaap_AmortizationOfFinancingCosts
Deferred rent expense 800,000good_DeferredRentExpense    
Uncertain tax positions percentage 50.00%good_MinimumPercentageLikelihoodToRecognizeTaxBenefitFromUncertainTaxPosition    
Uncertain tax positions 0us-gaap_UnrecognizedTaxBenefits 0us-gaap_UnrecognizedTaxBenefits 0us-gaap_UnrecognizedTaxBenefits
Liabilities accrued 400,000us-gaap_AssetRetirementObligationLiabilitiesIncurred 0us-gaap_AssetRetirementObligationLiabilitiesIncurred 300,000us-gaap_AssetRetirementObligationLiabilitiesIncurred
Expenses recorded to general and administrative expense 100,000us-gaap_AssetRetirementObligationAccretionExpense 100,000us-gaap_AssetRetirementObligationAccretionExpense 200,000us-gaap_AssetRetirementObligationAccretionExpense
Aggregate undiscounted obligation on properties 9,400,000good_AggregateUndiscountedObligationOnProperties    
Expected payment to be made in next twelve months 0us-gaap_OtherCommitmentDueInNextTwelveMonths    
Expected payment to be made in second year 0us-gaap_OtherCommitmentDueInSecondYear    
Expected payment to be made in third year 0us-gaap_OtherCommitmentDueInThirdYear    
Expected payment to be made in fourth year 0us-gaap_OtherCommitmentDueInFourthYear    
Expected payment to be made in fifth year 0us-gaap_OtherCommitmentDueInFifthYear    
Real Estate [Member]      
Organization And Significant Accounting Policies [Line Items]      
Real estate depreciation expense 18,800,000us-gaap_Depreciation
/ us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis
= us-gaap_RealEstateMember
15,500,000us-gaap_Depreciation
/ us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis
= us-gaap_RealEstateMember
11,900,000us-gaap_Depreciation
/ us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis
= us-gaap_RealEstateMember
Minimum [Member]      
Organization And Significant Accounting Policies [Line Items]      
Expected lease up period for estimating carrying costs 9 months    
Remaining term of in-place leases and unamortized lease 10 years    
REIT taxable income to its stockholders 90.00%good_PercentageOfAnnualRealEstateInvestmentTrustTaxableIncomeDistributeToStockholders
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
   
Percentage of discount rate for calculating undiscounted obligation 2.50%good_PercentageOfDiscountRateForCalculatingUndiscountedObligation
/ us-gaap_RangeAxis
= us-gaap_MinimumMember
   
Maximum [Member]      
Organization And Significant Accounting Policies [Line Items]      
Expected lease up period for estimating carrying costs 18 months    
Remaining term of in-place leases and unamortized lease 15 years    
REIT taxable income to its stockholders 100.00%good_PercentageOfAnnualRealEstateInvestmentTrustTaxableIncomeDistributeToStockholders
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
   
Percentage of discount rate for calculating undiscounted obligation 7.60%good_PercentageOfDiscountRateForCalculatingUndiscountedObligation
/ us-gaap_RangeAxis
= us-gaap_MaximumMember
   
Above Market Leases [Member]      
Organization And Significant Accounting Policies [Line Items]      
Amortization related to above-market lease $ 300,000us-gaap_AmortizationOfLeasedAsset
/ us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis
= us-gaap_AboveMarketLeasesMember
$ 300,000us-gaap_AmortizationOfLeasedAsset
/ us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis
= us-gaap_AboveMarketLeasesMember
$ 300,000us-gaap_AmortizationOfLeasedAsset
/ us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis
= us-gaap_AboveMarketLeasesMember
Buildings and Improvements [Member]      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 39 years    
Equipment and Fixtures [Member] | Minimum [Member]      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 5 years    
Equipment and Fixtures [Member] | Maximum [Member]      
Organization And Significant Accounting Policies [Line Items]      
Estimated useful life 20 years    
Gladstone Commercial Advisers, Inc. [Member]      
Organization And Significant Accounting Policies [Line Items]      
Company ownership percentage of voting securities of Commercial Advisers 100.00%us-gaap_VariableInterestEntityOwnershipPercentage
/ dei_LegalEntityAxis
= good_SubsidiariesTwoMember
   
GCLP Business Trust I [Member]      
Organization And Significant Accounting Policies [Line Items]      
Percentage of limited partnership interest transferred to business unit 99.00%good_PercentageOfLimitedPartnershipInterestTransferredToBusinessUnit
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
   
Number of trust shares exchanged for limited partnership interest 100good_NumberOfTrustSharesExchangedForLimitedPartnershipInterest
/ dei_LegalEntityAxis
= us-gaap_SubsidiariesMember
   
Subsidiary and business trust of the Company, formed under the laws of the Commonwealth of Massachusetts, date Dec. 28, 2005    
GCLP Business Trust II [Member]      
Organization And Significant Accounting Policies [Line Items]      
Percentage of limited partnership interest transferred to business unit 1.00%good_PercentageOfLimitedPartnershipInterestTransferredToBusinessUnit
/ dei_LegalEntityAxis
= good_SubsidiariesOneMember
   
Number of trust shares exchanged for general partnership interest 100good_NumberOfTrustSharesExchangedForGeneralPartnershipInterest
/ dei_LegalEntityAxis
= good_SubsidiariesOneMember
   
Subsidiary and business trust of the Company, formed under the laws of the Commonwealth of Massachusetts, date Dec. 28, 2005