A dairy barn lighting plan needs to do more than make the building bright. Lactating cows generally benefit from 16–18 hours of light at about 150–200 lux, followed by 6–8 hours of darkness. Dry cows are better managed on a shorter day, commonly 8 hours of light and 16 hours of darkness. The lighting layout must also give staff enough light to work safely without illuminating resting cows throughout the night.
The practical approach is to plan the barn in three layers: light levels at cow height, separate control for different groups and work areas, and a dark period that remains dark after the daytime lights switch off. Roof height, open sidewalls, curtains, fans and the position of the feed alley all affect whether that plan works.

How Much Light Do Dairy Cows Need?
Light intensity and hours of exposure are two different specifications. Lux measures the illumination reaching a surface; the photoperiod describes how long the cow is exposed to light and darkness during a 24-hour day. Both matter.
| Cow group | Common lighting plan | Main design concern |
|---|---|---|
| Lactating cows | 150–200 lux at cow level for 16–18 hours; 6–8 hours of darkness | Adequate coverage throughout resting and feeding areas, followed by a continuous dark period |
| Dry cows | Short-day management commonly uses 8 hours of light and 16 hours of darkness | Keeping daylight and light from nearby lactating groups out of the dark period |
| Close-up and maternity groups | Lighting scheduled around the actual animal group and necessary care | Independent controls and safe task lighting during examinations or calving |
| Milking and service areas | Lighting appropriate to the work being performed | Safe visibility at the udder, walking routes, equipment and controls without unwanted spill into housing areas |
These are photoperiod-management references, not one universal building-code schedule. The University of Wisconsin–Madison Division of Extension describes 150–200 lux and a 16–18-hour light period for lactating cows. Ontario's dairy lighting guidance also emphasizes an uninterrupted dark period and different management for dry cows.
Why light and darkness affect milk production
Day length is a biological signal, not just a way to improve visibility. Melatonin normally rises during darkness, helping cattle register the light–dark cycle. Research on lactating cows links longer daily light exposure with increased circulating insulin-like growth factor I (IGF-I), one possible mediator of the milk-yield response. A review of photoperiod and lactation describes increases of roughly 2–3 kg of milk per cow per day in studies comparing long- and short-day conditions; an earlier controlled trial found a measurable production difference after about 28 days. These are research results, not a yield forecast for a particular herd.
Dry cows respond differently. Studies comparing 8 hours of light and 16 hours of darkness with a long-day schedule found lower circulating prolactin during the dry period but greater prolactin-receptor expression in mammary tissue around the transition to lactation. This is a proposed route by which short-day management can support mammary responsiveness and milk production after calving. See the dry-period prolactin-receptor study.
That physiology explains why the two groups need different schedules. It also explains why 24-hour lighting is not a substitute for long-day management: the cows still need a predictable, uninterrupted dark period. Evaluate milk yield and feed intake against the herd's original lighting conditions rather than attributing every change to the new fixtures.
A simple daily lighting schedule
A farm choosing a 16-hour light period for a lactating group might operate its main housing lights from 05:00 to 21:00, then provide 21:00 to 05:00 as the eight-hour dark period. Daylight may provide some or most of the required brightness; controlled lighting fills the gap when the barn is too dim.
A dry-cow area using an eight-hour light period might follow 08:00 to 16:00, with darkness for the remaining 16 hours. These are example schedules, not fixed times for every dairy. The important point is that the actual light exposure matches the chosen schedule, including daylight entering the building.

