The effects of a long photoperiod treatment around parturition and throughout lactation on immune status of piglets were studied. Sows were assigned to 2 light regimens: i) standard short photoperiod (SP, n = 17), 8 h of daily light from d 112 of gestation until d 23 of lactation; and ii) long photoperiod (LP, n = 17), 23 h of daily light from d 112 of gestation to d 4 of lactation and 16 h thereafter. In front of the crates, under the side heat lamps and behind the sow, light intensities were 59 ± 5, 109 ± 6, and 44 ± 6 lx, respectively. On d 15 of lactation and at weaning (d 23), 2 piglets of similar BW per litter were selected and immunized intramuscularly with ovalbumin (OVA). Blood samples (5 mL serum and 10 mL whole blood) were taken at d 15 and d 23 of lactation, and at d 30, 37, and 44 of age after weaning to evaluate the antibody response to OVA and measure phagocytosis, lymphocyte proliferative response, and different circulating blood lymphocyte populations of piglets. Results showed that phagocytosis was increased in piglets submitted to LP (P < 0.05). A treatment × time interaction (P < 0.001) indicated that SP piglets developed a better IgG response to OVA than LP piglets. The percentage of B lymphocytes was also increased (P = 0.02) in SP piglets compared with piglets exposed to LP during lactation; the lymphocyte response to OVA tended to be enhanced (P = 0.07) over time in SP piglets. Different subpopulations of CD8+ lymphocytes were markedly increased in SP piglets at 23 d of age compared with piglets exposed to LP (treatment × time: P < 0.05). These results suggest that exposure of piglets to LP during lactation seems to reduce the capacity of piglets to develop a strong immune response to novel antigens. This may have important consequences on the ability of piglets to resist an infection after weaning.