For instance, in California, idling a vehicle for more than 5 minutes is generally considered a violation, and may result in a citation. Other states may have similar restrictions, so it is advisable to check the local regulations in the specific location where you intend to warm up your car.