Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies (Details)

v2.4.1.9
Commitments and Contingencies (Details) (USD $)
1 Months Ended 0 Months Ended
Aug. 31, 2010
Apr. 15, 2015
Mar. 31, 2015
Property
Tax incremental financing obligation      
The amount of tax incremental financing bonds issued by Anne Arundel County, Maryland $ 30,000,000ofc_TaxIncrementalFinancingBondsAmountIssuedByAnneArundelCountyMaryland    
Liability recognized with regard to tax incremental financing obligation at end of current period     1,400,000us-gaap_GuaranteeObligationsCurrentCarryingValue
Environmental Indemnity Agreement      
Number of lease properties which were provided environmental indemnifications     3ofc_PropertySubjectToEnvironmentalIndemnityLeaseAgreementNumberOfProperties
Environmental indemnification to the tenant against losses covered under prior owner's indemnity agreement     5,000,000.0ofc_EnvironmentalIndemnificationToTenantAgainstLossesCoveredUnderPriorOwnerIndemnityAgreementMaximum
Maximum environmental indemnification to the tenant against consequential damages after acquisition of property     12,500,000.0ofc_EnvironmentalIndemnificationToTenantAgainstConsequentialDamagesAfterAcquisitionOfPropertyMaximum
Additional costs agreed to be paid by the entity related to construction and environmental regulatory activities (as a percent)     50.00%ofc_AdditionalCostsIncurredRelatedToConstructionAndEnvironmentalRegulatoryActivitiesPercentage
Maximum annual additional costs agreed to be paid by the entity related to construction and environmental regulatory activities     300,000ofc_AdditionalCostsIncurredRelatedToConstructionAndEnvironmentalRegulatoryActivitiesMaximumPerAnnum
Maximum additional costs agreed to be paid by the entity related to construction and environmental regulatory activities     1,500,000.0ofc_MaximumAdditionalCostsIncurredRelatedToConstructionAndEnvironmentalRegulatoryActivities
Subsequent Event | 2600 Park Tower Drive | Virginia      
Other Commitments [Line Items]      
Square footage of real estate properties (in square feet)   240,000us-gaap_AreaOfRealEstateProperty
/ us-gaap_BusinessAcquisitionAxis
= ofc_A2600ParkTowerDriveMember
/ us-gaap_StatementGeographicalAxis
= stpr_VA
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
 
Acquired property percentage leased   100.00%ofc_AcquiredPropertyPercentageLeased
/ us-gaap_BusinessAcquisitionAxis
= ofc_A2600ParkTowerDriveMember
/ us-gaap_StatementGeographicalAxis
= stpr_VA
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember
 
Total acquisition cost   $ 83,000,000us-gaap_PaymentsToAcquireRealEstate
/ us-gaap_BusinessAcquisitionAxis
= ofc_A2600ParkTowerDriveMember
/ us-gaap_StatementGeographicalAxis
= stpr_VA
/ us-gaap_SubsequentEventTypeAxis
= us-gaap_SubsequentEventMember