EX-23.1 5 cix-20241231xex23d1.htm EX-23.1

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statement on Form S-8 (No. 333-181794) of CompX International Inc. of our report dated March 5, 2025 relating to the financial statements, which appears in this Form 10-K.

​

2 | ​
/s/ PricewaterhouseCoopers LLP | ​
Dallas, Texas | ​
March 5, 2025 | ​

​