EX-23 5 ex2312312024.htm EX-23
Exhibit 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in the Registration Statement on Form S-3 (No. 333-277877) of Gladstone Commercial Corporation of our report dated February 18, 2025 relating to the financial statements, financial statement schedule and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP
Washington, DC
February 18, 2025