Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statements on Form S-8 (File No. 333-223950 and File No. 333-225439) and on Form S-3 (File No. 333-226787 and File No. 333-228882) of SG Blocks, Inc. of our report dated March 28, 2019, relating to the consolidated financial statements appearing in this Annual Report on Form 10-K of SG Blocks, Inc. for the year ended December 31, 2018.

/s /Whitley Penn LLP

Dallas, Texas

March 28, 2019