It is not recommended to install carpet over hardwood floors because it can damage the floor's finish. Plus, the staples or tacks used to secure the carpet can also scratch the hardwood. However, if you must install carpet over hardwood, be sure to use a heavy-duty carpet pad and avoid using tacks or staples.