An apartment building can exit through a garage only when the route from the building's occupied spaces through the garage to the public way is a legally recognized means of egress—meaning it has the required fire separation, door hardware, lighting, marking, and discharge—and in most U.S. codes a parking garage is not permitted to serve as the sole exit path from dwelling units or sleeping areas; the garage can be part of an exit route or a permitted discharge point, but it generally cannot be the only way out.

The question is short and the answer is jurisdiction-dependent, so the ambiguity needs to be stated plainly. "Exit through a garage" can mean at least four different things: (1) the garage is the discharge point where an exit stair or exit passageway ends, so people emerge into the garage and then reach the street; (2) residents walk from a corridor or lobby through the garage to get outside; (3) a dwelling unit has a door directly into a private or shared garage and that door is counted as one of the unit's required exits; or (4) the garage door itself (the vehicle overhead door) is being treated as a pedestrian exit. The applicable building code, the building's occupancy classification, its height and area, whether the garage is attached or detached, and whether it is a private garage for one unit or a shared parking structure all change the answer. Because no code edition or jurisdiction is supplied with the query, the discussion below explains the governing principles under the widely adopted International Building Code (IBC) family of model codes and its residential counterpart, the International Residential Code (IRC), while flagging where local amendments control.

What "exit" means in building codes

In U.S. model codes, "exit" is a defined term of art. The means of egress is the continuous and unobstructed path of travel from any point in a building to a public way, and it has three parts: the exit access (the path within the occupied space, such as a corridor), the exit (the protected component, such as an enclosed stairway, an exit passageway, or an exterior door at grade), and the exit discharge (the path from the exit to the public way). A garage is a space, not automatically an exit. So the real question is whether a route passing through a garage can serve as exit access, as the exit itself, or as exit discharge—and each role has its own rules.

This distinction is why the colloquial phrasing "exit through a garage" is misleading. A person can physically walk out through a garage in almost any building. The code question is whether that path legally counts toward the required number of exits and whether it is safe enough to be a permitted egress route.

The core principle: a garage is usually not a permitted sole exit

The most important rule is that dwelling units and sleeping rooms need a certain number of exits, and a garage is generally not allowed to be the only one. Under the IBC, a single-family dwelling or a dwelling unit in a building typically needs one exit access door, but that door must open directly to a public way, to an exterior exit access, or to a corridor that leads to a permitted exit—not through a garage that lacks the required protection. For residential occupancies, the IRC requires that every dwelling unit have a means of egress, and it specifically limits how a garage can be used.

In practical terms, the common pattern in U.S. residential construction is a door from the house into an attached garage, but that door is a convenience door, not a code-counted exit. The required exit from the dwelling is typically a front door, a back door, or a door to an exterior stair or corridor. The garage door into the house is allowed because it improves livability, not because it satisfies egress. If the only way out of an apartment were through the garage, most code officials would reject it for the simple reason that a garage is a fire hazard—vehicles, fuel, and stored combustibles—and a fire in the garage could block the sole path.

There is a narrow exception pattern worth naming. In some configurations, a garage can be part of the exit discharge. For example, an enclosed exit stair from an upper floor may discharge into a garage at grade, provided the discharge path is protected, marked, and leads to the exterior without passing through hazardous areas. The garage in that case is not the exit; it is where the exit ends, and the code imposes conditions on that discharge. Similarly, a basement or ground-floor apartment might have a door into a shared garage that opens to the street, but that arrangement typically requires the garage to be separated from the apartment by fire-rated construction and the path to be an approved exit access.

The fire separation requirement

The single most common reason a garage cannot serve as an exit is the required fire separation between a garage and the occupied space. Under the IRC, an attached garage must be separated from the dwelling by a minimum fire rating—commonly ½-inch gypsum board on the garage side of walls, or an equivalent—and the door between the garage and the house must be a solid wood or solid-core door, often with self-closing hardware, and not less than 1⅜ inches thick. The IBC imposes similar separation requirements for private garages and more stringent requirements for public parking garages, which are classified as a separate occupancy (Group S-2) and must be separated from residential occupancies by fire barriers with a rating that depends on the building's construction type and the garage's size.

This separation matters for egress because a door that is part of a required exit path must be protected from fire for the duration of the occupant load's evacuation. A garage door into a dwelling unit that is not fire-rated, or that has a pet door, a glass panel, or inadequate clearance, would not qualify. The code's logic is that a garage fire can grow quickly and produce toxic smoke, so treating the garage as a safe egress route requires the same protection as any other exit component. If the separation is missing or compromised, the route through the garage is not a code-compliant exit.

Door hardware, swing, and clearance

Even when the geometry works, the door itself must meet egress requirements. Egress doors must be side-hinged (or otherwise approved as a permitted alternative), must swing in the direction of travel when serving an occupant load of 50 or more or when the door is part of an exit, and must be openable from the inside without a key, special knowledge, or effort. The door must provide a clear opening width—typically 32 inches minimum for residential egress—and must not be blocked by steps, thresholds, or stored items on the garage side.