Divide the Lighting Plan by Barn Zone
A barn should not be treated as one large lighting circuit simply because it has a common roof. Start with the animal groups and the work performed in each area.
| Barn zone | What to check before placing fixtures | Control approach |
|---|---|---|
| Lactating-cow resting stalls | Light reaching the stalls, shadows from roof members, coverage between fixture rows | Main lactating-group photoperiod circuit |
| Feed bunk and feeding alley | Cow exposure at the feed line, plus visibility for feeding and cleaning | Usually coordinated with the group's daytime program; separate task lights where necessary |
| Crossovers and drinking points | Dark spots, abrupt light transitions and fixture glare | Coverage matched to the adjoining group, with safe passage lighting |
| Dry-cow housing | Leakage from windows, translucent panels, adjoining groups and service corridors | Separate schedule and, when necessary, physical light blocking |
| Maternity and observation pens | Clear visibility during calving, treatment and animal checks; brighter task lighting when detailed work is performed | Separate, directed and adjustable task lights that operate only when needed |
| Milking parlor, holding area and service access | Visibility at the udder and teat, pit floor, cow exits and operating controls | Task-specific circuits independent of resting-area lighting |
Use task-lighting values at the task location, not as a blanket specification for the entire barn. Ontario's dairy facility lighting reference lists 500 lux in the parlor pit and near the udder for detailed inspection, about 200 lux for parlor stalls and return lanes, and 100 lux for the holding area. These are practical design references to check against local requirements and the farm's actual work. A maternity pen may need temporary examination lighting, but it does not follow that every calving pen must remain at 200–300 lux through the night. Where the project includes a herringbone milking parlor, assess the operator's view of the udder rather than measuring only the room's general brightness.
This distinction becomes especially important when lactating cows, dry cows and maternity pens occupy different sections of one long building. Separate switches alone are insufficient if the dry-cow pens remain brightly lit through open partitions or a shared translucent roof.
For a new barn, align animal-group boundaries, lighting circuits and switching schedules in the early layout. Where existing wiring allows only whole-building switching, a retrofit may require new circuits, targeted shading or a different housing arrangement. A genuinely dark dry-cow area may be easier to achieve in a separate building.
Our broader commercial dairy farm layout guide covers herd zoning and utilities. Lighting design should use that same group layout without duplicating the whole site-planning exercise. For example, the position of feeding headlocks and feed barriers affects both the cow's working space and the location of shadows at the feed line.
Combine Natural Daylight With Artificial Lighting
Natural daylight can provide much of the brightness in an open or naturally ventilated barn, but it changes with weather, season, roof geometry and curtain position. Supplementary lighting must account for these changes.
Start by checking four aspects of the building:
- Side openings and curtains. Open sidewalls may illuminate the perimeter well while leaving the center under a broad roof dim. Closed winter curtains can change the pattern considerably.
- Ridge openings and roof panels. These can help daylight reach the center, but their placement must also be checked against ventilation, leakage, glare and solar heat gain.
- Shadows and obstructions. Deep eaves, interior columns, neighboring buildings and large equipment can affect the amount and direction of light.
- Seasonal operation. A barn that looks bright at noon in summer may need substantial supplemental lighting during winter mornings and cloudy days.
Does barn orientation matter?
Yes, but it should be decided together with ventilation and heat control. In many warm-climate dairy layouts, an east–west barn axis can help limit direct solar exposure beneath the roof. The Wisconsin Extension discussion of natural ventilation explains why this orientation is often useful for reducing summer heat gain. Prevailing wind, site access, terrain and local latitude may change the best choice.
Lighting alone should not dictate the building orientation. A large clear roof area that admits more daylight but also raises the cows' solar heat load can work against the barn's cooling plan. Coordinate roof openings, curtains, shade and dairy barn fan operation rather than selecting them separately.
Plan Fixture Positions From the Cow Areas, Not Only the Floor Area
Barn length and width are useful inputs, but they do not tell a lighting supplier where dark patches will appear. Fixture height, beam distribution, roof slope and structural obstructions are just as important.
Before preparing a lighting layout, collect:
- A dimensioned plan and section showing roof ridge, eave height, columns and beams.
- The actual cow groups, resting stalls, feeding alleys, crossovers and service routes.
- Sidewall openings, curtains, roof daylight panels and nearby structures.
- Fans, sprinklers, feed equipment and any installations that could obstruct a light beam or complicate maintenance.
- Electrical supply information, existing circuits where applicable, washing conditions and operating schedules.
A concept layout can show estimated fixture locations, mounting heights, circuits and the areas needing separate control. Once a fixture model is selected, the supplier should use its photometric distribution data—typically an IES or LDT file—to check the actual illuminance pattern in software such as DIALux or an equivalent lighting-design tool.
Fixture wattage alone cannot answer whether the cows will receive 150–200 lux. A 100 W light with a narrow beam can produce a very different result from a 100 W light with a broad distribution. Mounting height and losses from dirt or aging also affect the delivered illumination.

