My cat bites my electronic cords and chews on them. The cat has chewed through a couple cords already. What is a safe and effective way to get the cat to stop biting the cords?
I've made sure to have more cardboard boxes around for my youngest cat to shred and bite. Yeah, they're messy; but each trip to Costco gets me another box, and when he has other sacrificial victims, he spares my cords. (And my books.) Whenever he looked like he was about ready to puncture another cord, I'd distract him with a box or piece of cardboard.
Other things I've seen people do include wiping the cords' surfaces with lemon juice so that the cords taste nasty.
Ah yes, I had that problem with some of my cats, years ago.
If you have a sewing machine, you can create fabric "sleeves" for the cords. They should be loose-fitting tubes, wide enough to fit the plug through. You might think you should use thick fabric to protect the cord, but I actually recommend you use thin fabric, perhaps something fuzzy like flannel. The idea is to make it less satisfying to chew on.
Another thing is to make sure the cords don't dangle loosely, tempting the cat to bat at them and then bite them. Tucking them behind tables, sofas, etc. can help.
My cat gave up chewing on cables once he started going outside and had access to grass. When he had to stay indoors for a few months as an adult he took up chewing cables again, so we grew some cat grass in a small pot.
I also wrapped cables in polyethylene spiral cable wrap. It won't necessarily stop an adult cat, but it slows them down and gives you a fighting chance at rescuing that macbook power supply before it's too late.