EX-23 5 bexhibit2312312023.htm CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM Document

EXHIBIT 23

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (Nos. 333- 271743, 333-266134, 333-205952, 333-150741, and 333-133597) of Barnes Group Inc. of our report dated February 26, 2024 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
Hartford, Connecticut
February 26, 2024