Terraria item ID 3239. Terraria 1.4.5.7.
Trap Doors are furniture items. They are essentially full-block horizontal Doors. Trap Doors can be opened using ⚷ Open / Activate, causing them to expand into a 2x2 block. They fulfill a house's door requirement. Trap Doors open upward if the character opening it is below the Trap Door's level, and downward if above. The reference point for character altitude seems to be the character's center, not the feet: the character's feet can be about one half tile below the bottom of a closed Trap Door (standing on a stair), and the door will still open downward.
Crafted at Work Bench. Ingredients:
Description from the Terraria Wiki.