I will discuss the possibility that the seeds for the cosmic magnetic fields are generated during inflation. Then I will discuss more generally possible non-Gaussian signatures of gauge field production during inflation, which when applied to scenarios of inflationary magnetogenesis can lead to new constraints on such scenarios.