Enter your attic and pull the fold-down stairs up after yourself.
Measure the length of the opening through which the fold-down attic door drops using a measuring tape, and add 1 inch to this measurement. This is measurement A.
Measure the width of the opening through which the fold-down attic door drops, and add 1 inch to this measurement. This is measurement B.
Measure the distance from the highest point of the folded stairs to the attic floor. While some stairs do sit almost flush with the attic floor when closed, others can rise between 3 and 4 inches or more above the floor. This is measurement C.
Cut four strips of foam board, two using measurements A and C, and two using measurements B and C.
Tape the strips together to form a symmetrical box.
Set the box over the opening and around the stairs and tape it to the floor using duct tape.
Cut a rectangle of foam board that matches measurements A and B. This is the lid.
Lay the rectangle directly on top of the box, matching each edge to the appropriate side of the box.
Lay a strip of duct tape along one long edge, taping the lid to the box and acting as a hinge. In this way, the lid can be pulled closed behind you when you exit the attic and pushed open when you enter.