The layout should also leave service access for cleaning and replacement. A fixture directly above a difficult-to-reach pen or blocked by a large circulation fan may create a maintenance problem even if the initial light calculation looks satisfactory.
Check moving fan shadows before fixing the light locations. If an overhead lamp or skylight is directly above the swept area of a horizontal high-volume, low-speed (HVLS) fan, its rotating blades can interrupt the beam and cast repeating moving shadows across the floor. An HVLS fan installation manual specifically advises against mounting fans directly beneath lights or skylights for this reason. Coordinate fixture positions with the actual barn ventilation fans, blade clearance, structural supports and required service access.
Measure Light at Cow Eye Level
A light meter gives a more useful answer than judging brightness from the barn entrance. For a photoperiod survey, measure where cows spend time and use a consistent method.
A University of Wisconsin–Madison field assessment measured illuminance along dairy barns at cow-eye level, with readings spaced approximately three meters apart along the building in several surveyed barns. A published study of light responses in dairy cows used a measurement height around 1.25 m above the floor for standing cattle. The height and sensor orientation should be defined in the project test protocol and kept consistent when the farm repeats the measurements.
A practical survey includes these steps:
- Mark measurement points on the barn plan, including stalls, feeding positions, crossovers and locations beside columns. Add points in any visibly dark areas.
- Record fixture status, daylight conditions, curtain positions and the time of each test.
- Use a suitable calibrated lux meter, keeping its sensor at the agreed height and orientation. Avoid shading the sensor with the person taking the reading.
- Measure the main artificial-lighting condition after daylight has fallen sufficiently to make the result meaningful. Survey daylight separately when assessing natural-light contribution.
- Record both individual points and a zone average. Test the night mode separately with the intended night-time circuits operating.
Why an average lux reading is not enough
Consider this illustrative set of six daytime measurements from one group area:
| Measurement point | Illuminance |
|---|---|
| A | 178 lux |
| B | 160 lux |
| C | 182 lux |
| D | 145 lux |
| E — behind a column | 103 lux |
| F | 169 lux |
| Average | 156 lux |
The average is approximately 156 lux, but Point E is much darker than the other locations. The minimum-to-average ratio is 103 ÷ 156.2 ≈ 0.66. That ratio describes the pattern; acceptance should be based on the project's specified illuminance and uniformity criteria, not a threshold invented after installation.
A lighting adjustment could involve repositioning a fixture, changing its beam distribution or adding coverage near the obstructed area. Simply increasing every fixture's power may raise electricity use without correcting the underlying shadow.
Keep Nighttime Darkness Separate From Work Lighting
Lighting schedules are often compromised by necessary activities: late milking, a maternity check, manure removal or a worker walking through the barn. The best response is to light the task, not the entire resting area.
For example, a farm can use:
- Day mode: the main housing circuits provide the chosen cow-level brightness for the required light period.
- Night work mode: lights in the parlor, service corridor or examination pen operate as needed, while other cow-housing circuits remain off.
- Dark-period mode: the housing lights stay off and the farm checks for stray light from adjacent areas, building openings and security fixtures.
Where staff must observe cattle during the dark period, directed, low-intensity lighting is preferable to continuous bright white light. Dim red lighting is used on some farms because cattle's visual system is less sensitive to longer-wavelength red light than to blue-green light. Cattle have dichromatic color vision; that does not mean red light is invisible to them. Ontario's photoperiod guidance discusses low-intensity red lamps for night observation, while a study of bovine color vision identifies the two cone sensitivity bands. A lamp labeled red, or one emitting around 620–650 nm, is not automatically harmless at any intensity: check its spectrum, beam direction, illumination at cow level and operating hours.
As a practical dark-period screening target, aim for very low residual illumination, typically no more than about 10 lux in cow resting areas, subject to the farm's agreed protocol. In a controlled study of dairy heifers, 5 and 10 lux did not alter measured nighttime melatonin, whereas 50 lux suppressed it during the early hours of exposure. This supports a low-light approach, but does not establish a universal spectral safety threshold for every cow and lamp. Switch brighter examination lights off after the work ends.
Two frequently overlooked routes for light leakage are an open passage between the milking area and resting stalls, and light passing through curtains, roof openings or partitions between lactating and dry-cow groups. Physical separation may be needed, provided it does not interfere with required ventilation or emergency access.
Choose Fixtures for the Actual Barn Environment
Dairy barns combine moisture, airborne dust, cleaning chemicals, ammonia exposure and maintenance at height. The fixture specification should cover the complete installed assembly, not just the LED board.
Environmental protection. For many dusty or damp barn locations, buyers may consider fixtures with a tested ingress-protection rating such as IP65. Where equipment is directly exposed to more demanding washdown, review the cleaning pressure, temperature, direction and detergent before selecting a fixture. An IP69/IP69K test concerns high-pressure, high-temperature jet exposure (see the JQA summary of IP testing); it is relevant only where the actual application requires that protection. A rating does not establish chemical resistance or durability in ammonia by itself.
Light distribution and optical specification. Request the manufacturer's complete-luminaire output (lumens), efficacy (lm/W), IES/LDT photometric file, beam distribution and maintenance information. A neutral-white LED option around 4,000–5,000 K and a color-rendering index (CRI/Ra) of 80 or above may be considered for staff work areas, particularly when inspecting teat condition or equipment. Neither color temperature nor CRI alone proves that the cow-level photoperiod target is achieved; the actual spectrum matters too. If a catalog quotes 130–160 lm/W, verify that the figure applies to the complete proposed fixture under rated conditions rather than the LED chip. Compare measured lux at cow level instead of selecting by watts.
Electrical and mechanical safety. Check cable entry seals, suitable wiring methods, corrosion-resistant brackets and fasteners, protective bonding/earthing where required, and the placement of junction boxes. A locally qualified electrician should check the installation against the applicable electrical code. Protect components from washdown and contact with cattle or moving equipment.
Maintenance. Include a practical route for inspecting lenses, removing dirt, checking supports and replacing failed fixtures. The long-term result depends on fixtures remaining clean, correctly aimed and functional.
What Should Be Checked After Installation?
Commissioning should verify both the lighting distribution and the switching behavior. A handover record should make later checks repeatable.
| Test condition | What to record |
|---|---|
| Artificial daytime lighting, with daylight excluded as far as practical | Illuminance at the mapped cow-level points; average and lowest readings by zone |
| Normal daytime operation | How daylight, curtains and switching affect the actual light period |
| Each control circuit operating separately | Which fixtures switch on, which group they serve and whether adjoining zones remain unaffected |
| Scheduled dark period | Residual light at resting and feeding positions, including spill from work lights and exterior fixtures |
| Nighttime work mode | Visibility at the operator's task and unwanted light reaching neighboring cow groups |
| Final electrical and control checks | Approved circuit schedules, timers, dimming behavior, protection and corrective actions |
Keep the drawing with numbered measurement points, the readings, the control schedule and any subsequent adjustments together. If the barn later develops dark patches, the farm can compare new readings with the commissioning record and check for dirty lenses, failed lamps, revised curtains or other changes.
The measurements and electrical acceptance checks should be performed by a qualified local installer or lighting professional under an agreed test procedure. For a retrofit, document the existing circuits before recommending new switching groups.
How NexAgri Can Support a Complete Barn Project
Lighting is one part of a usable dairy barn, alongside cow stalls, feeding arrangements, fans, water systems and service access. NexAgri can coordinate lighting equipment as part of a complete barn equipment package rather than offering it as a standalone lighting product line.
With building drawings and group information, we can help develop a concept lighting arrangement, including likely fixture positions, group-based circuit boundaries and coordination with fans, roof members and barn equipment. At the detailed-layout stage, we can work with the selected lighting supplier on fixture selection, mounting and control-circuit coordination.
Photometric calculations, formal lighting design documents and on-site illuminance verification should be assigned to a lighting supplier or qualified specialist with the necessary design and testing capability.
For a new barn or retrofit, it helps to share the building plan, section heights, animal-group layout, intended light-and-dark schedules, photographs, existing electrical information and destination country. These are the inputs needed to discuss lighting alongside the rest of the barn equipment scope. Contact NexAgri to discuss a coordinated dairy barn equipment project.
Frequently Asked Questions
Why should dairy cows not have bright white lights on for 24 hours?
A long-day program still needs 6–8 continuous hours of darkness for lactating cows. Constant bright light removes the clear daily light–dark signal; it does not produce the same photoperiod response as 16–18 hours of controlled lighting followed by a dark period.
Why do dry cows need a shorter day than lactating cows?
An 8-hour light and 16-hour dark schedule during the dry period has been linked to lower circulating prolactin and increased prolactin-receptor expression in experimental studies. This may improve mammary responsiveness and milk production in the following lactation. Dry cows must be protected from daylight and light spill during their longer dark period.
Can red lights be used to check cows at night?
Low-intensity, directed red lighting can help staff observe cattle without switching on the main barn lights. Keep the beam directed toward the inspection route, measure residual illumination in resting areas, and check the lamp's actual brightness and spectrum.
How much light is needed in a milking parlor pit?
For detailed udder and teat examination, about 500 lux near the udder and operator working position is an established design reference in Ontario's dairy lighting guidance. General parlor circulation and holding areas can use different targets. Measure the work surface or inspection position, not only the floor directly beneath the ceiling lamp.
How should a dairy barn's actual lighting levels be checked?
Mark points in resting stalls, at feed lines, along crossovers and beside potential obstructions. Use a suitable lux meter at a consistent cow-eye-height test plane (often around 1.2–1.25 m for standing-cow surveys), record individual readings as well as the zone average, and test day mode and dark-period mode separately. Keep the measurement map and control schedule for later comparison.
Conclusion
A good dairy barn lighting plan is defined by where light reaches the cows, when each group receives it, and whether darkness is protected after the lights switch off. Plan lactating and dry-cow schedules separately, coordinate daylight with ventilation and curtains, and use cow-level lux measurements to confirm coverage rather than judging the installation by lamp wattage. Dedicated work-area circuits and a documented handover test turn those planning targets into a system the farm can operate and maintain.


