Equity (Details) - USD ($) $ / shares in Units, $ in Millions  | 
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Jun. 30, 2019  | 
Jun. 30, 2018  | 
Jun. 30, 2019  | 
Jun. 30, 2018  | 
|
| Class of Stock [Line Items] | ||||
| Conversion of common units to common shares (in units/shares) | 5,500 | 53,817 | ||
| Dividends declared per share (in usd per share) | $ 0.275 | $ 0.275 | $ 0.55 | $ 0.55 | 
| Common Shares | Forward Equity Sale Agreement | ||||
| Class of Stock [Line Items] | ||||
| Number of shares issued | 1,600,000 | |||
| Proceeds from common shares issued under forward equity sale agreements | $ 46.5 | |||
| Common Shares | 2018 Common Stock Issued to Public Under At-the-Market Program | ||||
| Class of Stock [Line Items] | ||||
| Aggregate gross sales price | $ 300.0 | $ 300.0 | ||
| Corporate Office Properties, L.P. | ||||
| Class of Stock [Line Items] | ||||
| Dividends declared per share (in usd per share) | $ 0.275 | $ 0.275 | $ 0.55 | $ 0.55 | 
| X | ||||||||||
- Definition At Market Stock, Offering Program Established, Remaining Capacity No definition available. 
  | 
| 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. No definition available. 
  | 
| X | ||||||||||
- Definition Aggregate dividends declared during the period for each share of common stock outstanding. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Cash received on stock transaction after deduction of issuance costs. No definition available. 
  | 
| X | ||||||||||
- Definition The number of shares issued or sold by the subsidiary or equity method investee per stock transaction. No definition available. 
  | 
| X | ||||||||||
- Definition The number of shares issued during the period upon the conversion of units. An example of a convertible unit is an umbrella partnership real estate investment trust unit (UPREIT unit). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |