Headlights are required when visibility is less than:

Iowa law requires drivers to use their headlights from sunset to sunrise. Headlights must also be used at any other time when visibility is limited to 500 feet or less.
DMV Writen Test