We show that following infection under light exposure, a greater pro-inflammatory response was elicited when compared with the response under darkness, as evidenced by higher expression levels of the zebrafish genes: tnf-a, cxcl8a and ifng1-1. Here, TNF is linked to infection.