Yes, it is important to check building codes and regulations before constructing a hearth. Building codes may dictate the size, thickness, and materials allowed for hearths in your area. It's important to comply with these regulations for safety and legal reasons.