No, not all frogs are nocturnal. Some frogs are diurnal and active during the day, while others are nocturnal. Nocturnal frogs hide from predators during the day and are active at night when the air is more humid. Therefore, the croaking of frogs is primarily heard at night.