# How long a day lasts on a Project Zomboid server and how to change it

> A Project Zomboid day lasts 1 h 30 min of real time by default. How to make it longer on a server, the nights, and why time runs or stops with nobody on.

Original page: https://napnodes.com/en/guides/project-zomboid-server-day-length · Updated: 2026-11-14

On your first evening on the server night falls twice, and by the time you finally have a base the power is already off. It isn't bad luck: a Project Zomboid day lasts an hour and a half of real time unless someone changes it. Here's how long each option lasts, what happens with the nights, why the clock sometimes runs with nobody on and how to set it to your pace.

## How long a day lasts by default

It's set by Day Length (DayLength, in the server's SandboxVars.lua), and by default it's 4: a whole in-game day, night included, lasts 1 hour and 30 minutes of real time. One in-game hour is about 3 minutes and 45 seconds.

At that pace the game moves faster than it looks: by default the power and water go off around day 14, which is about 21 hours of play. A group that plays two or three hours in the evening reaches the shutoff in one or two weeks of sessions.

## The DayLength options

They go from 15 minutes (1) to Real-time (27), where an in-game day lasts 24 real hours. In between: 30 minutes (2), 1 hour (3), 1 hour 30 minutes (4, the default), 2 hours (5) and, from there, hour by hour: 3 hours is 6, 4 hours is 7, and so on up to 23 hours, which is 26.

For a group of friends that plays a few hours a week, 2 or 3 hours (5 or 6) usually works well: there's time to loot a neighbourhood in daylight without night falling on you, and the power shutoff comes at 28 or 42 hours of play instead of 21. Real-time only makes sense on a server that's always on with people on it most of the day.

How many in-game days fit into your evenings, and how many hours you have left until the power goes, is worked out by [the Project Zomboid day length calculator](https://napnodes.com/en/tools/project-zomboid-day-length) with your day length.

## The nights: NightLength

Length of nights (NightLength) doesn't make the whole day longer: it splits the day you have between light and darkness. It has five values: 1, always night; 2, long; 3, normal (the default); 4, short; 5, always day.

If what bothers you is looting in the dark, 4 shortens the nights without touching the pace of the game. 5 removes night altogether: easier, but the tensest part of the game goes with it.

## Why time runs with nobody on, or stops

It's set by PauseEmpty, in the server's .ini, which comes as true: with the server empty the game clock stops, and whoever comes back finds the world as they left it. If someone has set it to false, time keeps running while the server is on, even with nobody there, and when you come back in-game days may have passed, with food rotting and the power shutoff closer.

For a group that plays now and then, leave it on true. False makes sense on a server with people at all hours, where the world shouldn't stop because one person leaves.

Sleeping is something else: time only speeds up if everyone connected is asleep, and how fast it goes is set by FastForwardMultiplier (40 by default). It's explained in [the guide to sleeping on a server](https://napnodes.com/en/guides/project-zomboid-sleep-server).

## The hour the first day starts

Start Hour (StartTime) decides what time of the first day everyone appears: by default 2, 9 in the morning. There are nine: 7 AM (1), 9 AM (2), 12 PM (3), 2 PM (4), 5 PM (5), 9 PM (6), 12 AM (7), 2 AM (8) and 5 AM (9). Starting at 9 PM (6) means starting with night upon you.

Like the start month and day, it counts when the world is created: in a game already under way the clock is already running. The month is covered in [the winter and seasons guide](https://napnodes.com/en/guides/project-zomboid-winter-seasons-server).

## Changing it with the game under way

DayLength and NightLength can be changed with the world already running: the server reads SandboxVars.lua when it starts, so the new pace counts from the next restart. The days you've already played aren't recalculated: if you were on day 10, you're still on day 10, only from then on each day lasts the new length.

The power and water shutoff is counted in in-game days, not real hours. So making the day longer with the game under way also gives you more real hours until the shutoff.

1. **Stop the server**: If you edit the file with the server running, it may write it back with what it had when it shuts down.
2. **Change DayLength**: In the server's SandboxVars.lua, for example `DayLength = 6,` for 3-hour days. Keep the comma at the end: it's a code file.
3. **Start it and check**: If the pace is the same when you join, see [why the settings don't save or don't apply](https://napnodes.com/en/guides/project-zomboid-server-settings-not-saving).

## With NapNodes

You don't need to open the file: in Settings, Day Length (in real time), Length of nights and Start Hour are in the World: time and start block, with each option by its name (“1 Hour, 30 Minutes”, “Real-time”…). Pause time when nobody is on (PauseEmpty) is at the top, in The essentials, and FastForwardMultiplier in Game and world. Each change saves itself, with no Save button, and counts after Restart.

To try the pace with your group without paying anything, the [free Project Zomboid server](https://napnodes.com/en/free/project-zomboid) has Build 42, 6 GB and these same settings in Settings, no card needed. It switches off after an hour with nobody on, and with PauseEmpty the world waits for you as it was; for a long session without waiting, the 7-day pass keeps it on.

## Questions

### How long is a day in Project Zomboid?

By default, 1 hour and 30 minutes of real time (DayLength = 4). One in-game hour is about 3 minutes and 45 seconds.

### How do I change the day length on a Project Zomboid server?

With DayLength in the server's SandboxVars.lua, with the server stopped: 5 is 2 hours, 6 is 3 hours and 27 is real time. It counts when you start it again.

### Can you change the day length mid-game?

Yes: the new pace counts from the next restart. The days already played don't change; only the ones to come last longer or shorter.

### Why does time pass on my Project Zomboid server with nobody on?

Because PauseEmpty is set to false. On true, which is how it comes, the clock stops with the server empty.

### How do I make the nights shorter?

With NightLength on 4 (short) or 5 (always day). It doesn't change how long the whole day lasts, only how much of it is night.

---

NapNodes gives you a free Project Zomboid server, no card and no end date: it isn't always on (it switches itself off after an hour with nobody on, and you start it again with one click). How it works: https://napnodes.com/en/free. Paid plans, always on and with no commitment: https://napnodes.com/en/pricing.
