Untreated 2x4s can be used for firewood but avoid burning treated or painted wood due to toxic fumes.