Under 2021 IRC Section R807.1, an attic access needs a rough-framed opening of at least 22 inches by 30 inches, and where it sits in a ceiling there must be at least 30 inches of unobstructed headroom above it at some point. In a wall, the opening must be at least 22 inches wide by 30 inches high.

Those are minimums for the framed hole, not for the hatch cover you buy. The adopted code edition and your local amendments govern, so confirm them with your building department before you frame anything. This article covers when an access is required, the size and headroom rules, where to put it, and how to frame it in ceiling joists or trusses. The framing method for the opening itself is the same header-and-trimmer idea described in framing a stair opening, applied to roof and ceiling framing.

When is an attic access required?

R807.1 requires an attic access opening in buildings with combustible ceiling or roof construction, to attic areas that have a vertical height of 30 inches or greater over an area of not less than 30 square feet.

That vertical height is measured framing to framing, from the top of the ceiling framing members to the underside of the roof framing members, and both the height and the area condition must be met.

A shallow attic over a low-slope roof, or a small section of attic behind a gable, may fall under the threshold. Where a house has several separate attic areas, such as over a garage and over the main house, check each one against the height and area test.

Attic access opening size (R807.1)

2021 IRC Section R807.1, attic access: required rough-framed opening and headroom.

ItemRequirement
Rough-framed opening, in a ceilingNot less than 22 inches by 30 inches
Rough-framed opening, in a wallNot less than 22 inches wide by 30 inches high
Headroom, access in a ceilingMinimum unobstructed headroom of 30 inches at some point above the access, measured vertically from the bottom of the ceiling framing members
LocationIn a hallway or other location with ready access
Attic height that triggers the access30 inches or greater, over not less than 30 square feet

Attic hatch size versus rough opening size

R807.1 sets the rough-framed opening. A scuttle hole cover, a hatch frame, or a pull-down stair has its own outside dimensions and often needs a larger rough opening than the code minimum. Buy or choose the product first, read its installation instructions for the rough opening it asks for, and frame to whichever is larger. If the product's own instructions need a rough opening smaller than 22 inches by 30 inches, the code figure still controls.

Attic access in a wall (knee-wall or gable access)

Where the access is in a wall, such as a knee wall in a finished attic space, the wording changes to 22 inches wide by 30 inches high. The headroom sentence in R807.1 is written for ceiling access only. A wall opening is framed with a header above and a sill below, with the studs on each side acting as trimmers, so you size the stud bay or add studs to get the rough width.

A related number you may see: 20 by 30 inches

Table R301.5 (live loads) has a footnote for uninhabitable attics with limited storage. It applies the storage live load only to parts of the joists or truss bottom chords where the attic is reached through an opening of not less than 20 inches wide by 30 inches long, located where the clear height in the attic is not less than 30 inches, among other conditions. That is a loading condition, not the access requirement. The R807.1 minimum is larger in width, so framing to R807.1 also satisfies the footnote's opening dimension. For the storage-load side, see the ceiling joist span chart.

Headroom above the attic access

For a ceiling access, R807.1 asks for minimum unobstructed headroom of 30 inches at some point above the access, measured vertically from the bottom of the ceiling framing members.

Two practical consequences:

  • Roof slope matters. On a steep roof the 30 inches is easy near the ridge and may not exist over a hallway near the eave. Section the roof at the planned location instead of assuming.
  • Obstructions count. Duct runs, truss webs, a chimney chase, or a water heater platform can eat the headroom even where the roof is tall enough. R807.1 says unobstructed, so check what is in the space as well as the roof geometry.

With a truss roof, the web layout is fixed by the truss design drawings, which show the location of all joints (2021 IRC R802.10.1). Compare the planned opening against those drawings. Web patterns differ between roof truss types, so the same access location can work in one layout and be blocked in another.

Where to put the attic access

R807.1 says the opening shall be located in a hallway or other location with ready access. A closet with the opening behind a shelf fits that wording poorly, and an inspector may reject it. Good locations share these traits:

  • Floor space under the opening is clear for a ladder.
  • The attic above has headroom and a safe path to the equipment or area that needs servicing.

