Usually not for a planned, non-emergency shutoff — but the answer depends on the jurisdiction, the lease, and whether the shutoff is an emergency repair. In most U.S. jurisdictions, landlords must give advance notice before interrupting essential services like water for scheduled repairs, and many states set a specific notice period (commonly 24 to 48 hours, though it varies widely). For a true emergency — a burst pipe, a gas or electrical hazard, or an active flood — a building generally may shut off water immediately and notify residents as soon as practicable. The question as phrased ("an apartment building") is ambiguous: it could mean the landlord/management acting under the lease, a utility acting under its own rules, or a homeowners' association or cooperative board. Each has a different legal footing, and none of these rules is uniform across the United States.

The core distinction: planned shutoffs vs. emergencies

The notice question almost always turns on why the water is being shut off.

Planned or scheduled work. If management is replacing a riser, repairing a main, testing backflow preventers, or doing scheduled maintenance, this is typically treated as a foreseeable interruption of an essential service. Many state landlord-tenant statutes require reasonable advance notice — often written — before entering or disrupting services. A common pattern is 24 hours' notice for entry, with service interruptions handled under the same or a separate provision. Some states and cities impose longer windows or require notice in writing delivered to each unit or posted conspicuously. Because these rules are set at the state and sometimes municipal level, there is no national "24-hour rule"; the applicable figure must be checked for the specific location.

Emergencies. When water is actively causing damage or creating a safety hazard, the balancing of interests flips. A landlord or building engineer who waits to give notice while a pipe discharges into a ceiling risks far greater harm. Emergency shutoffs are generally permitted without prior notice, but the obligation to notify residents "as soon as practicable" and to restore service promptly usually remains. What counts as an emergency is a genuine judgment call: a slow drip in a single unit may not justify a building-wide daytime shutoff, whereas a failed main valve or a leak threatening electrical panels plainly does.

Neglect rather than repair. A shutoff caused by the landlord's failure to pay the water bill, or by deferred maintenance, is a different category entirely. Many jurisdictions treat utility shutoffs resulting from landlord nonpayment as a breach of the implied warranty of habitability or as a prohibited interruption of essential services, sometimes triggering remedies like rent abatement, repair-and-deduct, or tenant-initiated legal action. Notice is not the central issue there — the underlying deprivation is.

Why the phrase "without notice" is doing a lot of work

Notice can mean several things, and the ambiguity matters:

Advance written notice to each affected unit, often posted on doors or in common areas. A general posting in a lobby or on a community board, which some buildings treat as sufficient for building-wide work but which may not satisfy statutes requiring individual notice. Verbal or informal notice, such as a text or a note from a super — convenient but often inadequate where written notice is mandated. No notice at all, which is generally defensible only in emergencies or where the lease and local law are silent and the interruption is brief.

A building might also argue that a short interruption — say, an hour to swap a valve — is de minimis and doesn't require the same formality as a multi-day outage. That argument has force in some places and less in others; duration, frequency, and whether hot water or drinking water is affected all bear on how a regulator or court would view it. Habitability standards often distinguish between lack of water as a serious condition and a brief, reasonable interruption for repairs.

The lease, the statute, and the local code all interact

Three sources of obligation usually apply at once, and they can conflict:

1: The lease. Many leases contain a "no abatement" or "interruption of services" clause acknowledging that water may be temporarily shut off for repairs. Such clauses are common but are not automatically enforceable if they purport to waive statutory habitability protections. A lease cannot generally authorize what local law forbids. 2: State landlord-tenant law. This is where notice periods, essential-service protections, and remedies live. Some states enumerate water and hot water as essential; others phrase the duty more generally as maintaining the premises in a fit and habitable condition. 3: Local building, plumbing, and health codes. Municipal codes may impose their own notice or permitting requirements for water shutoffs affecting multiple units, and health departments may have rules about potable water availability.

Because these layers differ by city and state, a resident in one jurisdiction may be entitled to 48 hours' written notice for a scheduled shutoff while a resident a few hundred miles away has only a general reasonableness standard. Treating any single number as universal is the most common error in this area.

What a resident can reasonably do

When a shutoff happens without notice, the practical questions are: Was it an emergency? How long did it last? Was water (and hot water) restored promptly? Did management communicate afterward? Documenting dates, times, duration, and any communications is useful regardless of jurisdiction, because both informal resolution and formal complaints depend on a clear record. A written request to management asking for the reason and the restoration timeline is a reasonable first step. If the interruption is prolonged or recurrent, local tenant advocacy organizations and the relevant housing or health agency are the usual channels; in serious cases, state law may provide remedies, but the specific remedy and procedure are jurisdiction-specific.

Short answer, restated precisely

For scheduled, non-emergency work, most U.S. jurisdictions require advance notice before a building shuts off water, though the required period, form, and exceptions vary by state and municipality and must be checked locally. For genuine emergencies, immediate shutoff without prior notice is generally permissible, with prompt follow-up notification and restoration expected. A landlord-caused shutoff from nonpayment or neglect is typically a separate habitability problem rather than a notice problem. The question cannot be answered with a single nationwide rule, and the phrase "apartment building" leaves open whether the actor is the landlord, a utility, or an association — each governed differently.