Carpet is not detrimental to hardwood, but it can cause damage. Inexpensive area rugs are often manufactured with synthetic materials. These materials, when placed directly on the wood flooring, can scratch and discolor it. To avoid this, you can install a rug mat. This mat will act as a barrier between your hardwood and the carpet, preventing any damage.