Exhibit 5.1



111 S. Calvert Street

27th Floor

Baltimore, MD 21202-6174

Tel 410.528.5600

Fax 410.528.5650


November 15, 2022

Orion Office REIT Inc.

2325 E. Camelback Road, Suite 850

Phoenix, Arizona 85016



Orion Office REIT Inc., a Maryland corporation (the Company)

Ladies and Gentlemen:

We have acted as Maryland corporate counsel to the Company in connection with certain matters of Maryland law arising out of the registration of shares of common stock, par value $0.001 per share (“Common Stock”), of the Company having a maximum aggregate offering price of $100,000,000 (the “Shares”) to be sold in an at-the-market offering (the “Offering”), pursuant to the Registration Statement on Form S-3 (Registration No. 333-268121) filed with the United States Securities and Exchange Commission (the “Commission”) on November 2, 2022 (the “Registration Statement”), under the Securities Act of 1933, as amended (the “Act”). You have requested our opinion with respect to the matters set forth below.

In our capacity as Maryland corporate counsel to the Company and for the purposes of this opinion, we have examined originals, or copies certified or otherwise identified to our satisfaction, of the following documents (collectively, the “Documents”):

(i) the corporate charter of the Company represented by Articles of Incorporation filed with the State Department of Assessments and Taxation of Maryland (the “Department”) on July 1, 2021 and Articles of Amendment and Restatement filed with the Department on November 10, 2021 (the “Charter”);

(ii) the Amended and Restated Bylaws of the Company, dated as of November 15, 2021 (the “Bylaws”);

(iii) resolutions adopted by the Board of Directors of the Company, on or as of November 1, 2022 (collectively, the “Directors’ Resolutions”);

(iv) the Registration Statement and the related base prospectus dated November 2, 2022 (the “Base Prospectus”), and the related prospectus supplement dated November 15, 2022 (the “Prospectus Supplement” and together with the Base Prospectus, the “Prospectus”);

(v) a copy of the fully executed Equity Distribution Agreement, dated as of November 15, 2022 (the “Equity Distribution Agreement”), by and among the Company, Orion Office REIT LP, a Maryland limited partnership of which the Company acts as the general partner (the “Operating Partnership”), each of J.P. Morgan Securities LLC, Mizuho Securities USA LLC, Scotia Capital (USA) Inc., TD Securities (USA) LLC and Wells Fargo Securities, LLC (each, an “Agent,” and collectively, the “Agents”), and each of JPMorgan Chase Bank, National Association, Mizuho Markets Americas LLC, The Bank of Nova Scotia, The Toronto-Dominion Bank and Wells Fargo Bank, National Association (each, a “Forward Purchaser,” and collectively, the “Forward Purchasers”);


Orion Office REIT Inc.

November 15, 2022

Page 2


(vi) a certificate of Paul C. Hughes, General Counsel and Secretary of the Company, and Gavin B. Brandon, Chief Financial Officer, Executive Vice President and Treasurer of the Company, dated as of a recent date (the “Officers’ Certificate”), to the effect that, among other things, the Charter, the Bylaws, and the Directors’ Resolutions are true, correct and complete, have not been rescinded or modified and are in full force and effect on the date of the Officers’ Certificate and certifying as to the form, approval, execution and delivery of the Equity Distribution Agreement;

(vii) a status certificate of the Department, dated as of a recent date, to the effect that the Company is duly incorporated and existing under the laws of the State of Maryland and is duly authorized to transact business in the State of Maryland; and

(viii) such other laws, records, documents, certificates, opinions and instruments as we have deemed necessary to render this opinion, subject to the limitations, assumptions and qualifications noted below.

In reaching the opinions set forth below, we have assumed the following:

(a) each person executing any of the Documents on behalf of a party (other than the Company) is duly authorized to do so;

(b) each natural person executing any of the Documents is legally competent to do so;

(c) any of the Documents submitted to us as originals are authentic; any of the Documents submitted to us as certified or photostatic copies conform to the original documents; all signatures on all of the Documents are genuine; all public records reviewed or relied upon by us or on our behalf are true and complete; all statements and information contained in the Documents are true and complete; there has been no modification of, or amendment to, any of the Documents, and there has been no waiver of any provision of any of the Documents by action or omission of the parties or otherwise;

(d) the Officers’ Certificate and all other certificates submitted to us are true and correct both when made and as of the date hereof;

(e) the Company has not, and is not required to be, registered under the Investment Company Act of 1940;


Orion Office REIT Inc.

November 15, 2022

Page 3


(f) none of the Shares will be issued or transferred in violation of the provisions of Article VI of the Charter relating to restrictions on ownership and transfer of shares of stock of the Company;

(g) none of the Shares will be issued and sold to an Interested Stockholder of the Company or an Affiliate thereof, all as defined in Subtitle 6 of Title 3 of the Maryland General Corporation Law (the “MGCL”), in violation of Section 3-602 of the MGCL;

(h) the aggregate offering price of all of the Shares will not exceed $100,000,000;

(i) the price per share to be received by the Company for each of the Shares to be issued and sold pursuant to the Equity Distribution Agreement will be determined in accordance with, and will not be less than the applicable minimum price per share set forth in, the Directors’ Resolutions; and

(j) upon each issuance of any of the Shares subsequent to the date hereof, the total number of shares of Common Stock of the Company issued and outstanding, after giving effect to such issuance of such Shares, will not exceed the total number of shares of Common Stock that the Company is authorized to issue under its Charter.

Based on the foregoing, and subject to the assumptions and qualifications set forth herein, it is our opinion that, as of the date of this letter:

1. The Company has been duly incorporated and is validly existing as a corporation in good standing under the laws of the State of Maryland.

2. The Shares to be issued in the Offering have been duly authorized by all necessary corporate action on the part of the Company, and when such Shares are issued and delivered by the Company in exchange for payment therefor, in accordance with the Equity Distribution Agreement and the Directors’ Resolutions, such Shares will be validly issued, fully paid and non-assessable.

The foregoing opinions are limited to the substantive laws of the State of Maryland, and we do not express any opinion herein concerning any other law. We express no opinion as to the applicability or effect of any federal or state securities laws, including the securities laws of the State of Maryland, or as to federal or state laws regarding fraudulent transfers. To the extent that any matter as to which our opinions are expressed herein would be governed by the laws of any jurisdiction other than the State of Maryland, we do not express any opinion on such matter.

This opinion letter is issued as of the date hereof and is necessarily limited to laws now in effect and facts and circumstances presently existing and brought to our attention. We assume no obligation to supplement this opinion letter if any applicable laws change after the date hereof, or if we become aware of any facts or circumstances that now exist or that occur or arise in the future and may change the opinions expressed herein after the date hereof.


Orion Office REIT Inc.

November 15, 2022

Page 4


We consent to your filing this opinion as an exhibit to the Company’s Current Report on Form 8-K relating to the Shares, which is incorporated by reference in the Registration Statement, and further consent to the filing of this opinion as an exhibit to the applications to securities commissioners for the various states of the United States for registration of the Shares. We also consent to the identification of our firm as Maryland corporate counsel to the Company in the section of the Registration Statement entitled “Legal Matters”. In giving this consent, we do not admit that we are within the category of persons whose consent is required by Section 7 of the Act.


Very truly yours,
/s/ Ballard Spahr LLP