XML 96 R81.htm IDEA: XBRL DOCUMENT
v3.22.4

Debt, Net (Narrative) (Details) |  |  |  |  | 12 Months Ended |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Nov. 17, 2021 USD ($) | Aug. 11, 2021 USD ($) | Mar. 11, 2021 USD ($) | Sep. 17, 2020 USD ($) | Dec. 31, 2022 USD ($) extension | Dec. 31, 2021 USD ($) | Dec. 31, 2020 USD ($) | Oct. 26, 2022 USD ($) | Nov. 18, 2021 USD ($) | Apr. 12, 2021 USD ($) | Oct. 19, 2020 USD ($)
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loss on early extinguishment of debt |  |  |  |  | $ (609,000) | $ (100,626,000) | $ (7,306,000) |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Weighted average interest rate |  |  |  |  | 5.47% |  |  |  |  |  |
Revolving Credit Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, additional spread |  |  |  |  | 0.0010 |  |  |  |  |  |
Term Loan Facility |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Number of extensions | extension |  |  |  |  | 2 |  |  |  |  |  |
Extension option period |  |  |  |  | 12 months |  |  |  |  |  |
Line of credit facility, extension fee |  |  |  |  | 0.125% |  |  |  |  |  |
Loan increase |  |  |  |  |  |  | 150,000,000 |  |  |  |
Repayments of term loan |  |  |  |  | $ 300,000,000 | 100,000,000 |  |  |  |  |
Loan amount |  |  |  |  |  |  | 400,000,000 |  |  |  |
Interest rate |  |  |  |  | 5.72% |  |  |  |  |  |
Term Loan Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, additional spread |  |  |  |  | 0.0010 |  |  |  |  |  |
Minimum | Revolving Credit Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 0.725% |  |  |  |  |  |
Minimum | Term Loan Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 0.85% |  |  |  |  |  |
Maximum | Revolving Credit Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 1.40% |  |  |  |  |  |
Maximum | Term Loan Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 1.70% |  |  |  |  |  |
Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Weighted average borrowings |  |  |  |  | $ 202,800,000 | $ 135,800,000 |  |  |  |  |
Weighted average interest rate |  |  |  |  | 3.31% | 1.18% |  |  |  |  |
Revolving Credit Facility | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, additional spread |  |  |  |  | 0.0010 |  |  |  |  |  |
Revolving Credit Facility | Minimum | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 0.725% |  |  |  |  |  |
Revolving Credit Facility | Maximum | Secured Overnight Financing Rate |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Variable rate, spread |  |  |  |  | 1.40% |  |  |  |  |  |
Line of Credit | Revolving Credit Facility |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Current borrowing capacity |  |  |  |  | $ 600,000,000 |  |  | $ 600,000,000 |  |  |
Number of extensions | extension |  |  |  |  | 2 |  |  |  |  |  |
Extension option period |  |  |  |  | 6 months |  |  |  |  |  |
Line of credit facility, extension fee |  |  |  |  | 0.0625% |  |  |  |  |  |
Remaining borrowing capacity |  |  |  |  | $ 389,000,000 |  |  |  |  |  |
Line of Credit | Revolving Credit Facility | Minimum |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Commitment fee percentage |  |  |  |  | 0.125% |  |  |  |  |  |
Line of Credit | Revolving Credit Facility | Maximum |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Commitment fee percentage |  |  |  |  | 0.30% |  |  |  |  |  |
Unsecured Debt | Term Loan Facility |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loan amount |  |  |  |  |  |  |  | $ 125,000,000 |  |  |
Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Redemption price |  |  |  |  | 100.00% |  |  |  |  |  |
Senior Notes | 2.25% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loan amount |  |  |  | $ 400,000,000 | $ 400,000,000 |  |  |  |  |  |
Interest rate |  |  |  |  | 2.25% |  |  |  |  |  |
Initial offering price |  |  |  | 99.42% |  |  |  |  |  |  |
Proceeds from issuance of debt |  |  |  | $ 395,300,000 |  |  |  |  |  |  |
Basis point used in determining redemption price prior to maturity |  |  |  |  | 0.35% |  |  |  |  |  |
Senior Notes | 2.75%, $600,000 aggregate principal |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loan amount |  |  | $ 600,000,000 |  | $ 600,000,000 |  |  |  |  |  |
Interest rate |  |  |  |  | 2.75% |  |  |  |  |  |
Initial offering price |  |  | 98.95% |  |  |  |  |  |  |  |
Proceeds from issuance of debt |  |  | $ 589,800,000 |  |  |  |  |  |  |  |
Senior Notes | 2.75%, $600,000 aggregate principal | Adjusted Treasury |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis point used in determining redemption price prior to maturity |  |  |  |  | 0.25% |  |  |  |  |  |
Senior Notes | 2.00%, $400,000 aggregate principal |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loan amount |  | $ 400,000,000 |  |  | $ 400,000,000 |  |  |  |  |  |
Interest rate |  |  |  |  | 2.00% |  |  |  |  |  |
Initial offering price |  | 99.97% |  |  |  |  |  |  |  |  |
Proceeds from issuance of debt |  | $ 397,400,000 |  |  |  |  |  |  |  |  |
Senior Notes | 2.00%, $400,000 aggregate principal | Adjusted Treasury |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis point used in determining redemption price prior to maturity |  |  |  |  | 0.20% |  |  |  |  |  |
Senior Notes | 2.90%, $400,000 aggregate principal |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loan amount | $ 400,000,000 |  |  |  | $ 400,000,000 |  |  |  |  |  |
Interest rate |  |  |  |  | 2.90% |  |  |  |  |  |
Initial offering price | 99.53% |  |  |  |  |  |  |  |  |  |
Proceeds from issuance of debt | $ 395,400,000 |  |  |  |  |  |  |  |  |  |
Senior Notes | 2.90%, $400,000 aggregate principal | Adjusted Treasury |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Basis point used in determining redemption price prior to maturity |  |  |  |  | 0.25% |  |  |  |  |  |
Senior Notes | 3.70% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased face amount |  |  |  | 122,900,000 |  |  |  |  |  |  | $ 177,100,000
Repurchase face amount plus prepayment premium |  |  |  | $ 126,000,000 |  |  |  |  |  |  | $ 180,900,000
Loss on early extinguishment of debt |  |  |  |  |  |  | $ (7,300,000) |  |  |  |
Senior Notes | 3.60% Senior Notes and 5.25% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Loss on early extinguishment of debt |  |  |  |  |  | $ (58,400,000) |  |  |  |  |
Senior Notes | 3.60% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased face amount |  |  | 184,400,000 |  |  |  |  |  |  | $ 165,600,000 |
Repurchase face amount plus prepayment premium |  |  | 196,700,000 |  |  |  |  |  |  | 176,300,000 |
Senior Notes | 5.250% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased face amount |  |  | 145,600,000 |  |  |  |  |  |  | 104,400,000 |
Repurchase face amount plus prepayment premium |  |  | $ 164,700,000 |  |  |  |  |  |  | $ 117,700,000 |
Senior Notes | 5.0% Senior Notes |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |
Repurchased face amount |  |  |  |  |  |  |  |  | $ 300,000,000 |  |
Repurchase face amount plus prepayment premium |  |  |  |  |  |  |  |  | $ 336,400,000 |  |
Loss on early extinguishment of debt |  |  |  |  |  | $ (38,200,000) |  |  |  |  |

