Exhibit 23.1 CONSENT OF INDEPENDENT ACCOUNTANTS We hereby consent to the incorporation by reference in the Registration Statement on Form S-3 (No. 333-71807), Form S-3 (No. 333-60379), Form S-3 (No. 333-36740), and Form S-8 (No. 333-88711) of Corporate Office Properties Trust of our report dated January 24, 2001 relating to the financial statements, which appears in the Annual Report to Shareholders, which is incorporated in this Annual Report on Form 10-K. We also consent to the incorporation by reference of our report dated January 24, 2001 relating to the financial statement schedules, which appears in this Form 10-K. /s/ PricewaterhouseCoopers LLP Baltimore, Maryland March 15, 2001