Garage doors are a special case. An overhead sectional garage door is not a pedestrian egress door. Even if it has a pedestrian pass door built into it, that pass door must meet the same hardware and clearance requirements. Many jurisdictions specifically prohibit using a vehicle garage door as a required exit because it can be disabled by a power failure, a broken spring, or a locked track. The practical point: a person can leave through a garage's pedestrian door, but the overhead vehicle door is not a code exit.

Lighting, marking, and exit signs

A garage used as part of an egress path must have adequate illumination, and in commercial or multi-unit settings the path must be marked with exit signs where required. The IBC requires means-of-egress illumination and, for certain occupancies, exit signs at exits and at points where the direction of travel is not obvious. A shared apartment garage that serves as exit discharge would typically need illuminated exit signage directing occupants to the exterior, and the path from the garage to the public way must be continuous and unobstructed.

This is a frequent real-world failure. Even where a garage door physically opens to a driveway, the driveway might be blocked by a gate, a parked car, or a fence, which would defeat the exit discharge. The code requires the discharge to lead to a public way or an approved area, and a driveway that dead-ends at a locked gate is not a compliant discharge.

Number of exits and the "remote" requirement

Apartment buildings with more than a certain occupant load or height need two or more exits, and those exits must be remote from each other so a single fire cannot block both. If a designer tried to count a garage door as one of two required exits, the other exit would need to be sufficiently separated, and the garage route would need to satisfy all the protection requirements above. In most apartment configurations, the code-compliant approach is to provide two protected stairs or a stair plus an exterior door, and to treat the garage as a convenience route or as the discharge point for one of those exits.

For a small building—say, a two-unit apartment above a private garage—the code may allow a single exit, but that exit still must be a compliant path. The garage door into the unit would not typically count, and the unit would still need a door or window meeting emergency escape and rescue opening requirements (the IRC's egress window rules) so occupants can escape or be rescued. A bedroom window that meets the size, height, and sill requirements is a separate life-safety feature from the means of egress, and it does not substitute for a proper exit.

What a code official will actually look at

When a plan reviewer or inspector evaluates "can people exit through the garage," the checklist is concrete:

Is the garage separated from the dwelling or corridor by the required fire-rated assembly, and is the door fire-rated, self-closing, and solid? Does the door open from the inside without a key or special tool, and does it swing in the direction of egress where required? Is the clear width and height adequate, and is the path free of steps or obstructions that would impede travel? Is the path illuminated, and are exit signs present where the code requires them? Does the path lead to a public way or approved discharge without passing through a locked gate or a hazardous area? If the garage is counted as one of two required exits, are the two exits adequately remote? Is the garage a private garage (one unit) or a public garage (shared), since the separation and sprinkler requirements differ?

If the answer to the fire separation and door hardware questions is no, the garage route is almost certainly not a legal exit, even if it is the way residents actually leave.

Common configurations and how they resolve

A detached garage behind an apartment: the path from the apartment to the garage is exterior, so the garage is not an exit at all; the apartment's exterior door is the exit, and the garage is just a building. This is the simplest and most common compliant arrangement.

An attached garage under or beside a unit, with a door from the unit: the door is a convenience door, not a required exit, unless the unit has no other exit and the garage route meets every requirement—which is rare and usually rejected.

A shared parking garage at the base of an apartment building, with an exit stair discharging into it: this can be compliant if the stair is enclosed, the discharge is protected and marked, and the path from the garage to the street is unobstructed. This is the "exit discharge through a garage" pattern, and it is the most defensible way a garage participates in egress.

A garage door used as the only way out of a basement apartment: generally noncompliant. The overhead door is not a pedestrian exit, and the unit would need a compliant door or an emergency escape opening.

Where confusion comes from

The confusion usually arises from three sources. First, people use "exit" in everyday speech to mean "a way out," while codes use it as a defined term with specific requirements. Second, the presence of a door between a house and a garage makes people assume it is an exit, when it is usually just a convenience door. Third, local amendments vary: some jurisdictions adopt the IRC with modifications, some adopt the IBC for all residential construction, and some have older codes or local fire codes that add requirements. A garage that was legal under a 1990s code may not satisfy a current code, and a garage that is fine in one city may be restricted in another because of local fire department rules.

The other ambiguity is occupancy. A private garage serving one dwelling unit is treated differently from a public garage serving many units. The IBC classifies parking garages as Group S-2 (low-hazard storage) or, for some open parking structures, applies specific provisions, and the separation from residential occupancies is more demanding for shared garages. So the answer "yes, through the garage" depends heavily on which kind of garage it is.

Practical bottom line

Physically, yes—an apartment building can be arranged so people leave through a garage, and many buildings do exactly that at grade. Legally, the garage route counts as an exit only when it is protected, illuminated, marked, and discharged to a public way, and it is almost never allowed to be the sole exit from a dwelling unit or sleeping area. The reliable design pattern is to keep the required exits as protected stairs or exterior doors and to use the garage as a discharge point or a convenience route, with the fire separation and door hardware intact. Anyone planning a renovation, a conversion, or a new egress path should have the local building official review the specific plan against the adopted code edition, because the details—door rating, separation, signage, and discharge—are where the answer actually lives.