No, laundry detergent will not ruin a carpet cleaner. However, it is important to use the correct type of detergent for your specific machine. If you are unsure which one to use, check the manufacturer's instructions or contact customer service for advice. Additionally, using too much detergent can cause residue buildup in the machine and on carpets over time so be sure to follow directions carefully when measuring out detergents.