Exhibit 23.1

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-267196) and Form S-8 (Nos. 333-259665, 333-264024, 333-270653, and 333-277999) of Markforged Holding Corporation of our report dated March 28, 2025 relating to the financial statements, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP

Boston, Massachusetts

March 28, 2025