To keep rodents out of your car engine, park in a garage if possible. Use rodent deterrents like peppermint oil or mothballs around the engine area. Regularly check under the hood for signs of rodents, such as droppings or nesting materials. Keeping the area clean and free of food scraps can also help.