The rough framed opening.
Attic access code requirements.
Your attic may presently have a fixed ladder a pull down ladder or no ladder at all.
What your attic probably does not have is a set of code compliant stairs.
When located in a wall the opening shall be a minimum of 22 inches wide by 30 inches high 559 mm wide by 762 mm high.
When the access is located in a ceiling minimum unobstructed headroom in the attic space shall be 30 inches 762 mm at some point above the access measured vertically from the bottom of ceiling framing members.
The 2012 international residential code requires an attic access opening for attics with an area greater than 30 square feet and a vertical height in excess of 30 inches.
Where the access is located in a ceiling minimum unobstructed headroom in the attic space shall be 30 inches 762 mm at some point above the access measured vertically from the bottom of ceiling framing members.
Buildings with combustible ceiling or roof construction shall have an attic access opening to attic areas that exceed 30 square feet 2 8 m2 and have a vertical height of 30 inches 762 mm or greater.
When the access is located in a ceiling minimum unobstructed headroom in the attic space shall be 30 inches 762 mm at some point above the access measured vertically from the bottom of ceiling framing members.
Here s the full text of the code.