If mechanical equipment is in the attic, R807.1 refers you to Section M1305.1.2 for access requirements. That section is not reproduced in the sources used here, so read it in your adopted code. Adding equipment also matters for framing: 2021 IRC R802.10.4 does not permit alterations that add load, such as HVAC equipment or a water heater, beyond the truss design load without verification that the truss can carry it.

Framing an attic access in ceiling joists

2021 IRC Section R802.9 governs openings in roof and ceiling framing. They shall be framed with header and trimmer joists. The conditions in that section:

2021 IRC Section R802.9, framing of openings in roof and ceiling framing.

ConditionRequirement
Header joist span not over 4 feetHeader may be a single member the same size as the ceiling joist or rafter
Single header within 3 feet of the trimmer bearingA single trimmer joist may carry it
Header joist span over 4 feetTrimmer joists and header doubled and of sufficient cross section to support the joists framing into the header
Header joist span over 6 feetApproved hangers required for header to trimmer connections
Tail joists over 12 feet longSupported at the header by framing anchors or on ledger strips not less than 2 inches by 2 inches

A typical hatch is a small opening, so the header span is usually well under the 4 foot threshold, and the single-header option applies. Where the opening is wider than one joist bay, the header's span is the width across the cut joists, so measure that width on the plan and read the table above against it. "Sufficient cross section" is not a size. The code leaves it to you to show the members carry the cut joists, and a longer tail joist puts more load on the header.

Fit the opening to the joist layout

The cheapest framing is the opening that cuts the fewest joists.

  1. Fit it between two joists if the joist spacing leaves enough clear width for the opening or hatch frame. Nothing is cut. Add short headers between the joists at each end of the opening.
  2. Share one joist. Line one side of the opening up with an existing joist, which becomes a trimmer. Cut at most the joists that cross the other side, and carry them on a header. Cutting a ceiling joist removes its support from the span. Blocking and bridging rules still apply around the opening: see joist blocking and bridging. Nail the plies of any doubled members per Table R602.3(1) and the connector manufacturer's instructions.

Framing an attic access in trusses

Trusses change the answer. 2021 IRC R802.10.4 says truss members shall not be cut, notched, drilled, spliced or otherwise altered in any way without the approval of a registered design professional. R802.7.2 repeats the point for trusses specifically, prohibiting cuts and holes except where permitted by the manufacturer's recommendations or specifically considered in the design by a registered design professional.

So the rule is simple: do not cut a truss to get an attic hatch. There are two compliant routes:

  • Fit the opening between trusses. The opening sits in the bay between two adjacent trusses, and only non-structural blocking is added between the bottom chords. Check the spacing on the truss drawings and the hatch product's rough opening against the clear width.
  • Have the truss designer draw it in. Tell the truss supplier before the trusses are built where the access goes and how big it is. The truss design drawings can then include framing for the opening, which is far cheaper than a field repair.

Do not hang a heavy pull-down stair or equipment from a bottom chord without checking with the truss designer either. R802.10.4 requires verification that a truss can carry added load beyond its design load.

Showing the attic access on a framing plan

On a ceiling or roof framing plan, an attic access appears as a rectangular opening with a symbol, similar to a stair opening but marked for the attic. Include:

  • the rough opening dimensions, located from a grid line or wall;
  • headers and trimmers labeled with size and ply count, or a reference to the schedule;
  • a note such as "no truss members cut; opening between trusses" where that applies;
  • a reference to the hatch or ladder detail and any manufacturer rough opening requirement;
  • the attic headroom check, either as a note or as a section reference.

Framing plan symbols covers the common conventions for openings, and the roof framing plan guide shows how ceiling and roof framing sit on the drawing set.

What this article does not cover

R807.1 sets size, headroom, and location. It does not set the hatch cover's insulation value, air sealing, fire-resistance rating, or latch type. Those come from the energy code, the fire-separation rules for your building (for example between a garage and a house), and your local amendments. Read the sections adopted where you build.

Framing Plan is a preliminary drawing aid. It draws joist layouts, beams, and openings and exports PNG, PDF, and DXF. It does not check code or size headers, its sample profile uses demo span figures and metric member sizes, and the editor works in millimeters. Open the framing studio to sketch the ceiling joist layout and the attic opening, then take the drawing to your designer or truss supplier for the members and connections.