Riboflavin (RF) or vitamin B2 is known to have neuroprotective effects. In the present study, we report the attenuation of the neuroprotective effects of RF under UV-B irradiation. Preconditioning of UV-B irradiated riboflavin (UV-B-RF) showed attenuated neuroprotective effects compared to that of RF in SH-SY5Y neuroblostoma cell line and primary cortical neurons in vitro and a rat model of cerebral ischemia in vivo.