Exhibit 23
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We hereby consent to the incorporation by reference in the Registration Statements on Form S‑3 (No. 333-229209 and 333-236143) of Gladstone Commercial Corporation of our report dated February 16, 2021 relating to the financial statements and financial statement schedule and the effectiveness of internal control over financial reporting, which appears in this Form 10‑K.
 
/s/ PricewaterhouseCoopers LLP
McLean, Virginia
February 16, 2021