X
- Definition Basis Point Used in Determining Redemption Price Prior to Maturity + References No definition available. + Details
Name: | ofc_BasisPointUsedInDeterminingRedemptionPricePriorToMaturity
Namespace Prefix: | ofc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Additional Basis Spread on Variable Rate + References No definition available. + Details
Name: | ofc_DebtInstrumentAdditionalBasisSpreadOnVariableRate
Namespace Prefix: | ofc_
Data Type: | xbrli:pureItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the period over which the debt may be extended at the option of the entity, subject to certain conditions. + References No definition available. + Details
Name: | ofc_DebtInstrumentExtensionOptionTerm
Namespace Prefix: | ofc_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Offering Price as Percentage of Face Value + References No definition available. + Details
Name: | ofc_DebtInstrumentOfferingPriceAsPercentageOfFaceValue
Namespace Prefix: | ofc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Instrument, Repurchase Face Amount Plus Prepayment Premium + References No definition available. + Details
Name: | ofc_DebtInstrumentRepurchaseFaceAmountPlusPrepaymentPremium
Namespace Prefix: | ofc_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Line of Credit Facility, Extension Fee Percentage + References No definition available. + Details
Name: | ofc_LineofCreditFacilityExtensionFeePercentage
Namespace Prefix: | ofc_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line of Credit Facility, Maturity Date Extension, Number of Extensions + References No definition available. + Details
Name: | ofc_LineofCreditFacilityMaturityDateExtensionNumberofExtensions
Namespace Prefix: | ofc_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Net increase or decrease in the carrying amount of the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -URI https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_DebtInstrumentIncreaseDecreaseForPeriodNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage price of original principal amount of debt at which debt can be redeemed by the issuer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph e -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentRedemptionPricePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of the original debt instrument that was repurchased. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentRepurchasedFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted average interest rate of debt outstanding. + References No definition available. + Details
Name: | us-gaap_DebtWeightedAverageInterestRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12355-112629 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 50 -Section 40 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126972273&loc=d3e12317-112629 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_GainsLossesOnExtinguishmentOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Average amount borrowed under the credit facility during the period. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityAverageOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(b),22(b)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow during the period from additional borrowings in aggregate debt. Includes proceeds from short-term and long-term debt. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The cash outflow for debt initially having maturity due after one year or beyond the normal operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfLongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=ofc_SecuredOvernightFinancingRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_TermLoanFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_UnsecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A225SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A275SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=ofc_AdjustedTreasuryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A200SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A290SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A3.70SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A360SeniorNotesAnd525SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A3.60SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_A5.250SeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=ofc_FivePercentSeniorNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |