Organization (Details 2)  | 
6 Months Ended | 
|---|---|
Jun. 30, 2019  | |
| Corporate Office Properties, L.P. | Common Units | |
| Forms of ownership in Operating Partnership and ownership percentage by the entity | |
| Percentage ownership in operating partnership | 98.60% | 
| X | ||||||||||
- Definition Line items related to the percentage of classes of ownership in a subsidiary that are owned by the parent. No definition available. 
  | 
| X | ||||||||||
- Definition Percentage investment held by the managing member or general partner of the limited liability company (LLC) or limited partnership (LP). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |